1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1345 #define SWIGTYPE_p_wxLog swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxEvent swig_types[5]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1350 #define SWIGTYPE_p_wxDisplay swig_types[8]
1351 #define SWIGTYPE_p_wxFileType swig_types[9]
1352 #define SWIGTYPE_p_wxLogGui swig_types[10]
1353 #define SWIGTYPE_p_wxFont swig_types[11]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1356 #define SWIGTYPE_p_wxCaret swig_types[14]
1357 #define SWIGTYPE_ptrdiff_t swig_types[15]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_p_void swig_types[17]
1360 #define SWIGTYPE_p_int swig_types[18]
1361 #define SWIGTYPE_p_wxSize swig_types[19]
1362 #define SWIGTYPE_p_wxClipboard swig_types[20]
1363 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1366 #define SWIGTYPE_p_wxIcon swig_types[24]
1367 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1368 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1369 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1371 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1372 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxSound swig_types[38]
1381 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1382 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1383 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1384 #define SWIGTYPE_p_wxArrayString swig_types[42]
1385 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxToolTip swig_types[45]
1388 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1389 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1390 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1391 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1392 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1393 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1395 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1396 #define SWIGTYPE_p_wxRect swig_types[54]
1397 #define SWIGTYPE_p_char swig_types[55]
1398 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1399 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1400 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1401 #define SWIGTYPE_p_wxFrame swig_types[59]
1402 #define SWIGTYPE_p_wxTimer swig_types[60]
1403 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1404 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1405 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1406 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1407 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxJoystick swig_types[66]
1409 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1410 #define SWIGTYPE_p_wxPoint swig_types[68]
1411 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1412 #define SWIGTYPE_p_wxCursor swig_types[70]
1413 #define SWIGTYPE_p_wxObject swig_types[71]
1414 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1415 #define SWIGTYPE_p_wxDateTime swig_types[73]
1416 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1417 #define SWIGTYPE_p_unsigned_long swig_types[75]
1418 #define SWIGTYPE_p_wxLogBuffer 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
);
1663 long wxGetFreeMemory()
1664 { wxPyRaiseNotImplemented(); return 0; }
1668 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1671 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1672 SWIG_type_error("unsigned number", obj
);
1675 *val
= (unsigned long)v
;
1680 SWIGINTERNSHORT
unsigned long
1681 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1684 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1686 this is needed to make valgrind/purify happier.
1688 memset((void*)&v
, 0, sizeof(unsigned long));
1695 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1697 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1701 SWIGINTERNSHORT PyObject
*
1702 SWIG_From_unsigned_SS_long(unsigned long value
)
1704 return (value
> LONG_MAX
) ?
1705 PyLong_FromUnsignedLong(value
)
1706 : PyInt_FromLong((long)(value
));
1710 void* wxGetXDisplay()
1713 return wxGetDisplay();
1720 void wxWakeUpMainThread() {}
1723 bool wxThread_IsMain() {
1724 #ifdef WXP_WITH_THREAD
1725 return wxThread::IsMain();
1731 static void wxCaret_Destroy(wxCaret
*self
){
1735 #include <wx/snglinst.h>
1739 #include <wx/msw/private.h>
1740 #include <wx/dynload.h>
1745 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1756 // This one only partially works. Appears to be an undocumented
1757 // "standard" convention that not all widgets adhear to. For
1758 // example, for some widgets backgrounds or non-client areas may
1760 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1765 // This one works much better, nearly all widgets and their
1766 // children are captured correctly[**]. Prior to the big
1767 // background erase changes that Vadim did in 2004-2005 this
1768 // method failed badly on XP with Themes activated, most native
1769 // widgets draw only partially, if at all. Without themes it
1770 // worked just like on Win2k. After those changes this method
1773 // ** For example the radio buttons in a wxRadioBox are not its
1774 // children by default, but you can capture it via the panel
1775 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1776 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1777 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1778 PRF_ERASEBKGND
| PRF_OWNED
);
1784 // This one is only defined in the latest SDK and is only
1785 // available on XP. MSDN says it is similar to sending WM_PRINT
1786 // so I expect that it will work similar to the above. Since it
1787 // is avaialble only on XP, it can't be compiled like this and
1788 // will have to be loaded dynamically.
1789 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1794 // Use PrintWindow if available, or fallback to WM_PRINT
1795 // otherwise. Unfortunately using PrintWindow is even worse than
1796 // WM_PRINT. For most native widgets nothing is drawn to the dc
1797 // at all, with or without Themes.
1798 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1799 static bool s_triedToLoad
= false;
1800 static PrintWindow_t pfnPrintWindow
= NULL
;
1801 if ( !s_triedToLoad
)
1804 s_triedToLoad
= true;
1805 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1806 if ( dllUser32
.IsLoaded() )
1808 wxLogNull nolog
; // Don't report errors here
1809 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1814 //printf("Using PrintWindow\n");
1815 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1819 //printf("Using WM_PRINT\n");
1820 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1821 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1822 PRF_ERASEBKGND
| PRF_OWNED
);
1833 #include <wx/tipdlg.h>
1836 class wxPyTipProvider
: public wxTipProvider
{
1838 wxPyTipProvider(size_t currentTip
)
1839 : wxTipProvider(currentTip
) {}
1841 DEC_PYCALLBACK_STRING__pure(GetTip
);
1842 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1846 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1847 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1850 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1852 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1854 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1855 : wxTimer(owner
, id
)
1857 if (owner
== NULL
) SetOwner(this);
1861 void wxPyTimer::Notify() {
1863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1864 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1865 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1866 wxPyEndBlockThreads(blocked
);
1870 void wxPyTimer::base_Notify() {
1876 SWIGINTERN PyObject
*
1877 SWIG_FromCharPtr(const char* cptr
)
1880 size_t size
= strlen(cptr
);
1881 if (size
> INT_MAX
) {
1882 return SWIG_NewPointerObj((char*)(cptr
),
1883 SWIG_TypeQuery("char *"), 0);
1886 return PyString_FromStringAndSize(cptr
, size
);
1888 return PyString_FromString(cptr
);
1898 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1899 unsigned long max_value
,
1902 if (value
> max_value
) {
1904 PyErr_Format(PyExc_OverflowError
,
1905 "value %lu is greater than '%s' minimum %lu",
1906 value
, errmsg
, max_value
);
1914 #if UINT_MAX != ULONG_MAX
1916 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1918 const char* errmsg
= val
? "unsigned int" : (char*)0;
1920 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1921 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1922 if (val
) *val
= (unsigned int)(v
);
1929 SWIG_type_error(errmsg
, obj
);
1934 SWIGINTERNSHORT
unsigned int
1935 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1937 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1942 SWIGINTERNSHORT
unsigned int
1943 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1946 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1948 this is needed to make valgrind/purify happier.
1950 memset((void*)&v
, 0, sizeof(unsigned int));
1957 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1959 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1962 static wxString
Log_TimeStamp(){
1964 wxLog::TimeStamp(&msg
);
1967 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1968 // Make somce wrappers that double any % signs so they are 'escaped'
1969 void wxPyLogFatalError(const wxString
& msg
)
1972 m
.Replace(wxT("%"), wxT("%%"));
1976 void wxPyLogError(const wxString
& msg
)
1979 m
.Replace(wxT("%"), wxT("%%"));
1983 void wxPyLogWarning(const wxString
& msg
)
1986 m
.Replace(wxT("%"), wxT("%%"));
1990 void wxPyLogMessage(const wxString
& msg
)
1993 m
.Replace(wxT("%"), wxT("%%"));
1997 void wxPyLogInfo(const wxString
& msg
)
2000 m
.Replace(wxT("%"), wxT("%%"));
2004 void wxPyLogDebug(const wxString
& msg
)
2007 m
.Replace(wxT("%"), wxT("%%"));
2011 void wxPyLogVerbose(const wxString
& msg
)
2014 m
.Replace(wxT("%"), wxT("%%"));
2018 void wxPyLogStatus(const wxString
& msg
)
2021 m
.Replace(wxT("%"), wxT("%%"));
2025 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2028 m
.Replace(wxT("%"), wxT("%%"));
2029 wxLogStatus(pFrame
, m
);
2032 void wxPyLogSysError(const wxString
& msg
)
2035 m
.Replace(wxT("%"), wxT("%%"));
2039 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2042 m
.Replace(wxT("%"), wxT("%%"));
2043 wxLogGeneric(level
, m
);
2046 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2049 m
.Replace(wxT("%"), wxT("%%"));
2050 wxLogTrace(mask
, m
);
2053 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2056 m
.Replace(wxT("%"), wxT("%%"));
2057 wxLogTrace(mask
, m
);
2062 // A wxLog class that can be derived from in wxPython
2063 class wxPyLog
: public wxLog
{
2065 wxPyLog() : wxLog() {}
2067 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2070 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2071 PyObject
* s
= wx2PyString(szString
);
2072 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2075 wxPyEndBlockThreads(blocked
);
2077 wxLog::DoLog(level
, szString
, t
);
2080 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2083 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2084 PyObject
* s
= wx2PyString(szString
);
2085 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2088 wxPyEndBlockThreads(blocked
);
2090 wxLog::DoLogString(szString
, t
);
2099 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2102 #include <wx/joystick.h>
2105 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2106 // A C++ stub class for wxJoystick for platforms that don't have it.
2107 class wxJoystick
: public wxObject
{
2109 wxJoystick(int joystick
= wxJOYSTICK1
) {
2110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2111 PyErr_SetString(PyExc_NotImplementedError
,
2112 "wxJoystick is not available on this platform.");
2113 wxPyEndBlockThreads(blocked
);
2115 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2116 int GetZPosition() { return -1; }
2117 int GetButtonState() { return -1; }
2118 int GetPOVPosition() { return -1; }
2119 int GetPOVCTSPosition() { return -1; }
2120 int GetRudderPosition() { return -1; }
2121 int GetUPosition() { return -1; }
2122 int GetVPosition() { return -1; }
2123 int GetMovementThreshold() { return -1; }
2124 void SetMovementThreshold(int threshold
) {}
2126 bool IsOk(void) { return false; }
2127 int GetNumberJoysticks() { return -1; }
2128 int GetManufacturerId() { return -1; }
2129 int GetProductId() { return -1; }
2130 wxString
GetProductName() { return wxEmptyString
; }
2131 int GetXMin() { return -1; }
2132 int GetYMin() { return -1; }
2133 int GetZMin() { return -1; }
2134 int GetXMax() { return -1; }
2135 int GetYMax() { return -1; }
2136 int GetZMax() { return -1; }
2137 int GetNumberButtons() { return -1; }
2138 int GetNumberAxes() { return -1; }
2139 int GetMaxButtons() { return -1; }
2140 int GetMaxAxes() { return -1; }
2141 int GetPollingMin() { return -1; }
2142 int GetPollingMax() { return -1; }
2143 int GetRudderMin() { return -1; }
2144 int GetRudderMax() { return -1; }
2145 int GetUMin() { return -1; }
2146 int GetUMax() { return -1; }
2147 int GetVMin() { return -1; }
2148 int GetVMax() { return -1; }
2150 bool HasRudder() { return false; }
2151 bool HasZ() { return false; }
2152 bool HasU() { return false; }
2153 bool HasV() { return false; }
2154 bool HasPOV() { return false; }
2155 bool HasPOV4Dir() { return false; }
2156 bool HasPOVCTS() { return false; }
2158 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2159 bool ReleaseCapture() { return false; }
2164 #include <wx/sound.h>
2168 // A C++ stub class for wxWave for platforms that don't have it.
2169 class wxSound
: public wxObject
2173 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2174 PyErr_SetString(PyExc_NotImplementedError
,
2175 "wxSound is not available on this platform.");
2176 wxPyEndBlockThreads(blocked
);
2178 wxSound(const wxString
&/*, bool*/) {
2179 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2180 PyErr_SetString(PyExc_NotImplementedError
,
2181 "wxSound is not available on this platform.");
2182 wxPyEndBlockThreads(blocked
);
2184 wxSound(int, const wxByte
*) {
2185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2186 PyErr_SetString(PyExc_NotImplementedError
,
2187 "wxSound is not available on this platform.");
2188 wxPyEndBlockThreads(blocked
);
2193 bool Create(const wxString
&/*, bool*/) { return false; }
2194 bool Create(int, const wxByte
*) { return false; };
2195 bool IsOk() { return false; };
2196 bool Play(unsigned) const { return false; }
2197 static bool Play(const wxString
&, unsigned) { return false; }
2198 static void Stop() {}
2203 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2204 if (fileName
.Length() == 0)
2207 return new wxSound(fileName
);
2209 static wxSound
*new_wxSound(PyObject
*data
){
2210 unsigned char* buffer
; int size
;
2211 wxSound
*sound
= NULL
;
2213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2214 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2216 sound
= new wxSound(size
, buffer
);
2218 wxPyEndBlockThreads(blocked
);
2221 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2223 unsigned char* buffer
;
2227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2228 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2230 rv
= self
->Create(size
, buffer
);
2232 wxPyEndBlockThreads(blocked
);
2235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2236 PyErr_SetString(PyExc_NotImplementedError
,
2237 "Create from data is not available on this platform.");
2238 wxPyEndBlockThreads(blocked
);
2243 #include <wx/mimetype.h>
2245 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2247 if (self
->GetMimeType(&str
))
2248 return wx2PyString(str
);
2252 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2254 if (self
->GetMimeTypes(arr
))
2255 return wxArrayString2PyList_helper(arr
);
2259 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2261 if (self
->GetExtensions(arr
))
2262 return wxArrayString2PyList_helper(arr
);
2266 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2268 if (self
->GetIcon(&loc
))
2269 return new wxIcon(loc
);
2273 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2275 if (self
->GetIcon(&loc
)) {
2276 wxString iconFile
= loc
.GetFileName();
2281 // Make a tuple and put the values in it
2282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2283 PyObject
* tuple
= PyTuple_New(3);
2284 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2285 wxT("wxIcon"), true));
2286 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2287 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2288 wxPyEndBlockThreads(blocked
);
2294 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2296 if (self
->GetDescription(&str
))
2297 return wx2PyString(str
);
2301 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2304 return wx2PyString(str
);
2308 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2310 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2311 return wx2PyString(str
);
2315 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2316 wxArrayString verbs
;
2317 wxArrayString commands
;
2318 if (self
->GetAllCommands(&verbs
, &commands
,
2319 wxFileType::MessageParameters(filename
, mimetype
))) {
2320 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2321 PyObject
* tuple
= PyTuple_New(2);
2322 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2323 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2324 wxPyEndBlockThreads(blocked
);
2330 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2331 return wxFileType::ExpandCommand(command
,
2332 wxFileType::MessageParameters(filename
, mimetype
));
2334 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2336 self
->EnumAllFileTypes(arr
);
2337 return wxArrayString2PyList_helper(arr
);
2340 #include <wx/artprov.h>
2342 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2343 static const wxString
wxPyART_MENU(wxART_MENU
);
2344 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2345 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2346 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2347 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2348 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2349 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2350 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2351 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2352 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2353 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2354 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2355 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2356 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2357 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2358 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2359 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2360 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2361 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2362 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2363 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2364 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2365 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2366 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2367 static const wxString
wxPyART_HELP(wxART_HELP
);
2368 static const wxString
wxPyART_TIP(wxART_TIP
);
2369 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2370 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2371 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2372 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2373 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2374 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2375 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2376 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2377 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2378 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2379 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2380 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2381 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2382 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2383 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2384 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2385 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2386 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2387 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2388 static const wxString
wxPyART_COPY(wxART_COPY
);
2389 static const wxString
wxPyART_CUT(wxART_CUT
);
2390 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2391 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2392 static const wxString
wxPyART_NEW(wxART_NEW
);
2393 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2394 static const wxString
wxPyART_REDO(wxART_REDO
);
2395 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2396 static const wxString
wxPyART_FIND(wxART_FIND
);
2397 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2398 // Python aware wxArtProvider
2399 class wxPyArtProvider
: public wxArtProvider
{
2402 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2403 const wxArtClient
& client
,
2404 const wxSize
& size
) {
2405 wxBitmap rval
= wxNullBitmap
;
2406 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2407 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2408 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2412 s1
= wx2PyString(id
);
2413 s2
= wx2PyString(client
);
2414 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2419 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2424 wxPyEndBlockThreads(blocked
);
2431 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2435 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2436 PyObject
* ret
= PyTuple_New(3);
2438 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2439 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2440 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2445 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2450 cont
= self
->GetFirstGroup(value
, index
);
2451 return __EnumerationHelper(cont
, value
, index
);
2453 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2457 cont
= self
->GetNextGroup(value
, index
);
2458 return __EnumerationHelper(cont
, value
, index
);
2460 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2465 cont
= self
->GetFirstEntry(value
, index
);
2466 return __EnumerationHelper(cont
, value
, index
);
2468 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2472 cont
= self
->GetNextEntry(value
, index
);
2473 return __EnumerationHelper(cont
, value
, index
);
2475 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2477 self
->Read(key
, &rv
, defaultVal
);
2482 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2484 if (PyNumber_Check(obj
)) {
2485 if (val
) *val
= PyFloat_AsDouble(obj
);
2489 SWIG_type_error("number", obj
);
2495 SWIGINTERNSHORT
double
2496 SWIG_As_double(PyObject
* obj
)
2499 if (!SWIG_AsVal_double(obj
, &v
)) {
2501 this is needed to make valgrind/purify happier.
2503 memset((void*)&v
, 0, sizeof(double));
2510 SWIG_Check_double(PyObject
* obj
)
2512 return SWIG_AsVal_double(obj
, (double*)0);
2515 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2517 self
->Read(key
, &rv
, defaultVal
);
2521 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2522 #define SWIG_From_double PyFloat_FromDouble
2525 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2527 self
->Read(key
, &rv
, defaultVal
);
2531 #include <wx/datetime.h>
2533 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2534 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2536 #define LOCAL_TZ wxDateTime::Local
2538 static PyObject
*DateTime_GetAmPmStrings(){
2541 wxDateTime::GetAmPmStrings(&am
, &pm
);
2542 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2543 PyObject
* tup
= PyTuple_New(2);
2544 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2545 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2546 wxPyEndBlockThreads(blocked
);
2550 #if UINT_MAX < LONG_MAX
2551 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2561 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2562 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2563 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2564 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2565 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2567 return (*self
< *other
);
2569 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2570 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2571 return (*self
<= *other
);
2573 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2574 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2575 return (*self
> *other
);
2577 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2578 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2579 return (*self
>= *other
);
2581 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2582 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2583 return (*self
== *other
);
2585 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2586 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2587 return (*self
!= *other
);
2589 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2591 const wxChar
* _date
= date
;
2592 rv
= self
->ParseRfc822Date(_date
);
2593 if (rv
== NULL
) return -1;
2596 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2598 const wxChar
* _date
= date
;
2599 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2600 if (rv
== NULL
) return -1;
2603 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2605 const wxChar
* _datetime
= datetime
;
2606 rv
= self
->ParseDateTime(_datetime
);
2607 if (rv
== NULL
) return -1;
2608 return rv
- _datetime
;
2610 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2612 const wxChar
* _date
= date
;
2613 rv
= self
->ParseDate(_date
);
2614 if (rv
== NULL
) return -1;
2617 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2619 const wxChar
* _time
= time
;
2620 rv
= self
->ParseTime(_time
);
2621 if (rv
== NULL
) return -1;
2624 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2625 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2626 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2627 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2628 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2629 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2630 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2631 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2632 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2633 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2634 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2635 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2636 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2637 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2638 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2639 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2641 #include <wx/dataobj.h>
2643 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2644 size_t count
= self
->GetFormatCount(dir
);
2645 wxDataFormat
* formats
= new wxDataFormat
[count
];
2646 self
->GetAllFormats(formats
, dir
);
2648 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2649 PyObject
* list
= PyList_New(count
);
2650 for (size_t i
=0; i
<count
; i
++) {
2651 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2652 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2653 PyList_Append(list
, obj
);
2656 wxPyEndBlockThreads(blocked
);
2660 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2661 PyObject
* rval
= NULL
;
2662 size_t size
= self
->GetDataSize(format
);
2663 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2665 char* buf
= new char[size
];
2666 if (self
->GetDataHere(format
, buf
))
2667 rval
= PyString_FromStringAndSize(buf
, size
);
2674 wxPyEndBlockThreads(blocked
);
2677 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2679 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2680 if (PyString_Check(data
)) {
2681 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2684 // raise a TypeError if not a string
2685 PyErr_SetString(PyExc_TypeError
, "String expected.");
2688 wxPyEndBlockThreads(blocked
);
2691 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2692 PyObject
* rval
= NULL
;
2693 size_t size
= self
->GetDataSize();
2694 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2696 char* buf
= new char[size
];
2697 if (self
->GetDataHere(buf
))
2698 rval
= PyString_FromStringAndSize(buf
, size
);
2705 wxPyEndBlockThreads(blocked
);
2708 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2710 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2711 if (PyString_Check(data
)) {
2712 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2715 // raise a TypeError if not a string
2716 PyErr_SetString(PyExc_TypeError
, "String expected.");
2719 wxPyEndBlockThreads(blocked
);
2722 // Create a new class for wxPython to use
2723 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2725 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2726 : wxDataObjectSimple(format
) {}
2728 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2729 bool GetDataHere(void *buf
) const;
2730 bool SetData(size_t len
, const void *buf
) const;
2734 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2736 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2737 // We need to get the data for this object and write it to buf. I think
2738 // the best way to do this for wxPython is to have the Python method
2739 // return either a string or None and then act appropriately with the
2743 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2744 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2746 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2748 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2750 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2754 wxPyEndBlockThreads(blocked
);
2758 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2759 // For this one we simply need to make a string from buf and len
2760 // and send it to the Python method.
2762 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2763 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2764 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2765 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2768 wxPyEndBlockThreads(blocked
);
2772 // Create a new class for wxPython to use
2773 class wxPyTextDataObject
: public wxTextDataObject
{
2775 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2776 : wxTextDataObject(text
) {}
2778 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2779 DEC_PYCALLBACK_STRING__const(GetText
);
2780 DEC_PYCALLBACK__STRING(SetText
);
2784 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2785 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2786 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2789 // Create a new class for wxPython to use
2790 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2792 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2793 : wxBitmapDataObject(bitmap
) {}
2795 wxBitmap
GetBitmap() const;
2796 void SetBitmap(const wxBitmap
& bitmap
);
2800 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2801 wxBitmap
* rval
= &wxNullBitmap
;
2802 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2803 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2806 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2808 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2813 wxPyEndBlockThreads(blocked
);
2817 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2819 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2820 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2821 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2824 wxPyEndBlockThreads(blocked
);
2827 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2828 return new wxCustomDataObject(wxDataFormat(formatName
));
2830 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2833 if (PyString_Check(data
)) {
2834 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2837 // raise a TypeError if not a string
2838 PyErr_SetString(PyExc_TypeError
, "String expected.");
2841 wxPyEndBlockThreads(blocked
);
2844 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2847 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2848 wxPyEndBlockThreads(blocked
);
2852 class wxMetafileDataObject
: public wxDataObjectSimple
2855 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2859 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2862 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2865 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2866 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2869 class wxPyTextDropTarget
: public wxTextDropTarget
{
2871 wxPyTextDropTarget() {}
2873 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2875 DEC_PYCALLBACK__(OnLeave
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2884 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2885 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2886 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2887 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2888 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2889 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2893 class wxPyFileDropTarget
: public wxFileDropTarget
{
2895 wxPyFileDropTarget() {}
2897 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2899 DEC_PYCALLBACK__(OnLeave
);
2900 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2901 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2902 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2903 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2908 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2909 const wxArrayString
& filenames
) {
2911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2912 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2913 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2914 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2917 wxPyEndBlockThreads(blocked
);
2923 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2924 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2925 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2926 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2927 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2932 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2934 #include <wx/display.h>
2936 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2937 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2939 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2941 #include <wx/dynarray.h>
2942 #include <wx/vidmode.h>
2944 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2945 #include "wx/arrimpl.cpp"
2946 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2947 const wxVideoMode wxDefaultVideoMode
;
2952 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2955 static size_t GetCount()
2956 { wxPyRaiseNotImplemented(); return 0; }
2958 static int GetFromPoint(const wxPoint
& pt
)
2959 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2960 static int GetFromWindow(wxWindow
*window
)
2961 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2963 virtual bool IsOk() const { return false; }
2964 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2965 virtual wxString
GetName() const { return wxEmptyString
; }
2966 bool IsPrimary() const { return false; }
2968 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2969 { wxArrayVideoModes a
; return a
; }
2971 virtual wxVideoMode
GetCurrentMode() const
2972 { return wxDefaultVideoMode
; }
2974 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2981 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2982 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2983 PyObject
* pyList
= NULL
;
2984 wxArrayVideoModes arr
= self
->GetModes(mode
);
2985 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2986 pyList
= PyList_New(0);
2987 for (int i
=0; i
< arr
.GetCount(); i
++) {
2988 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2989 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2990 PyList_Append(pyList
, pyObj
);
2993 wxPyEndBlockThreads(blocked
);
2997 #include <wx/stdpaths.h>
2999 static wxStandardPaths
*StandardPaths_Get(){
3000 return (wxStandardPaths
*) &wxStandardPaths::Get();
3005 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxSystemColour arg1
;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "index", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3016 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3017 if (SWIG_arg_fail(1)) SWIG_fail
;
3020 if (!wxPyCheckForApp()) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 wxColour
* resultptr
;
3029 resultptr
= new wxColour((wxColour
&)(result
));
3030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3038 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3042 PyObject
* obj0
= 0 ;
3044 (char *) "index", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3049 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3050 if (SWIG_arg_fail(1)) SWIG_fail
;
3053 if (!wxPyCheckForApp()) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3062 resultptr
= new wxFont((wxFont
&)(result
));
3063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3071 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxSystemMetric arg1
;
3074 wxWindow
*arg2
= (wxWindow
*) NULL
;
3076 PyObject
* obj0
= 0 ;
3077 PyObject
* obj1
= 0 ;
3079 (char *) "index",(char *) "win", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3084 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3089 if (SWIG_arg_fail(2)) SWIG_fail
;
3092 if (!wxPyCheckForApp()) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_From_int((int)(result
));
3108 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxSystemFeature arg1
;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "index", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3119 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3120 if (SWIG_arg_fail(1)) SWIG_fail
;
3123 if (!wxPyCheckForApp()) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3139 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxSystemScreenType result
;
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3148 if (!wxPyCheckForApp()) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 resultobj
= SWIG_From_int((result
));
3162 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxSystemScreenType arg1
;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "screen", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3172 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3176 if (!wxPyCheckForApp()) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3193 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3195 return Py_BuildValue((char *)"");
3197 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3198 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3203 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3208 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3210 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3217 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxSystemOptions
*result
;
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (wxSystemOptions
*)new wxSystemOptions();
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3239 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxString
*arg1
= 0 ;
3242 wxString
*arg2
= 0 ;
3243 bool temp1
= false ;
3244 bool temp2
= false ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "name",(char *) "value", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 arg1
= wxString_in_helper(obj0
);
3254 if (arg1
== NULL
) SWIG_fail
;
3258 arg2
= wxString_in_helper(obj1
);
3259 if (arg2
== NULL
) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 Py_INCREF(Py_None
); resultobj
= Py_None
;
3292 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxString
*arg1
= 0 ;
3296 bool temp1
= false ;
3297 PyObject
* obj0
= 0 ;
3298 PyObject
* obj1
= 0 ;
3300 (char *) "name",(char *) "value", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3305 arg1
= wxString_in_helper(obj0
);
3306 if (arg1
== NULL
) SWIG_fail
;
3310 arg2
= (int)(SWIG_As_int(obj1
));
3311 if (SWIG_arg_fail(2)) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxString
*arg1
= 0 ;
3339 bool temp1
= false ;
3340 PyObject
* obj0
= 0 ;
3342 (char *) "name", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3347 arg1
= wxString_in_helper(obj0
);
3348 if (arg1
== NULL
) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3379 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxString
*arg1
= 0 ;
3383 bool temp1
= false ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "name", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3391 arg1
= wxString_in_helper(obj0
);
3392 if (arg1
== NULL
) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3403 resultobj
= SWIG_From_int((int)(result
));
3419 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxString
*arg1
= 0 ;
3423 bool temp1
= false ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3431 arg1
= wxString_in_helper(obj0
);
3432 if (arg1
== NULL
) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3459 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxString
*arg1
= 0 ;
3463 bool temp1
= false ;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "name", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3471 arg1
= wxString_in_helper(obj0
);
3472 if (arg1
== NULL
) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3499 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3502 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3504 return Py_BuildValue((char *)"");
3506 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3507 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3512 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3517 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3519 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3526 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3527 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3532 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3537 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3539 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3546 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3547 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3552 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3557 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3559 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3566 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (long)wxNewId();
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= SWIG_From_long((long)(result
));
3590 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3593 PyObject
* obj0
= 0 ;
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3600 arg1
= (long)(SWIG_As_long(obj0
));
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (long)wxGetCurrentId();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= SWIG_From_long((long)(result
));
3641 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3645 PyObject
* obj0
= 0 ;
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3652 arg1
= (int)(SWIG_As_int(obj0
));
3653 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)wxIsStockID(arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3671 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3674 wxString
*arg2
= 0 ;
3676 bool temp2
= false ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "id",(char *) "label", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 arg1
= (int)(SWIG_As_int(obj0
));
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3689 arg2
= wxString_in_helper(obj1
);
3690 if (arg2
== NULL
) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3720 bool arg2
= (bool) true ;
3721 wxString arg3
= (wxString
) wxPyEmptyString
;
3723 PyObject
* obj0
= 0 ;
3724 PyObject
* obj1
= 0 ;
3725 PyObject
* obj2
= 0 ;
3727 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3732 arg1
= (int)(SWIG_As_int(obj0
));
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3737 arg2
= (bool)(SWIG_As_bool(obj1
));
3738 if (SWIG_arg_fail(2)) SWIG_fail
;
3743 wxString
* sptr
= wxString_in_helper(obj2
);
3744 if (sptr
== NULL
) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3769 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3777 if (!wxPyCheckForApp()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3799 if (!wxPyCheckForApp()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 bool arg1
= (bool) true ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "resetTimer", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3825 arg1
= (bool)(SWIG_As_bool(obj0
));
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (long)wxGetElapsedTime(arg1
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_From_long((long)(result
));
3845 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 int *arg1
= (int *) 0 ;
3848 int *arg2
= (int *) 0 ;
3857 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3858 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3861 if (!wxPyCheckForApp()) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 wxGetMousePosition(arg1
,arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3869 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3870 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3871 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3872 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3879 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (bool)wxIsBusy();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3903 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3931 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3934 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3936 bool temp1
= false ;
3937 PyObject
* obj0
= 0 ;
3939 (char *) "command", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3945 arg1
= wxString_in_helper(obj0
);
3946 if (arg1
== NULL
) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (bool)wxShell((wxString
const &)*arg1
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3974 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 int *arg1
= (int *) 0 ;
3998 int *arg2
= (int *) 0 ;
4008 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4009 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (int)wxGetOsVersion(arg1
,arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_From_int((int)(result
));
4021 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4022 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4023 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4024 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4031 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= wxGetOsDescription();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4059 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (long)wxGetFreeMemory();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_From_long((long)(result
));
4083 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxShutdownFlags arg1
;
4087 PyObject
* obj0
= 0 ;
4089 (char *) "wFlags", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4094 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4098 if (!wxPyCheckForApp()) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4114 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4117 PyObject
* obj0
= 0 ;
4119 (char *) "secs", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4124 arg1
= (int)(SWIG_As_int(obj0
));
4125 if (SWIG_arg_fail(1)) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 unsigned long arg1
;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "milliseconds", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4151 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 Py_INCREF(Py_None
); resultobj
= Py_None
;
4168 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 unsigned long arg1
;
4171 PyObject
* obj0
= 0 ;
4173 (char *) "microseconds", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4178 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4179 if (SWIG_arg_fail(1)) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 Py_INCREF(Py_None
); resultobj
= Py_None
;
4195 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4198 PyObject
* obj0
= 0 ;
4200 (char *) "enable", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4205 arg1
= (bool)(SWIG_As_bool(obj0
));
4206 if (SWIG_arg_fail(1)) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxEnableTopLevelWindows(arg1
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxString
*arg1
= 0 ;
4226 bool temp1
= false ;
4227 PyObject
* obj0
= 0 ;
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4234 arg1
= wxString_in_helper(obj0
);
4235 if (arg1
== NULL
) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4266 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= wxGetEmailAddress();
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4294 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= wxGetHostName();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4322 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= wxGetFullHostName();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4350 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= wxGetUserId();
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4378 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= wxGetUserName();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4406 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= wxGetHomeDir();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4434 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4437 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4439 bool temp1
= false ;
4440 PyObject
* obj0
= 0 ;
4442 (char *) "user", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4448 arg1
= wxString_in_helper(obj0
);
4449 if (arg1
== NULL
) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= wxGetUserHome((wxString
const &)*arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4481 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 unsigned long result
;
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (unsigned long)wxGetProcessId();
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4505 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4529 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4530 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4531 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4534 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4536 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4537 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4538 int arg6
= (int) 0 ;
4539 wxWindow
*arg7
= (wxWindow
*) NULL
;
4540 int arg8
= (int) -1 ;
4541 int arg9
= (int) -1 ;
4543 bool temp1
= false ;
4544 bool temp2
= false ;
4545 bool temp3
= false ;
4546 bool temp4
= false ;
4547 bool temp5
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 PyObject
* obj8
= 0 ;
4558 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4564 arg1
= wxString_in_helper(obj0
);
4565 if (arg1
== NULL
) SWIG_fail
;
4571 arg2
= wxString_in_helper(obj1
);
4572 if (arg2
== NULL
) SWIG_fail
;
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4585 arg4
= wxString_in_helper(obj3
);
4586 if (arg4
== NULL
) SWIG_fail
;
4592 arg5
= wxString_in_helper(obj4
);
4593 if (arg5
== NULL
) SWIG_fail
;
4599 arg6
= (int)(SWIG_As_int(obj5
));
4600 if (SWIG_arg_fail(6)) SWIG_fail
;
4604 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4605 if (SWIG_arg_fail(7)) SWIG_fail
;
4609 arg8
= (int)(SWIG_As_int(obj7
));
4610 if (SWIG_arg_fail(8)) SWIG_fail
;
4615 arg9
= (int)(SWIG_As_int(obj8
));
4616 if (SWIG_arg_fail(9)) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4680 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxString
*arg1
= 0 ;
4683 wxString
*arg2
= 0 ;
4684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4686 wxWindow
*arg4
= (wxWindow
*) NULL
;
4688 bool temp1
= false ;
4689 bool temp2
= false ;
4690 bool temp3
= false ;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4693 PyObject
* obj2
= 0 ;
4694 PyObject
* obj3
= 0 ;
4696 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4701 arg1
= wxString_in_helper(obj0
);
4702 if (arg1
== NULL
) SWIG_fail
;
4706 arg2
= wxString_in_helper(obj1
);
4707 if (arg2
== NULL
) SWIG_fail
;
4712 arg3
= wxString_in_helper(obj2
);
4713 if (arg3
== NULL
) SWIG_fail
;
4718 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4719 if (SWIG_arg_fail(4)) SWIG_fail
;
4722 if (!wxPyCheckForApp()) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4766 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxString
*arg1
= 0 ;
4769 wxString
*arg2
= 0 ;
4770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4772 wxWindow
*arg4
= (wxWindow
*) NULL
;
4774 bool temp1
= false ;
4775 bool temp2
= false ;
4776 bool temp3
= false ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 PyObject
* obj3
= 0 ;
4782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4787 arg1
= wxString_in_helper(obj0
);
4788 if (arg1
== NULL
) SWIG_fail
;
4792 arg2
= wxString_in_helper(obj1
);
4793 if (arg2
== NULL
) SWIG_fail
;
4798 arg3
= wxString_in_helper(obj2
);
4799 if (arg3
== NULL
) SWIG_fail
;
4804 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4805 if (SWIG_arg_fail(4)) SWIG_fail
;
4808 if (!wxPyCheckForApp()) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4852 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4855 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4856 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4857 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4858 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4861 wxWindow
*arg5
= (wxWindow
*) NULL
;
4863 bool temp1
= false ;
4864 bool temp2
= false ;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 PyObject
* obj2
= 0 ;
4869 PyObject
* obj3
= 0 ;
4870 PyObject
* obj4
= 0 ;
4872 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4878 arg1
= wxString_in_helper(obj0
);
4879 if (arg1
== NULL
) SWIG_fail
;
4885 arg2
= wxString_in_helper(obj1
);
4886 if (arg2
== NULL
) SWIG_fail
;
4892 arg3
= (long)(SWIG_As_long(obj2
));
4893 if (SWIG_arg_fail(3)) SWIG_fail
;
4899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4903 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4904 if (SWIG_arg_fail(5)) SWIG_fail
;
4907 if (!wxPyCheckForApp()) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4943 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxString
*arg1
= 0 ;
4946 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4947 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4950 wxWindow
*arg4
= (wxWindow
*) NULL
;
4951 int arg5
= (int) -1 ;
4952 int arg6
= (int) -1 ;
4953 bool arg7
= (bool) true ;
4955 bool temp1
= false ;
4956 bool temp2
= false ;
4957 bool temp3
= false ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 PyObject
* obj2
= 0 ;
4961 PyObject
* obj3
= 0 ;
4962 PyObject
* obj4
= 0 ;
4963 PyObject
* obj5
= 0 ;
4964 PyObject
* obj6
= 0 ;
4966 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4971 arg1
= wxString_in_helper(obj0
);
4972 if (arg1
== NULL
) SWIG_fail
;
4977 arg2
= wxString_in_helper(obj1
);
4978 if (arg2
== NULL
) SWIG_fail
;
4984 arg3
= wxString_in_helper(obj2
);
4985 if (arg3
== NULL
) SWIG_fail
;
4990 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(4)) SWIG_fail
;
4995 arg5
= (int)(SWIG_As_int(obj4
));
4996 if (SWIG_arg_fail(5)) SWIG_fail
;
5001 arg6
= (int)(SWIG_As_int(obj5
));
5002 if (SWIG_arg_fail(6)) SWIG_fail
;
5007 arg7
= (bool)(SWIG_As_bool(obj6
));
5008 if (SWIG_arg_fail(7)) SWIG_fail
;
5012 if (!wxPyCheckForApp()) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5056 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxString
*arg1
= 0 ;
5059 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5060 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5061 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5063 wxWindow
*arg4
= (wxWindow
*) NULL
;
5065 bool temp1
= false ;
5066 bool temp2
= false ;
5067 bool temp3
= false ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 PyObject
* obj2
= 0 ;
5071 PyObject
* obj3
= 0 ;
5073 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5078 arg1
= wxString_in_helper(obj0
);
5079 if (arg1
== NULL
) SWIG_fail
;
5084 arg2
= wxString_in_helper(obj1
);
5085 if (arg2
== NULL
) SWIG_fail
;
5091 arg3
= wxString_in_helper(obj2
);
5092 if (arg3
== NULL
) SWIG_fail
;
5097 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5098 if (SWIG_arg_fail(4)) SWIG_fail
;
5101 if (!wxPyCheckForApp()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5145 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxString
*arg1
= 0 ;
5148 wxString
*arg2
= 0 ;
5150 wxString
*arg4
= (wxString
*) 0 ;
5151 wxWindow
*arg5
= (wxWindow
*) NULL
;
5152 int arg6
= (int) -1 ;
5153 int arg7
= (int) -1 ;
5154 bool arg8
= (bool) true ;
5155 int arg9
= (int) 150 ;
5156 int arg10
= (int) 200 ;
5158 bool temp1
= false ;
5159 bool temp2
= false ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5162 PyObject
* obj2
= 0 ;
5163 PyObject
* obj3
= 0 ;
5164 PyObject
* obj4
= 0 ;
5165 PyObject
* obj5
= 0 ;
5166 PyObject
* obj6
= 0 ;
5167 PyObject
* obj7
= 0 ;
5168 PyObject
* obj8
= 0 ;
5170 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5175 arg1
= wxString_in_helper(obj0
);
5176 if (arg1
== NULL
) SWIG_fail
;
5180 arg2
= wxString_in_helper(obj1
);
5181 if (arg2
== NULL
) SWIG_fail
;
5185 arg3
= PyList_Size(obj2
);
5186 arg4
= wxString_LIST_helper(obj2
);
5187 if (arg4
== NULL
) SWIG_fail
;
5190 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(5)) SWIG_fail
;
5195 arg6
= (int)(SWIG_As_int(obj4
));
5196 if (SWIG_arg_fail(6)) SWIG_fail
;
5201 arg7
= (int)(SWIG_As_int(obj5
));
5202 if (SWIG_arg_fail(7)) SWIG_fail
;
5207 arg8
= (bool)(SWIG_As_bool(obj6
));
5208 if (SWIG_arg_fail(8)) SWIG_fail
;
5213 arg9
= (int)(SWIG_As_int(obj7
));
5214 if (SWIG_arg_fail(9)) SWIG_fail
;
5219 arg10
= (int)(SWIG_As_int(obj8
));
5220 if (SWIG_arg_fail(10)) SWIG_fail
;
5224 if (!wxPyCheckForApp()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5247 if (arg4
) delete [] arg4
;
5260 if (arg4
) delete [] arg4
;
5266 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxString
*arg1
= 0 ;
5269 wxString
*arg2
= 0 ;
5271 wxString
*arg4
= (wxString
*) 0 ;
5272 wxWindow
*arg5
= (wxWindow
*) NULL
;
5273 int arg6
= (int) -1 ;
5274 int arg7
= (int) -1 ;
5275 bool arg8
= (bool) true ;
5276 int arg9
= (int) 150 ;
5277 int arg10
= (int) 200 ;
5279 bool temp1
= false ;
5280 bool temp2
= false ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5284 PyObject
* obj3
= 0 ;
5285 PyObject
* obj4
= 0 ;
5286 PyObject
* obj5
= 0 ;
5287 PyObject
* obj6
= 0 ;
5288 PyObject
* obj7
= 0 ;
5289 PyObject
* obj8
= 0 ;
5291 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5296 arg1
= wxString_in_helper(obj0
);
5297 if (arg1
== NULL
) SWIG_fail
;
5301 arg2
= wxString_in_helper(obj1
);
5302 if (arg2
== NULL
) SWIG_fail
;
5306 arg3
= PyList_Size(obj2
);
5307 arg4
= wxString_LIST_helper(obj2
);
5308 if (arg4
== NULL
) SWIG_fail
;
5311 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5312 if (SWIG_arg_fail(5)) SWIG_fail
;
5316 arg6
= (int)(SWIG_As_int(obj4
));
5317 if (SWIG_arg_fail(6)) SWIG_fail
;
5322 arg7
= (int)(SWIG_As_int(obj5
));
5323 if (SWIG_arg_fail(7)) SWIG_fail
;
5328 arg8
= (bool)(SWIG_As_bool(obj6
));
5329 if (SWIG_arg_fail(8)) SWIG_fail
;
5334 arg9
= (int)(SWIG_As_int(obj7
));
5335 if (SWIG_arg_fail(9)) SWIG_fail
;
5340 arg10
= (int)(SWIG_As_int(obj8
));
5341 if (SWIG_arg_fail(10)) SWIG_fail
;
5345 if (!wxPyCheckForApp()) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_From_int((int)(result
));
5364 if (arg4
) delete [] arg4
;
5377 if (arg4
) delete [] arg4
;
5383 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxString
*arg1
= 0 ;
5386 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5387 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5388 int arg3
= (int) wxOK
|wxCENTRE
;
5389 wxWindow
*arg4
= (wxWindow
*) NULL
;
5390 int arg5
= (int) -1 ;
5391 int arg6
= (int) -1 ;
5393 bool temp1
= false ;
5394 bool temp2
= false ;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5397 PyObject
* obj2
= 0 ;
5398 PyObject
* obj3
= 0 ;
5399 PyObject
* obj4
= 0 ;
5400 PyObject
* obj5
= 0 ;
5402 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5407 arg1
= wxString_in_helper(obj0
);
5408 if (arg1
== NULL
) SWIG_fail
;
5413 arg2
= wxString_in_helper(obj1
);
5414 if (arg2
== NULL
) SWIG_fail
;
5420 arg3
= (int)(SWIG_As_int(obj2
));
5421 if (SWIG_arg_fail(3)) SWIG_fail
;
5425 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(4)) SWIG_fail
;
5430 arg5
= (int)(SWIG_As_int(obj4
));
5431 if (SWIG_arg_fail(5)) SWIG_fail
;
5436 arg6
= (int)(SWIG_As_int(obj5
));
5437 if (SWIG_arg_fail(6)) SWIG_fail
;
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_From_int((int)(result
));
5473 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxString
*arg1
= 0 ;
5476 wxString
*arg2
= 0 ;
5477 wxString
*arg3
= 0 ;
5479 long arg5
= (long) 0 ;
5480 long arg6
= (long) 100 ;
5481 wxWindow
*arg7
= (wxWindow
*) NULL
;
5482 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5483 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5485 bool temp1
= false ;
5486 bool temp2
= false ;
5487 bool temp3
= false ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5491 PyObject
* obj2
= 0 ;
5492 PyObject
* obj3
= 0 ;
5493 PyObject
* obj4
= 0 ;
5494 PyObject
* obj5
= 0 ;
5495 PyObject
* obj6
= 0 ;
5496 PyObject
* obj7
= 0 ;
5498 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5503 arg1
= wxString_in_helper(obj0
);
5504 if (arg1
== NULL
) SWIG_fail
;
5508 arg2
= wxString_in_helper(obj1
);
5509 if (arg2
== NULL
) SWIG_fail
;
5513 arg3
= wxString_in_helper(obj2
);
5514 if (arg3
== NULL
) SWIG_fail
;
5518 arg4
= (long)(SWIG_As_long(obj3
));
5519 if (SWIG_arg_fail(4)) SWIG_fail
;
5523 arg5
= (long)(SWIG_As_long(obj4
));
5524 if (SWIG_arg_fail(5)) SWIG_fail
;
5529 arg6
= (long)(SWIG_As_long(obj5
));
5530 if (SWIG_arg_fail(6)) SWIG_fail
;
5534 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5535 if (SWIG_arg_fail(7)) SWIG_fail
;
5540 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5544 if (!wxPyCheckForApp()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_From_long((long)(result
));
5584 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5593 if (!wxPyCheckForApp()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (bool)wxColourDisplay();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5618 if (!wxPyCheckForApp()) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 result
= (int)wxDisplayDepth();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_From_int((int)(result
));
5634 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (int)wxGetDisplayDepth();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_From_int((int)(result
));
5659 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 int *arg1
= (int *) 0 ;
5662 int *arg2
= (int *) 0 ;
5671 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5672 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5675 if (!wxPyCheckForApp()) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 wxDisplaySize(arg1
,arg2
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5684 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5685 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5686 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5693 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5702 if (!wxPyCheckForApp()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= wxGetDisplaySize();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5711 resultptr
= new wxSize((wxSize
&)(result
));
5712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5720 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 int *arg1
= (int *) 0 ;
5723 int *arg2
= (int *) 0 ;
5732 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5733 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5736 if (!wxPyCheckForApp()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 wxDisplaySizeMM(arg1
,arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5744 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5745 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5746 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5747 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5754 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5763 if (!wxPyCheckForApp()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= wxGetDisplaySizeMM();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5772 resultptr
= new wxSize((wxSize
&)(result
));
5773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5781 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 int *arg1
= (int *) 0 ;
5784 int *arg2
= (int *) 0 ;
5785 int *arg3
= (int *) 0 ;
5786 int *arg4
= (int *) 0 ;
5799 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5800 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5801 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5802 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5805 if (!wxPyCheckForApp()) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5814 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5815 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5816 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5817 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5818 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5819 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5820 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5827 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5836 if (!wxPyCheckForApp()) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= wxGetClientDisplayRect();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5845 resultptr
= new wxRect((wxRect
&)(result
));
5846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5854 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxCursor
*arg1
= 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "cursor", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5865 if (SWIG_arg_fail(1)) SWIG_fail
;
5867 SWIG_null_ref("wxCursor");
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5872 if (!wxPyCheckForApp()) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5895 if (!wxPyCheckForApp()) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (void *)wxGetXDisplay();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5909 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "cursor", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5923 if (!wxPyCheckForApp()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 wxBeginBusyCursor(arg1
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5946 if (!wxPyCheckForApp()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxWindow
*)wxGetActiveWindow();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= wxPyMake_wxObject(result
, 0);
5962 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5967 PyObject
* obj0
= 0 ;
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5975 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5978 if (!wxPyCheckForApp()) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= wxPyMake_wxObject(result
, 0);
5994 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5999 PyObject
* obj0
= 0 ;
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6007 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6010 if (!wxPyCheckForApp()) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= wxPyMake_wxObject(result
, 0);
6026 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxWindow
*arg1
= (wxWindow
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6032 (char *) "win", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6037 if (SWIG_arg_fail(1)) SWIG_fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= wxPyMake_wxObject(result
, 0);
6055 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxString
*arg1
= 0 ;
6059 bool temp1
= false ;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "url", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6067 arg1
= wxString_in_helper(obj0
);
6068 if (arg1
== NULL
) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6095 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6099 PyObject
* obj0
= 0 ;
6101 (char *) "key", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6106 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6107 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 if (!wxPyCheckForApp()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6126 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6134 if (!wxPyCheckForApp()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 wxWakeUpMainThread();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6156 if (!wxPyCheckForApp()) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6178 if (!wxPyCheckForApp()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxMutexGuiLocker
*result
;
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6201 if (!wxPyCheckForApp()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6215 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6220 (char *) "self", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6225 if (SWIG_arg_fail(1)) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6243 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6245 return Py_BuildValue((char *)"");
6247 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (bool)wxThread_IsMain();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6271 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxString
*arg1
= 0 ;
6275 bool temp1
= false ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "tip", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6283 arg1
= wxString_in_helper(obj0
);
6284 if (arg1
== NULL
) SWIG_fail
;
6288 if (!wxPyCheckForApp()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= wxPyMake_wxObject(result
, 1);
6312 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6315 wxString
*arg2
= 0 ;
6316 bool temp2
= false ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6320 (char *) "self",(char *) "tip", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 arg2
= wxString_in_helper(obj1
);
6328 if (arg2
== NULL
) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 (arg1
)->SetTip((wxString
const &)*arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (arg1
)->GetTip();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6385 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6396 if (SWIG_arg_fail(1)) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (wxWindow
*)(arg1
)->GetWindow();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= wxPyMake_wxObject(result
, 0);
6413 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "flag", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6423 arg1
= (bool)(SWIG_As_bool(obj0
));
6424 if (SWIG_arg_fail(1)) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxToolTip::Enable(arg1
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "milliseconds", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6450 arg1
= (long)(SWIG_As_long(obj0
));
6451 if (SWIG_arg_fail(1)) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 wxToolTip::SetDelay(arg1
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 Py_INCREF(Py_None
); resultobj
= Py_None
;
6467 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6472 return Py_BuildValue((char *)"");
6474 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxWindow
*arg1
= (wxWindow
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "window",(char *) "size", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail
;
6491 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6494 if (!wxPyCheckForApp()) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6508 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxCaret
*arg1
= (wxCaret
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6518 if (SWIG_arg_fail(1)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxCaret_Destroy(arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxCaret
*arg1
= (wxCaret
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->IsOk();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6561 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxCaret
*arg1
= (wxCaret
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6572 if (SWIG_arg_fail(1)) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)(arg1
)->IsVisible();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6589 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxCaret
*arg1
= (wxCaret
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 (char *) "self", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 result
= (arg1
)->GetPosition();
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6609 wxPoint
* resultptr
;
6610 resultptr
= new wxPoint((wxPoint
&)(result
));
6611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6619 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxCaret
*arg1
= (wxCaret
*) 0 ;
6622 int *arg2
= (int *) 0 ;
6623 int *arg3
= (int *) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->GetPosition(arg2
,arg3
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6647 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6648 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6649 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6656 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxCaret
*arg1
= (wxCaret
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (arg1
)->GetSize();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6677 resultptr
= new wxSize((wxSize
&)(result
));
6678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6686 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxCaret
*arg1
= (wxCaret
*) 0 ;
6689 int *arg2
= (int *) 0 ;
6690 int *arg3
= (int *) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6701 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6704 if (SWIG_arg_fail(1)) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 (arg1
)->GetSize(arg2
,arg3
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6714 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6715 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6716 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6723 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxCaret
*arg1
= (wxCaret
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (wxWindow
*)(arg1
)->GetWindow();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= wxPyMake_wxObject(result
, 0);
6751 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxCaret
*arg1
= (wxCaret
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 PyObject
* obj2
= 0 ;
6760 (char *) "self",(char *) "x",(char *) "y", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6765 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 arg2
= (int)(SWIG_As_int(obj1
));
6768 if (SWIG_arg_fail(2)) SWIG_fail
;
6771 arg3
= (int)(SWIG_As_int(obj2
));
6772 if (SWIG_arg_fail(3)) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->Move(arg2
,arg3
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxCaret
*arg1
= (wxCaret
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6796 (char *) "self",(char *) "pt", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail
;
6804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->Move((wxPoint
const &)*arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxCaret
*arg1
= (wxCaret
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 PyObject
* obj2
= 0 ;
6829 (char *) "self",(char *) "width",(char *) "height", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6836 arg2
= (int)(SWIG_As_int(obj1
));
6837 if (SWIG_arg_fail(2)) SWIG_fail
;
6840 arg3
= (int)(SWIG_As_int(obj2
));
6841 if (SWIG_arg_fail(3)) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetSize(arg2
,arg3
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxCaret
*arg1
= (wxCaret
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6865 (char *) "self",(char *) "size", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6870 if (SWIG_arg_fail(1)) SWIG_fail
;
6873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetSize((wxSize
const &)*arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxCaret
*arg1
= (wxCaret
*) 0 ;
6892 int arg2
= (int) true ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "show", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail
;
6904 arg2
= (int)(SWIG_As_int(obj1
));
6905 if (SWIG_arg_fail(2)) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 Py_INCREF(Py_None
); resultobj
= Py_None
;
6922 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxCaret
*arg1
= (wxCaret
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (int)wxCaret::GetBlinkTime();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_From_int((int)(result
));
6971 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "milliseconds", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6981 arg1
= (int)(SWIG_As_int(obj0
));
6982 if (SWIG_arg_fail(1)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxCaret::SetBlinkTime(arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7001 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7003 return Py_BuildValue((char *)"");
7005 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7008 wxBusyCursor
*result
;
7009 PyObject
* obj0
= 0 ;
7011 (char *) "cursor", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7020 if (!wxPyCheckForApp()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7034 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7062 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7064 return Py_BuildValue((char *)"");
7066 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxWindow
*arg1
= (wxWindow
*) NULL
;
7069 wxWindowDisabler
*result
;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "winToSkip", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7081 if (!wxPyCheckForApp()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7095 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7098 PyObject
* obj0
= 0 ;
7100 (char *) "self", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7123 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7125 return Py_BuildValue((char *)"");
7127 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxString
*arg1
= 0 ;
7131 bool temp1
= false ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "message", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7139 arg1
= wxString_in_helper(obj0
);
7140 if (arg1
== NULL
) SWIG_fail
;
7144 if (!wxPyCheckForApp()) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7166 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7176 if (SWIG_arg_fail(1)) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 Py_INCREF(Py_None
); resultobj
= Py_None
;
7191 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7194 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7196 return Py_BuildValue((char *)"");
7198 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxStopWatch
*result
;
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (wxStopWatch
*)new wxStopWatch();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7220 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7223 long arg2
= (long) 0 ;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7227 (char *) "self",(char *) "t0", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail
;
7235 arg2
= (long)(SWIG_As_long(obj1
));
7236 if (SWIG_arg_fail(2)) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->Start(arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7253 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7263 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7278 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "self", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_From_long((long)(result
));
7331 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7334 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7336 return Py_BuildValue((char *)"");
7338 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 int arg1
= (int) 9 ;
7341 int arg2
= (int) wxID_FILE1
;
7342 wxFileHistory
*result
;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7346 (char *) "maxFiles",(char *) "idBase", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 arg1
= (int)(SWIG_As_int(obj0
));
7353 if (SWIG_arg_fail(1)) SWIG_fail
;
7358 arg2
= (int)(SWIG_As_int(obj1
));
7359 if (SWIG_arg_fail(2)) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7376 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "self", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7404 wxString
*arg2
= 0 ;
7405 bool temp2
= false ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "self",(char *) "file", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail
;
7416 arg2
= wxString_in_helper(obj1
);
7417 if (arg2
== NULL
) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "i", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 arg2
= (int)(SWIG_As_int(obj1
));
7457 if (SWIG_arg_fail(2)) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->RemoveFileFromHistory(arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7484 if (SWIG_arg_fail(1)) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= SWIG_From_int((int)(result
));
7501 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7504 wxMenu
*arg2
= (wxMenu
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7508 (char *) "self",(char *) "menu", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(2)) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 (arg1
)->UseMenu(arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7533 wxMenu
*arg2
= (wxMenu
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7537 (char *) "self",(char *) "menu", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7542 if (SWIG_arg_fail(1)) SWIG_fail
;
7543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(2)) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 (arg1
)->RemoveMenu(arg2
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 Py_INCREF(Py_None
); resultobj
= Py_None
;
7559 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7562 wxConfigBase
*arg2
= 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "config", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail
;
7573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7574 if (SWIG_arg_fail(2)) SWIG_fail
;
7576 SWIG_null_ref("wxConfigBase");
7578 if (SWIG_arg_fail(2)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->Load(*arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7597 wxConfigBase
*arg2
= 0 ;
7598 PyObject
* obj0
= 0 ;
7599 PyObject
* obj1
= 0 ;
7601 (char *) "self",(char *) "config", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail
;
7608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7609 if (SWIG_arg_fail(2)) SWIG_fail
;
7611 SWIG_null_ref("wxConfigBase");
7613 if (SWIG_arg_fail(2)) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 (arg1
)->Save(*arg2
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 Py_INCREF(Py_None
); resultobj
= Py_None
;
7629 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7634 (char *) "self", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 (arg1
)->AddFilesToMenu();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 Py_INCREF(Py_None
); resultobj
= Py_None
;
7654 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7657 wxMenu
*arg2
= (wxMenu
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "menu", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(2)) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->AddFilesToMenu(arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7683 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7691 (char *) "self",(char *) "i", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(1)) SWIG_fail
;
7698 arg2
= (int)(SWIG_As_int(obj1
));
7699 if (SWIG_arg_fail(2)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7721 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_From_int((int)(result
));
7749 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7754 return Py_BuildValue((char *)"");
7756 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxString
*arg1
= 0 ;
7759 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7760 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7761 wxSingleInstanceChecker
*result
;
7762 bool temp1
= false ;
7763 bool temp2
= false ;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7767 (char *) "name",(char *) "path", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7772 arg1
= wxString_in_helper(obj0
);
7773 if (arg1
== NULL
) SWIG_fail
;
7778 arg2
= wxString_in_helper(obj1
);
7779 if (arg2
== NULL
) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7813 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxSingleInstanceChecker
*result
;
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7835 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7840 (char *) "self", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7863 wxString
*arg2
= 0 ;
7864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7867 bool temp2
= false ;
7868 bool temp3
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7873 (char *) "self",(char *) "name",(char *) "path", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail
;
7880 arg2
= wxString_in_helper(obj1
);
7881 if (arg2
== NULL
) SWIG_fail
;
7886 arg3
= wxString_in_helper(obj2
);
7887 if (arg3
== NULL
) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7951 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7956 return Py_BuildValue((char *)"");
7958 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxWindow
*arg1
= (wxWindow
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7966 (char *) "window",(char *) "dc", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail
;
7973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(2)) SWIG_fail
;
7976 SWIG_null_ref("wxDC");
7978 if (SWIG_arg_fail(2)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (arg1
)->GetTip();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8053 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8064 if (SWIG_arg_fail(1)) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (size_t)(arg1
)->GetCurrentTip();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8081 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8084 wxString
*arg2
= 0 ;
8086 bool temp2
= false ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8090 (char *) "self",(char *) "tip", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 arg2
= wxString_in_helper(obj1
);
8098 if (arg2
== NULL
) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8129 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8132 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8134 return Py_BuildValue((char *)"");
8136 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8139 wxPyTipProvider
*result
;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "currentTip", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8147 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8164 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8167 PyObject
*arg2
= (PyObject
*) 0 ;
8168 PyObject
*arg3
= (PyObject
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8173 (char *) "self",(char *) "self",(char *) "_class", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8198 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8200 return Py_BuildValue((char *)"");
8202 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxWindow
*arg1
= (wxWindow
*) 0 ;
8205 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8206 bool arg3
= (bool) true ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 PyObject
* obj2
= 0 ;
8212 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail
;
8218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8219 if (SWIG_arg_fail(2)) SWIG_fail
;
8222 arg3
= (bool)(SWIG_As_bool(obj2
));
8223 if (SWIG_arg_fail(3)) SWIG_fail
;
8227 if (!wxPyCheckForApp()) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxString
*arg1
= 0 ;
8247 wxTipProvider
*result
;
8248 bool temp1
= false ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "filename",(char *) "currentTip", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 arg1
= wxString_in_helper(obj0
);
8258 if (arg1
== NULL
) SWIG_fail
;
8262 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8263 if (SWIG_arg_fail(2)) SWIG_fail
;
8266 if (!wxPyCheckForApp()) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8288 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8291 int arg2
= (int) -1 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8296 (char *) "owner",(char *) "id", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8302 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 arg2
= (int)(SWIG_As_int(obj1
));
8307 if (SWIG_arg_fail(2)) SWIG_fail
;
8311 if (!wxPyCheckForApp()) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8325 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8350 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8353 PyObject
*arg2
= (PyObject
*) 0 ;
8354 PyObject
*arg3
= (PyObject
*) 0 ;
8355 int arg4
= (int) 1 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8359 PyObject
* obj3
= 0 ;
8361 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8366 if (SWIG_arg_fail(1)) SWIG_fail
;
8371 arg4
= (int)(SWIG_As_int(obj3
));
8372 if (SWIG_arg_fail(4)) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8392 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8393 int arg3
= (int) -1 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8398 (char *) "self",(char *) "owner",(char *) "id", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8405 if (SWIG_arg_fail(2)) SWIG_fail
;
8408 arg3
= (int)(SWIG_As_int(obj2
));
8409 if (SWIG_arg_fail(3)) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 (arg1
)->SetOwner(arg2
,arg3
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8426 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8429 wxEvtHandler
*result
;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= wxPyMake_wxObject(result
, 0);
8454 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8457 int arg2
= (int) -1 ;
8458 bool arg3
= (bool) false ;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8462 PyObject
* obj2
= 0 ;
8464 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 arg2
= (int)(SWIG_As_int(obj1
));
8473 if (SWIG_arg_fail(2)) SWIG_fail
;
8478 arg3
= (bool)(SWIG_As_bool(obj2
));
8479 if (SWIG_arg_fail(3)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8498 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8503 (char *) "self", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8508 if (SWIG_arg_fail(1)) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 Py_INCREF(Py_None
); resultobj
= Py_None
;
8523 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8551 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8555 PyObject
* obj0
= 0 ;
8557 (char *) "self", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8562 if (SWIG_arg_fail(1)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= SWIG_From_int((int)(result
));
8579 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8607 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8618 if (SWIG_arg_fail(1)) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_From_int((int)(result
));
8635 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8638 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8640 return Py_BuildValue((char *)"");
8642 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 int arg1
= (int) 0 ;
8645 int arg2
= (int) 0 ;
8646 wxTimerEvent
*result
;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8650 (char *) "timerid",(char *) "interval", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 arg1
= (int)(SWIG_As_int(obj0
));
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 arg2
= (int)(SWIG_As_int(obj1
));
8663 if (SWIG_arg_fail(2)) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8680 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8686 (char *) "self", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8691 if (SWIG_arg_fail(1)) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_From_int((int)(result
));
8708 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8713 return Py_BuildValue((char *)"");
8715 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8716 PyObject
*resultobj
;
8718 wxTimerRunner
*result
;
8719 PyObject
* obj0
= 0 ;
8721 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8724 if (SWIG_arg_fail(1)) SWIG_fail
;
8726 SWIG_null_ref("wxTimer");
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8731 if (!wxPyCheckForApp()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8745 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8746 PyObject
*resultobj
;
8749 bool arg3
= (bool) false ;
8750 wxTimerRunner
*result
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8758 if (SWIG_arg_fail(1)) SWIG_fail
;
8760 SWIG_null_ref("wxTimer");
8762 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 arg2
= (int)(SWIG_As_int(obj1
));
8766 if (SWIG_arg_fail(2)) SWIG_fail
;
8770 arg3
= (bool)(SWIG_As_bool(obj2
));
8771 if (SWIG_arg_fail(3)) SWIG_fail
;
8775 if (!wxPyCheckForApp()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8789 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8794 argc
= PyObject_Length(args
);
8795 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8796 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8802 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8810 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8813 if ((argc
>= 2) && (argc
<= 3)) {
8817 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8825 _v
= SWIG_Check_int(argv
[1]);
8828 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8830 _v
= SWIG_Check_bool(argv
[2]);
8832 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8838 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8843 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8848 (char *) "self", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8868 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8872 bool arg3
= (bool) false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 arg2
= (int)(SWIG_As_int(obj1
));
8885 if (SWIG_arg_fail(2)) SWIG_fail
;
8889 arg3
= (bool)(SWIG_As_bool(obj2
));
8890 if (SWIG_arg_fail(3)) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->Start(arg2
,arg3
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8910 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8912 return Py_BuildValue((char *)"");
8914 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxLog
*)new wxLog();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8936 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (bool)wxLog::IsEnabled();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8960 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 bool arg1
= (bool) true ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "doIt", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8972 arg1
= (bool)(SWIG_As_bool(obj0
));
8973 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (bool)wxLog::EnableLogging(arg1
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8995 wxChar
*arg2
= (wxChar
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
8999 PyObject
* obj2
= 0 ;
9001 (char *) "level",(char *) "szString",(char *) "t", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9006 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9007 if (SWIG_arg_fail(1)) SWIG_fail
;
9009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9010 if (SWIG_arg_fail(2)) SWIG_fail
;
9012 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
9013 if (SWIG_arg_fail(3)) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxLog
*arg1
= (wxLog
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 wxLog::FlushActive();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (wxLog
*)wxLog::GetActiveTarget();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9097 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxLog
*arg1
= (wxLog
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "pLogger", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9123 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 bool arg1
= (bool) true ;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "bVerbose", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9176 arg1
= (bool)(SWIG_As_bool(obj0
));
9177 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 wxLog::SetVerbose(arg1
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "logLevel", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9204 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9205 if (SWIG_arg_fail(1)) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxLog::SetLogLevel(arg1
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 wxLog::DontCreateOnDemand();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "ulMask", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9252 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxLog::SetTraceMask(arg1
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxString
*arg1
= 0 ;
9272 bool temp1
= false ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "str", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9280 arg1
= wxString_in_helper(obj0
);
9281 if (arg1
== NULL
) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxLog::AddTraceMask((wxString
const &)*arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxString
*arg1
= 0 ;
9309 bool temp1
= false ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "str", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9317 arg1
= wxString_in_helper(obj0
);
9318 if (arg1
== NULL
) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 Py_INCREF(Py_None
); resultobj
= Py_None
;
9343 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 wxLog::ClearTraceMasks();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxArrayString
*result
;
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9376 result
= (wxArrayString
*) &_result_ref
;
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= wxArrayString2PyList_helper(*result
);
9391 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxChar
*arg1
= (wxChar
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 wxLog::SetTimestamp((wxChar
const *)arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (bool)wxLog::GetVerbose();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9440 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxTraceMask
)wxLog::GetTraceMask();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9464 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxChar
*arg1
= (wxChar
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "mask", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9492 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (wxLogLevel
)wxLog::GetLogLevel();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9516 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (wxChar
*)wxLog::GetTimestamp();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9538 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= Log_TimeStamp();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9566 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxLog
*arg1
= (wxLog
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 wxLog_Destroy(arg1
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9591 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9594 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9596 return Py_BuildValue((char *)"");
9598 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxLogStderr
*result
;
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (wxLogStderr
*)new wxLogStderr();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9620 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9623 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9625 return Py_BuildValue((char *)"");
9627 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9630 wxLogTextCtrl
*result
;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "pTextCtrl", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9638 if (SWIG_arg_fail(1)) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9653 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9656 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9658 return Py_BuildValue((char *)"");
9660 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (wxLogGui
*)new wxLogGui();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9682 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9685 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9687 return Py_BuildValue((char *)"");
9689 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxFrame
*arg1
= (wxFrame
*) 0 ;
9692 wxString
*arg2
= 0 ;
9693 bool arg3
= (bool) true ;
9694 bool arg4
= (bool) true ;
9695 wxLogWindow
*result
;
9696 bool temp2
= false ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 PyObject
* obj2
= 0 ;
9700 PyObject
* obj3
= 0 ;
9702 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail
;
9709 arg2
= wxString_in_helper(obj1
);
9710 if (arg2
== NULL
) SWIG_fail
;
9715 arg3
= (bool)(SWIG_As_bool(obj2
));
9716 if (SWIG_arg_fail(3)) SWIG_fail
;
9721 arg4
= (bool)(SWIG_As_bool(obj3
));
9722 if (SWIG_arg_fail(4)) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9747 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9750 bool arg2
= (bool) true ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9754 (char *) "self",(char *) "bShow", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9762 arg2
= (bool)(SWIG_As_bool(obj1
));
9763 if (SWIG_arg_fail(2)) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 Py_INCREF(Py_None
); resultobj
= Py_None
;
9780 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "self", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9791 if (SWIG_arg_fail(1)) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= wxPyMake_wxObject(result
, 0);
9808 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9834 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9862 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9869 (char *) "self",(char *) "bDoPass", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail
;
9876 arg2
= (bool)(SWIG_As_bool(obj1
));
9877 if (SWIG_arg_fail(2)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->PassMessages(arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9896 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9898 return Py_BuildValue((char *)"");
9900 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxLog
*arg1
= (wxLog
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "logger", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (wxLogChain
*)new wxLogChain(arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9926 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9929 wxLog
*arg2
= (wxLog
*) 0 ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9933 (char *) "self",(char *) "logger", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail
;
9939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(2)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 (arg1
)->SetLog(arg2
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9962 (char *) "self",(char *) "bDoPass", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 arg2
= (bool)(SWIG_As_bool(obj1
));
9970 if (SWIG_arg_fail(2)) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 (arg1
)->PassMessages(arg2
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 Py_INCREF(Py_None
); resultobj
= Py_None
;
9986 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)(arg1
)->IsPassingMessages();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (wxLog
*)(arg1
)->GetOldLog();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10040 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10043 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10045 return Py_BuildValue((char *)"");
10047 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxLogBuffer
*result
;
10050 char *kwnames
[] = {
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (wxLogBuffer
*)new wxLogBuffer();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10069 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10085 result
= (wxString
*) &_result_ref
;
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10095 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10104 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10132 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10134 return Py_BuildValue((char *)"");
10136 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 unsigned long result
;
10139 char *kwnames
[] = {
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (unsigned long)wxSysErrorCode();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10160 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 unsigned long arg1
= (unsigned long) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "nErrCode", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10172 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10173 if (SWIG_arg_fail(1)) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= wxSysErrorMsg(arg1
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10196 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxString
*arg1
= 0 ;
10199 bool temp1
= false ;
10200 PyObject
* obj0
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "msg", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10207 arg1
= wxString_in_helper(obj0
);
10208 if (arg1
== NULL
) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxPyLogFatalError((wxString
const &)*arg1
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxString
*arg1
= 0 ;
10236 bool temp1
= false ;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "msg", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10244 arg1
= wxString_in_helper(obj0
);
10245 if (arg1
== NULL
) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 wxPyLogError((wxString
const &)*arg1
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10270 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxString
*arg1
= 0 ;
10273 bool temp1
= false ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "msg", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10281 arg1
= wxString_in_helper(obj0
);
10282 if (arg1
== NULL
) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 wxPyLogWarning((wxString
const &)*arg1
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxString
*arg1
= 0 ;
10310 bool temp1
= false ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "msg", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10318 arg1
= wxString_in_helper(obj0
);
10319 if (arg1
== NULL
) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxPyLogMessage((wxString
const &)*arg1
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10344 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxString
*arg1
= 0 ;
10347 bool temp1
= false ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "msg", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10355 arg1
= wxString_in_helper(obj0
);
10356 if (arg1
== NULL
) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 wxPyLogInfo((wxString
const &)*arg1
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10381 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10383 wxString
*arg1
= 0 ;
10384 bool temp1
= false ;
10385 PyObject
* obj0
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "msg", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10392 arg1
= wxString_in_helper(obj0
);
10393 if (arg1
== NULL
) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 wxPyLogDebug((wxString
const &)*arg1
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxString
*arg1
= 0 ;
10421 bool temp1
= false ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "msg", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10429 arg1
= wxString_in_helper(obj0
);
10430 if (arg1
== NULL
) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxPyLogVerbose((wxString
const &)*arg1
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10455 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxString
*arg1
= 0 ;
10458 bool temp1
= false ;
10459 PyObject
* obj0
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "msg", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10466 arg1
= wxString_in_helper(obj0
);
10467 if (arg1
== NULL
) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 wxPyLogStatus((wxString
const &)*arg1
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 Py_INCREF(Py_None
); resultobj
= Py_None
;
10492 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxFrame
*arg1
= (wxFrame
*) 0 ;
10495 wxString
*arg2
= 0 ;
10496 bool temp2
= false ;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "pFrame",(char *) "msg", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 arg2
= wxString_in_helper(obj1
);
10508 if (arg2
== NULL
) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxString
*arg1
= 0 ;
10536 bool temp1
= false ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "msg", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10544 arg1
= wxString_in_helper(obj0
);
10545 if (arg1
== NULL
) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 wxPyLogSysError((wxString
const &)*arg1
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10570 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 unsigned long arg1
;
10573 wxString
*arg2
= 0 ;
10574 bool temp2
= false ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "level",(char *) "msg", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10583 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10584 if (SWIG_arg_fail(1)) SWIG_fail
;
10587 arg2
= wxString_in_helper(obj1
);
10588 if (arg2
== NULL
) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10614 PyObject
*resultobj
;
10615 unsigned long arg1
;
10616 wxString
*arg2
= 0 ;
10617 bool temp2
= false ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10621 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10623 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10624 if (SWIG_arg_fail(1)) SWIG_fail
;
10627 arg2
= wxString_in_helper(obj1
);
10628 if (arg2
== NULL
) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10653 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10654 PyObject
*resultobj
;
10655 wxString
*arg1
= 0 ;
10656 wxString
*arg2
= 0 ;
10657 bool temp1
= false ;
10658 bool temp2
= false ;
10659 PyObject
* obj0
= 0 ;
10660 PyObject
* obj1
= 0 ;
10662 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10664 arg1
= wxString_in_helper(obj0
);
10665 if (arg1
== NULL
) SWIG_fail
;
10669 arg2
= wxString_in_helper(obj1
);
10670 if (arg2
== NULL
) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10708 argc
= PyObject_Length(args
);
10709 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10710 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10715 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10719 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10722 return _wrap_LogTrace__SWIG_1(self
,args
);
10728 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10731 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10734 return _wrap_LogTrace__SWIG_0(self
,args
);
10739 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10744 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxString
*arg1
= 0 ;
10747 wxString
*arg2
= 0 ;
10748 bool temp1
= false ;
10749 bool temp2
= false ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "title",(char *) "text", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10758 arg1
= wxString_in_helper(obj0
);
10759 if (arg1
== NULL
) SWIG_fail
;
10763 arg2
= wxString_in_helper(obj1
);
10764 if (arg2
== NULL
) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10800 char *kwnames
[] = {
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (wxLogNull
*)new wxLogNull();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10819 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10847 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10849 return Py_BuildValue((char *)"");
10851 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10854 char *kwnames
[] = {
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (wxPyLog
*)new wxPyLog();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10873 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10876 PyObject
*arg2
= (PyObject
*) 0 ;
10877 PyObject
*arg3
= (PyObject
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self",(char *) "self",(char *) "_class", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 Py_INCREF(Py_None
); resultobj
= Py_None
;
10904 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10907 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10909 return Py_BuildValue((char *)"");
10911 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10914 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10915 int arg3
= (int) wxKILL_NOCHILDREN
;
10916 wxKillError result
;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 PyObject
* obj2
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10926 arg1
= (int)(SWIG_As_int(obj0
));
10927 if (SWIG_arg_fail(1)) SWIG_fail
;
10931 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10932 if (SWIG_arg_fail(2)) SWIG_fail
;
10937 arg3
= (int)(SWIG_As_int(obj2
));
10938 if (SWIG_arg_fail(3)) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_From_int((result
));
10955 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "pid", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10966 arg1
= (int)(SWIG_As_int(obj0
));
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)wxPyProcess::Exists(arg1
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxString
*arg1
= 0 ;
10988 int arg2
= (int) wxEXEC_ASYNC
;
10989 wxPyProcess
*result
;
10990 bool temp1
= false ;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "cmd",(char *) "flags", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10999 arg1
= wxString_in_helper(obj0
);
11000 if (arg1
== NULL
) SWIG_fail
;
11005 arg2
= (int)(SWIG_As_int(obj1
));
11006 if (SWIG_arg_fail(2)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11031 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11034 int arg2
= (int) -1 ;
11035 wxPyProcess
*result
;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "parent",(char *) "id", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (int)(SWIG_As_int(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11067 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11070 PyObject
*arg2
= (PyObject
*) 0 ;
11071 PyObject
*arg3
= (PyObject
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "self",(char *) "_class", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 PyObject
* obj2
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "pid",(char *) "status", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11112 if (SWIG_arg_fail(1)) SWIG_fail
;
11114 arg2
= (int)(SWIG_As_int(obj1
));
11115 if (SWIG_arg_fail(2)) SWIG_fail
;
11118 arg3
= (int)(SWIG_As_int(obj2
));
11119 if (SWIG_arg_fail(3)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->base_OnTerminate(arg2
,arg3
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->Redirect();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)(arg1
)->IsRedirected();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11216 wxInputStream
*result
;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 wxPyInputStream
* _ptr
= NULL
;
11236 _ptr
= new wxPyInputStream(result
);
11238 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11246 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11249 wxInputStream
*result
;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11257 if (SWIG_arg_fail(1)) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 wxPyInputStream
* _ptr
= NULL
;
11269 _ptr
= new wxPyInputStream(result
);
11271 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11279 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11282 wxOutputStream
*result
;
11283 PyObject
* obj0
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11305 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->CloseOutput();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11330 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11341 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11386 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11397 if (SWIG_arg_fail(1)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11414 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11417 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11419 return Py_BuildValue((char *)"");
11421 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 int arg1
= (int) 0 ;
11424 int arg2
= (int) 0 ;
11425 int arg3
= (int) 0 ;
11426 wxProcessEvent
*result
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11437 arg1
= (int)(SWIG_As_int(obj0
));
11438 if (SWIG_arg_fail(1)) SWIG_fail
;
11443 arg2
= (int)(SWIG_As_int(obj1
));
11444 if (SWIG_arg_fail(2)) SWIG_fail
;
11449 arg3
= (int)(SWIG_As_int(obj2
));
11450 if (SWIG_arg_fail(3)) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11467 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (int)(arg1
)->GetPid();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_From_int((int)(result
));
11495 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11506 if (SWIG_arg_fail(1)) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (int)(arg1
)->GetExitCode();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_From_int((int)(result
));
11523 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "m_pid", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11535 if (SWIG_arg_fail(1)) SWIG_fail
;
11537 arg2
= (int)(SWIG_As_int(obj1
));
11538 if (SWIG_arg_fail(2)) SWIG_fail
;
11540 if (arg1
) (arg1
)->m_pid
= arg2
;
11542 Py_INCREF(Py_None
); resultobj
= Py_None
;
11549 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11561 result
= (int) ((arg1
)->m_pid
);
11564 resultobj
= SWIG_From_int((int)(result
));
11572 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "m_exitcode", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11584 if (SWIG_arg_fail(1)) SWIG_fail
;
11586 arg2
= (int)(SWIG_As_int(obj1
));
11587 if (SWIG_arg_fail(2)) SWIG_fail
;
11589 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11591 Py_INCREF(Py_None
); resultobj
= Py_None
;
11598 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11609 if (SWIG_arg_fail(1)) SWIG_fail
;
11610 result
= (int) ((arg1
)->m_exitcode
);
11613 resultobj
= SWIG_From_int((int)(result
));
11621 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11624 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11626 return Py_BuildValue((char *)"");
11628 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxString
*arg1
= 0 ;
11631 int arg2
= (int) wxEXEC_ASYNC
;
11632 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11634 bool temp1
= false ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 PyObject
* obj2
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "command",(char *) "flags",(char *) "process", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11644 arg1
= wxString_in_helper(obj0
);
11645 if (arg1
== NULL
) SWIG_fail
;
11650 arg2
= (int)(SWIG_As_int(obj1
));
11651 if (SWIG_arg_fail(2)) SWIG_fail
;
11655 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(3)) SWIG_fail
;
11659 if (!wxPyCheckForApp()) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= SWIG_From_long((long)(result
));
11683 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11686 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11687 wxKillError
*arg3
= (wxKillError
*) 0 ;
11688 int arg4
= (int) wxKILL_NOCHILDREN
;
11690 wxKillError temp3
;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11703 arg1
= (long)(SWIG_As_long(obj0
));
11704 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11709 if (SWIG_arg_fail(2)) SWIG_fail
;
11714 arg4
= (int)(SWIG_As_int(obj2
));
11715 if (SWIG_arg_fail(4)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_From_int((int)(result
));
11730 o
= PyInt_FromLong((long) (*arg3
));
11731 resultobj
= t_output_helper(resultobj
, o
);
11739 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 int arg1
= (int) wxJOYSTICK1
;
11742 wxJoystick
*result
;
11743 PyObject
* obj0
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "joystick", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11751 arg1
= (int)(SWIG_As_int(obj0
));
11752 if (SWIG_arg_fail(1)) SWIG_fail
;
11756 if (!wxPyCheckForApp()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxJoystick
*)new wxJoystick(arg1
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11770 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11780 if (SWIG_arg_fail(1)) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11795 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (arg1
)->GetPosition();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 wxPoint
* resultptr
;
11816 resultptr
= new wxPoint((wxPoint
&)(result
));
11817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11825 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11836 if (SWIG_arg_fail(1)) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (int)(arg1
)->GetZPosition();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_From_int((int)(result
));
11853 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (int)(arg1
)->GetButtonState();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_int((int)(result
));
11881 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)(arg1
)->GetPOVPosition();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= SWIG_From_int((int)(result
));
11909 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (int)(arg1
)->GetPOVCTSPosition();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_From_int((int)(result
));
11937 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (int)(arg1
)->GetRudderPosition();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_From_int((int)(result
));
11965 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (int)(arg1
)->GetUPosition();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int((int)(result
));
11993 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (int)(arg1
)->GetVPosition();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int((int)(result
));
12021 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)(arg1
)->GetMovementThreshold();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_From_int((int)(result
));
12049 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "threshold", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 arg2
= (int)(SWIG_As_int(obj1
));
12064 if (SWIG_arg_fail(2)) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetMovementThreshold(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12091 if (SWIG_arg_fail(1)) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (bool)(arg1
)->IsOk();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12108 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)(arg1
)->GetNumberJoysticks();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_From_int((int)(result
));
12136 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12147 if (SWIG_arg_fail(1)) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (int)(arg1
)->GetManufacturerId();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_From_int((int)(result
));
12164 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12168 PyObject
* obj0
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (int)(arg1
)->GetProductId();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_From_int((int)(result
));
12192 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (arg1
)->GetProductName();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12224 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (int)(arg1
)->GetXMin();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= SWIG_From_int((int)(result
));
12252 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (int)(arg1
)->GetYMin();
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= SWIG_From_int((int)(result
));
12280 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12291 if (SWIG_arg_fail(1)) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (int)(arg1
)->GetZMin();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_From_int((int)(result
));
12308 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12319 if (SWIG_arg_fail(1)) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (int)(arg1
)->GetXMax();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_From_int((int)(result
));
12336 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (int)(arg1
)->GetYMax();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int((int)(result
));
12364 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12375 if (SWIG_arg_fail(1)) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (int)(arg1
)->GetZMax();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_From_int((int)(result
));
12392 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12403 if (SWIG_arg_fail(1)) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (int)(arg1
)->GetNumberButtons();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_From_int((int)(result
));
12420 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (int)(arg1
)->GetNumberAxes();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_int((int)(result
));
12448 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (int)(arg1
)->GetMaxButtons();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_From_int((int)(result
));
12476 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)(arg1
)->GetMaxAxes();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int((int)(result
));
12504 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (int)(arg1
)->GetPollingMin();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_int((int)(result
));
12532 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (int)(arg1
)->GetPollingMax();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_From_int((int)(result
));
12560 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12571 if (SWIG_arg_fail(1)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (int)(arg1
)->GetRudderMin();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_From_int((int)(result
));
12588 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (int)(arg1
)->GetRudderMax();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int((int)(result
));
12616 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (int)(arg1
)->GetUMin();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_int((int)(result
));
12644 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (int)(arg1
)->GetUMax();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_From_int((int)(result
));
12672 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (int)(arg1
)->GetVMin();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_From_int((int)(result
));
12700 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (int)(arg1
)->GetVMax();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= SWIG_From_int((int)(result
));
12728 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (bool)(arg1
)->HasRudder();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12756 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (bool)(arg1
)->HasZ();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12784 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)(arg1
)->HasU();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (bool)(arg1
)->HasV();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12840 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (bool)(arg1
)->HasPOV();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (bool)(arg1
)->HasPOV4Dir();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->HasPOVCTS();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12924 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12927 wxWindow
*arg2
= (wxWindow
*) 0 ;
12928 int arg3
= (int) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 PyObject
* obj2
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail
;
12940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12941 if (SWIG_arg_fail(2)) SWIG_fail
;
12944 arg3
= (int)(SWIG_As_int(obj2
));
12945 if (SWIG_arg_fail(3)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12964 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (bool)(arg1
)->ReleaseCapture();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12995 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12997 return Py_BuildValue((char *)"");
12999 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13002 int arg2
= (int) 0 ;
13003 int arg3
= (int) wxJOYSTICK1
;
13004 int arg4
= (int) 0 ;
13005 wxJoystickEvent
*result
;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 PyObject
* obj3
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13017 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13018 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 arg2
= (int)(SWIG_As_int(obj1
));
13024 if (SWIG_arg_fail(2)) SWIG_fail
;
13029 arg3
= (int)(SWIG_As_int(obj2
));
13030 if (SWIG_arg_fail(3)) SWIG_fail
;
13035 arg4
= (int)(SWIG_As_int(obj3
));
13036 if (SWIG_arg_fail(4)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13053 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 wxPoint
* resultptr
;
13074 resultptr
= new wxPoint((wxPoint
&)(result
));
13075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13083 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_int((int)(result
));
13111 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_int((int)(result
));
13139 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_From_int((int)(result
));
13167 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_From_int((int)(result
));
13195 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "stick", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13207 if (SWIG_arg_fail(1)) SWIG_fail
;
13209 arg2
= (int)(SWIG_As_int(obj1
));
13210 if (SWIG_arg_fail(2)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 (arg1
)->SetJoystick(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "state", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13238 if (SWIG_arg_fail(1)) SWIG_fail
;
13240 arg2
= (int)(SWIG_As_int(obj1
));
13241 if (SWIG_arg_fail(2)) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 (arg1
)->SetButtonState(arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 Py_INCREF(Py_None
); resultobj
= Py_None
;
13257 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "change", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13269 if (SWIG_arg_fail(1)) SWIG_fail
;
13271 arg2
= (int)(SWIG_As_int(obj1
));
13272 if (SWIG_arg_fail(2)) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 (arg1
)->SetButtonChange(arg2
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 Py_INCREF(Py_None
); resultobj
= Py_None
;
13288 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13291 wxPoint
*arg2
= 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "pos", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "zPos", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13332 if (SWIG_arg_fail(1)) SWIG_fail
;
13334 arg2
= (int)(SWIG_As_int(obj1
));
13335 if (SWIG_arg_fail(2)) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetZPosition(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13362 if (SWIG_arg_fail(1)) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13379 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13407 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13418 if (SWIG_arg_fail(1)) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13438 int arg2
= (int) wxJOY_BUTTON_ANY
;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self",(char *) "but", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13448 if (SWIG_arg_fail(1)) SWIG_fail
;
13451 arg2
= (int)(SWIG_As_int(obj1
));
13452 if (SWIG_arg_fail(2)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13471 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13474 int arg2
= (int) wxJOY_BUTTON_ANY
;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "but", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13487 arg2
= (int)(SWIG_As_int(obj1
));
13488 if (SWIG_arg_fail(2)) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13507 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13510 int arg2
= (int) wxJOY_BUTTON_ANY
;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "but", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail
;
13523 arg2
= (int)(SWIG_As_int(obj1
));
13524 if (SWIG_arg_fail(2)) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13543 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13548 return Py_BuildValue((char *)"");
13550 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13553 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13555 bool temp1
= false ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "fileName", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13564 arg1
= wxString_in_helper(obj0
);
13565 if (arg1
== NULL
) SWIG_fail
;
13570 if (!wxPyCheckForApp()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13592 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 PyObject
*arg1
= (PyObject
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "data", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13604 if (!wxPyCheckForApp()) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (wxSound
*)new_wxSound(arg1
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13618 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxSound
*arg1
= (wxSound
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 Py_INCREF(Py_None
); resultobj
= Py_None
;
13643 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxSound
*arg1
= (wxSound
*) 0 ;
13646 wxString
*arg2
= 0 ;
13648 bool temp2
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "fileName", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13657 if (SWIG_arg_fail(1)) SWIG_fail
;
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13687 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxSound
*arg1
= (wxSound
*) 0 ;
13690 PyObject
*arg2
= (PyObject
*) 0 ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self",(char *) "data", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13700 if (SWIG_arg_fail(1)) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13718 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxSound
*arg1
= (wxSound
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13729 if (SWIG_arg_fail(1)) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (bool)(arg1
)->IsOk();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13746 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxSound
*arg1
= (wxSound
*) 0 ;
13749 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self",(char *) "flags", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail
;
13762 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13763 if (SWIG_arg_fail(2)) SWIG_fail
;
13767 if (!wxPyCheckForApp()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxString
*arg1
= 0 ;
13786 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13788 bool temp1
= false ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "filename",(char *) "flags", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 arg1
= wxString_in_helper(obj0
);
13798 if (arg1
== NULL
) SWIG_fail
;
13803 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13804 if (SWIG_arg_fail(2)) SWIG_fail
;
13808 if (!wxPyCheckForApp()) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 char *kwnames
[] = {
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13840 if (!wxPyCheckForApp()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13857 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13859 return Py_BuildValue((char *)"");
13861 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxString
*arg1
= 0 ;
13864 wxString
*arg2
= 0 ;
13865 wxString
*arg3
= 0 ;
13866 wxString
*arg4
= 0 ;
13867 wxFileTypeInfo
*result
;
13868 bool temp1
= false ;
13869 bool temp2
= false ;
13870 bool temp3
= false ;
13871 bool temp4
= false ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 PyObject
* obj2
= 0 ;
13875 PyObject
* obj3
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13882 arg1
= wxString_in_helper(obj0
);
13883 if (arg1
== NULL
) SWIG_fail
;
13887 arg2
= wxString_in_helper(obj1
);
13888 if (arg2
== NULL
) SWIG_fail
;
13892 arg3
= wxString_in_helper(obj2
);
13893 if (arg3
== NULL
) SWIG_fail
;
13897 arg4
= wxString_in_helper(obj3
);
13898 if (arg4
== NULL
) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13947 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxArrayString
*arg1
= 0 ;
13950 wxFileTypeInfo
*result
;
13951 bool temp1
= false ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "sArray", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13959 if (! PySequence_Check(obj0
)) {
13960 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13963 arg1
= new wxArrayString
;
13965 int i
, len
=PySequence_Length(obj0
);
13966 for (i
=0; i
<len
; i
++) {
13967 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13968 wxString
* s
= wxString_in_helper(item
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13984 if (temp1
) delete arg1
;
13989 if (temp1
) delete arg1
;
13995 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxFileTypeInfo
*result
;
13998 char *kwnames
[] = {
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14017 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14048 wxString
*arg2
= 0 ;
14049 int arg3
= (int) 0 ;
14050 bool temp2
= false ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 PyObject
* obj2
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 arg2
= wxString_in_helper(obj1
);
14063 if (arg2
== NULL
) SWIG_fail
;
14068 arg3
= (int)(SWIG_As_int(obj2
));
14069 if (SWIG_arg_fail(3)) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14097 wxString
*arg2
= 0 ;
14098 bool temp2
= false ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "shortDesc", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14107 if (SWIG_arg_fail(1)) SWIG_fail
;
14109 arg2
= wxString_in_helper(obj1
);
14110 if (arg2
== NULL
) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 Py_INCREF(Py_None
); resultobj
= Py_None
;
14135 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14146 if (SWIG_arg_fail(1)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14151 result
= (wxString
*) &_result_ref
;
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14170 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14181 if (SWIG_arg_fail(1)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14186 result
= (wxString
*) &_result_ref
;
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14196 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14205 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14216 if (SWIG_arg_fail(1)) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14221 result
= (wxString
*) &_result_ref
;
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14231 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14240 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
;
14242 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14244 PyObject
* obj0
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14256 result
= (wxString
*) &_result_ref
;
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14275 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14291 result
= (wxString
*) &_result_ref
;
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14301 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14310 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14313 wxArrayString
*result
;
14314 PyObject
* obj0
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14321 if (SWIG_arg_fail(1)) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14326 result
= (wxArrayString
*) &_result_ref
;
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= wxArrayString2PyList_helper(*result
);
14341 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_From_int((int)(result
));
14369 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14385 result
= (wxString
*) &_result_ref
;
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14404 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14415 if (SWIG_arg_fail(1)) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_From_int((int)(result
));
14432 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14435 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14437 return Py_BuildValue((char *)"");
14439 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxFileTypeInfo
*arg1
= 0 ;
14442 wxFileType
*result
;
14443 PyObject
* obj0
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "ftInfo", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14452 if (arg1
== NULL
) {
14453 SWIG_null_ref("wxFileTypeInfo");
14455 if (SWIG_arg_fail(1)) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14471 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxFileType
*arg1
= (wxFileType
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxFileType
*arg1
= (wxFileType
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
;
14522 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxFileType
*arg1
= (wxFileType
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14533 if (SWIG_arg_fail(1)) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= result
;
14548 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxFileType
*arg1
= (wxFileType
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14559 if (SWIG_arg_fail(1)) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= result
;
14574 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxFileType
*arg1
= (wxFileType
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14600 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxFileType
*arg1
= (wxFileType
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
;
14626 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxFileType
*arg1
= (wxFileType
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= result
;
14652 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxFileType
*arg1
= (wxFileType
*) 0 ;
14655 wxString
*arg2
= 0 ;
14656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14659 bool temp2
= false ;
14660 bool temp3
= false ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 PyObject
* obj2
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14670 if (SWIG_arg_fail(1)) SWIG_fail
;
14672 arg2
= wxString_in_helper(obj1
);
14673 if (arg2
== NULL
) SWIG_fail
;
14678 arg3
= wxString_in_helper(obj2
);
14679 if (arg3
== NULL
) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
;
14713 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxFileType
*arg1
= (wxFileType
*) 0 ;
14716 wxString
*arg2
= 0 ;
14717 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14718 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14720 bool temp2
= false ;
14721 bool temp3
= false ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 PyObject
* obj2
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail
;
14733 arg2
= wxString_in_helper(obj1
);
14734 if (arg2
== NULL
) SWIG_fail
;
14739 arg3
= wxString_in_helper(obj2
);
14740 if (arg3
== NULL
) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
;
14774 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxFileType
*arg1
= (wxFileType
*) 0 ;
14777 wxString
*arg2
= 0 ;
14778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14781 bool temp2
= false ;
14782 bool temp3
= false ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 PyObject
* obj2
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail
;
14794 arg2
= wxString_in_helper(obj1
);
14795 if (arg2
== NULL
) SWIG_fail
;
14800 arg3
= wxString_in_helper(obj2
);
14801 if (arg3
== NULL
) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= result
;
14835 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxFileType
*arg1
= (wxFileType
*) 0 ;
14838 wxString
*arg2
= 0 ;
14839 wxString
*arg3
= 0 ;
14840 bool arg4
= (bool) true ;
14842 bool temp2
= false ;
14843 bool temp3
= false ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 PyObject
* obj2
= 0 ;
14847 PyObject
* obj3
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14854 if (SWIG_arg_fail(1)) SWIG_fail
;
14856 arg2
= wxString_in_helper(obj1
);
14857 if (arg2
== NULL
) SWIG_fail
;
14861 arg3
= wxString_in_helper(obj2
);
14862 if (arg3
== NULL
) SWIG_fail
;
14867 arg4
= (bool)(SWIG_As_bool(obj3
));
14868 if (SWIG_arg_fail(4)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14903 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxFileType
*arg1
= (wxFileType
*) 0 ;
14906 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14907 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14908 int arg3
= (int) 0 ;
14910 bool temp2
= false ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 PyObject
* obj2
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "cmd",(char *) "index", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail
;
14923 arg2
= wxString_in_helper(obj1
);
14924 if (arg2
== NULL
) SWIG_fail
;
14930 arg3
= (int)(SWIG_As_int(obj2
));
14931 if (SWIG_arg_fail(3)) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14958 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxFileType
*arg1
= (wxFileType
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)(arg1
)->Unassociate();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14986 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxString
*arg1
= 0 ;
14989 wxString
*arg2
= 0 ;
14990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14993 bool temp1
= false ;
14994 bool temp2
= false ;
14995 bool temp3
= false ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15005 arg1
= wxString_in_helper(obj0
);
15006 if (arg1
== NULL
) SWIG_fail
;
15010 arg2
= wxString_in_helper(obj1
);
15011 if (arg2
== NULL
) SWIG_fail
;
15016 arg3
= wxString_in_helper(obj2
);
15017 if (arg3
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15065 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15068 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15070 return Py_BuildValue((char *)"");
15072 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15073 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15078 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15081 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15086 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxString
*arg1
= 0 ;
15089 wxString
*arg2
= 0 ;
15091 bool temp1
= false ;
15092 bool temp2
= false ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "mimeType",(char *) "wildcard", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15101 arg1
= wxString_in_helper(obj0
);
15102 if (arg1
== NULL
) SWIG_fail
;
15106 arg2
= wxString_in_helper(obj1
);
15107 if (arg2
== NULL
) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15142 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMimeTypesManager
*result
;
15145 char *kwnames
[] = {
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15164 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15167 int arg2
= (int) wxMAILCAP_ALL
;
15168 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15169 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15170 bool temp3
= false ;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 PyObject
* obj2
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 arg2
= (int)(SWIG_As_int(obj1
));
15184 if (SWIG_arg_fail(2)) SWIG_fail
;
15189 arg3
= wxString_in_helper(obj2
);
15190 if (arg3
== NULL
) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->ClearData();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15244 wxString
*arg2
= 0 ;
15245 wxFileType
*result
;
15246 bool temp2
= false ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "ext", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15255 if (SWIG_arg_fail(1)) SWIG_fail
;
15257 arg2
= wxString_in_helper(obj1
);
15258 if (arg2
== NULL
) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15283 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15286 wxString
*arg2
= 0 ;
15287 wxFileType
*result
;
15288 bool temp2
= false ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self",(char *) "mimeType", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 arg2
= wxString_in_helper(obj1
);
15300 if (arg2
== NULL
) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15325 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15328 wxString
*arg2
= 0 ;
15329 bool arg3
= (bool) false ;
15331 bool temp2
= false ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 PyObject
* obj2
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 arg2
= wxString_in_helper(obj1
);
15344 if (arg2
== NULL
) SWIG_fail
;
15349 arg3
= (bool)(SWIG_As_bool(obj2
));
15350 if (SWIG_arg_fail(3)) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15377 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15380 wxString
*arg2
= 0 ;
15382 bool temp2
= false ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "filename", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail
;
15393 arg2
= wxString_in_helper(obj1
);
15394 if (arg2
== NULL
) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15421 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= result
;
15447 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15450 wxFileTypeInfo
*arg2
= 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "ft", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(2)) SWIG_fail
;
15463 if (arg2
== NULL
) {
15464 SWIG_null_ref("wxFileTypeInfo");
15466 if (SWIG_arg_fail(2)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 Py_INCREF(Py_None
); resultobj
= Py_None
;
15482 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15485 wxFileTypeInfo
*arg2
= 0 ;
15486 wxFileType
*result
;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "ftInfo", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15495 if (SWIG_arg_fail(1)) SWIG_fail
;
15497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 if (arg2
== NULL
) {
15500 SWIG_null_ref("wxFileTypeInfo");
15502 if (SWIG_arg_fail(2)) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15518 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15521 wxFileType
*arg2
= (wxFileType
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self",(char *) "ft", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(2)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (bool)(arg1
)->Unassociate(arg2
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15550 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15560 if (SWIG_arg_fail(1)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15580 return Py_BuildValue((char *)"");
15582 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15583 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15588 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15593 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15595 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15602 static int _wrap_ART_MENU_set(PyObject
*) {
15603 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15608 static PyObject
*_wrap_ART_MENU_get(void) {
15613 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15615 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15622 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15623 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15628 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15633 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15635 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15642 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15643 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15648 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15653 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15655 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15662 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15663 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15668 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15673 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15675 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15682 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15683 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15688 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15693 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15695 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15702 static int _wrap_ART_BUTTON_set(PyObject
*) {
15703 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15708 static PyObject
*_wrap_ART_BUTTON_get(void) {
15713 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15715 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15722 static int _wrap_ART_OTHER_set(PyObject
*) {
15723 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15728 static PyObject
*_wrap_ART_OTHER_get(void) {
15733 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15735 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15742 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15743 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15748 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15753 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15755 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15762 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15763 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15768 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15773 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15775 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15782 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15783 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15788 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15793 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15795 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15802 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15803 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15808 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15813 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15815 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15822 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15823 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15828 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15833 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15835 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15842 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15843 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15848 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15853 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15855 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15862 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15863 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15868 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15873 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15875 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15882 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15883 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15888 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15893 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15895 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15902 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15903 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15908 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15913 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15915 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15922 static int _wrap_ART_GO_UP_set(PyObject
*) {
15923 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15928 static PyObject
*_wrap_ART_GO_UP_get(void) {
15933 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15935 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15942 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15943 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15948 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15953 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15955 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15962 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15963 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15968 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15973 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15975 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15982 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15983 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15988 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15993 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15995 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16002 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16003 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16008 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16013 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16022 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16023 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16028 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16033 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16035 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16042 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16043 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16048 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16053 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16055 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16062 static int _wrap_ART_PRINT_set(PyObject
*) {
16063 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16068 static PyObject
*_wrap_ART_PRINT_get(void) {
16073 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16075 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16082 static int _wrap_ART_HELP_set(PyObject
*) {
16083 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16088 static PyObject
*_wrap_ART_HELP_get(void) {
16093 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16095 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16102 static int _wrap_ART_TIP_set(PyObject
*) {
16103 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16108 static PyObject
*_wrap_ART_TIP_get(void) {
16113 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16115 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16122 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16123 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16128 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16133 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16135 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16142 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16143 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16148 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16153 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16155 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16162 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16163 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16168 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16173 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16175 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16182 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16183 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16188 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16193 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16195 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16202 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16203 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16208 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16213 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16215 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16222 static int _wrap_ART_CDROM_set(PyObject
*) {
16223 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16228 static PyObject
*_wrap_ART_CDROM_get(void) {
16233 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16235 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16242 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16243 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16248 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16253 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16255 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16262 static int _wrap_ART_FOLDER_set(PyObject
*) {
16263 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16268 static PyObject
*_wrap_ART_FOLDER_get(void) {
16273 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16275 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16282 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16283 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16288 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16293 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16295 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16302 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16303 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16308 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16313 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16315 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16322 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16323 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16328 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16333 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16335 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16342 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16343 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16348 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16353 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16355 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16362 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16363 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16368 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16373 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16375 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16382 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16383 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16388 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16393 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16395 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16402 static int _wrap_ART_ERROR_set(PyObject
*) {
16403 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16408 static PyObject
*_wrap_ART_ERROR_get(void) {
16413 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16415 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16422 static int _wrap_ART_QUESTION_set(PyObject
*) {
16423 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16428 static PyObject
*_wrap_ART_QUESTION_get(void) {
16433 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16435 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16442 static int _wrap_ART_WARNING_set(PyObject
*) {
16443 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16448 static PyObject
*_wrap_ART_WARNING_get(void) {
16453 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16455 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16462 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16463 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16468 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16473 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16475 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16482 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16483 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16488 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16493 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16495 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16502 static int _wrap_ART_COPY_set(PyObject
*) {
16503 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16508 static PyObject
*_wrap_ART_COPY_get(void) {
16513 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16515 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16522 static int _wrap_ART_CUT_set(PyObject
*) {
16523 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16528 static PyObject
*_wrap_ART_CUT_get(void) {
16533 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16535 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16542 static int _wrap_ART_PASTE_set(PyObject
*) {
16543 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16548 static PyObject
*_wrap_ART_PASTE_get(void) {
16553 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16555 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16562 static int _wrap_ART_DELETE_set(PyObject
*) {
16563 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16568 static PyObject
*_wrap_ART_DELETE_get(void) {
16573 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16575 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16582 static int _wrap_ART_NEW_set(PyObject
*) {
16583 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16588 static PyObject
*_wrap_ART_NEW_get(void) {
16593 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16595 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16602 static int _wrap_ART_UNDO_set(PyObject
*) {
16603 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16608 static PyObject
*_wrap_ART_UNDO_get(void) {
16613 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16615 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16622 static int _wrap_ART_REDO_set(PyObject
*) {
16623 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16628 static PyObject
*_wrap_ART_REDO_get(void) {
16633 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16635 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16642 static int _wrap_ART_QUIT_set(PyObject
*) {
16643 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16648 static PyObject
*_wrap_ART_QUIT_get(void) {
16653 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16655 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16662 static int _wrap_ART_FIND_set(PyObject
*) {
16663 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16668 static PyObject
*_wrap_ART_FIND_get(void) {
16673 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16675 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16682 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16683 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16688 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16693 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16695 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16702 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxPyArtProvider
*result
;
16705 char *kwnames
[] = {
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16711 if (!wxPyCheckForApp()) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16725 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16728 PyObject
*arg2
= (PyObject
*) 0 ;
16729 PyObject
*arg3
= (PyObject
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 PyObject
* obj2
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "self",(char *) "_class", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "provider", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 wxPyArtProvider::PushProvider(arg1
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16784 char *kwnames
[] = {
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)wxPyArtProvider::PopProvider();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16805 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "provider", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16816 if (SWIG_arg_fail(1)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxString
*arg1
= 0 ;
16836 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16837 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16838 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16839 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16841 bool temp1
= false ;
16842 bool temp2
= false ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 PyObject
* obj2
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "id",(char *) "client",(char *) "size", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16853 arg1
= wxString_in_helper(obj0
);
16854 if (arg1
== NULL
) SWIG_fail
;
16859 arg2
= wxString_in_helper(obj1
);
16860 if (arg2
== NULL
) SWIG_fail
;
16867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16871 if (!wxPyCheckForApp()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 wxBitmap
* resultptr
;
16880 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16905 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxString
*arg1
= 0 ;
16908 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16909 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16910 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16911 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16913 bool temp1
= false ;
16914 bool temp2
= false ;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 PyObject
* obj2
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "id",(char *) "client",(char *) "size", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16925 arg1
= wxString_in_helper(obj0
);
16926 if (arg1
== NULL
) SWIG_fail
;
16931 arg2
= wxString_in_helper(obj1
);
16932 if (arg2
== NULL
) SWIG_fail
;
16939 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16943 if (!wxPyCheckForApp()) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 wxIcon
* resultptr
;
16952 resultptr
= new wxIcon((wxIcon
&)(result
));
16953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16977 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxString
*arg1
= 0 ;
16980 bool arg2
= (bool) false ;
16982 bool temp1
= false ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "client",(char *) "platform_dependent", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16991 arg1
= wxString_in_helper(obj0
);
16992 if (arg1
== NULL
) SWIG_fail
;
16997 arg2
= (bool)(SWIG_As_bool(obj1
));
16998 if (SWIG_arg_fail(2)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 wxSize
* resultptr
;
17010 resultptr
= new wxSize((wxSize
&)(result
));
17011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17027 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 wxPyArtProvider_Destroy(arg1
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17055 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17057 return Py_BuildValue((char *)"");
17059 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17087 wxConfigBase
*result
;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "config", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17095 if (SWIG_arg_fail(1)) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17110 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 bool arg1
= (bool) true ;
17113 wxConfigBase
*result
;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "createOnDemand", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17122 arg1
= (bool)(SWIG_As_bool(obj0
));
17123 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17140 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxConfigBase
*result
;
17143 char *kwnames
[] = {
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxConfigBase
*)wxConfigBase::Create();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17162 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 char *kwnames
[] = {
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 wxConfigBase::DontCreateOnDemand();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 Py_INCREF(Py_None
); resultobj
= Py_None
;
17183 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17186 wxString
*arg2
= 0 ;
17187 bool temp2
= false ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self",(char *) "path", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17196 if (SWIG_arg_fail(1)) SWIG_fail
;
17198 arg2
= wxString_in_helper(obj1
);
17199 if (arg2
== NULL
) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 (arg1
)->SetPath((wxString
const &)*arg2
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17235 if (SWIG_arg_fail(1)) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17240 result
= (wxString
*) &_result_ref
;
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17259 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= result
;
17285 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "index", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17298 if (SWIG_arg_fail(1)) SWIG_fail
;
17300 arg2
= (long)(SWIG_As_long(obj1
));
17301 if (SWIG_arg_fail(2)) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
;
17317 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= result
;
17343 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "index", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail
;
17358 arg2
= (long)(SWIG_As_long(obj1
));
17359 if (SWIG_arg_fail(2)) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= result
;
17375 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17378 bool arg2
= (bool) false ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "recursive", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 arg2
= (bool)(SWIG_As_bool(obj1
));
17392 if (SWIG_arg_fail(2)) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17411 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17414 bool arg2
= (bool) false ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "recursive", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 arg2
= (bool)(SWIG_As_bool(obj1
));
17428 if (SWIG_arg_fail(2)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17447 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17450 wxString
*arg2
= 0 ;
17452 bool temp2
= false ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "name", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17463 arg2
= wxString_in_helper(obj1
);
17464 if (arg2
== NULL
) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17491 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17494 wxString
*arg2
= 0 ;
17496 bool temp2
= false ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self",(char *) "name", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17507 arg2
= wxString_in_helper(obj1
);
17508 if (arg2
== NULL
) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17535 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17538 wxString
*arg2
= 0 ;
17540 bool temp2
= false ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self",(char *) "name", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 arg2
= wxString_in_helper(obj1
);
17552 if (arg2
== NULL
) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17579 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17582 wxString
*arg2
= 0 ;
17583 wxConfigBase::EntryType result
;
17584 bool temp2
= false ;
17585 PyObject
* obj0
= 0 ;
17586 PyObject
* obj1
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "name", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17593 if (SWIG_arg_fail(1)) SWIG_fail
;
17595 arg2
= wxString_in_helper(obj1
);
17596 if (arg2
== NULL
) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_From_int((result
));
17621 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17624 wxString
*arg2
= 0 ;
17625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17628 bool temp2
= false ;
17629 bool temp3
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 arg2
= wxString_in_helper(obj1
);
17642 if (arg2
== NULL
) SWIG_fail
;
17647 arg3
= wxString_in_helper(obj2
);
17648 if (arg3
== NULL
) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17688 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17691 wxString
*arg2
= 0 ;
17692 long arg3
= (long) 0 ;
17694 bool temp2
= false ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17704 if (SWIG_arg_fail(1)) SWIG_fail
;
17706 arg2
= wxString_in_helper(obj1
);
17707 if (arg2
== NULL
) SWIG_fail
;
17712 arg3
= (long)(SWIG_As_long(obj2
));
17713 if (SWIG_arg_fail(3)) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_From_long((long)(result
));
17740 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17743 wxString
*arg2
= 0 ;
17744 double arg3
= (double) 0.0 ;
17746 bool temp2
= false ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 PyObject
* obj2
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 arg2
= wxString_in_helper(obj1
);
17759 if (arg2
== NULL
) SWIG_fail
;
17764 arg3
= (double)(SWIG_As_double(obj2
));
17765 if (SWIG_arg_fail(3)) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_From_double((double)(result
));
17792 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17795 wxString
*arg2
= 0 ;
17796 bool arg3
= (bool) false ;
17798 bool temp2
= false ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 PyObject
* obj2
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 arg2
= wxString_in_helper(obj1
);
17811 if (arg2
== NULL
) SWIG_fail
;
17816 arg3
= (bool)(SWIG_As_bool(obj2
));
17817 if (SWIG_arg_fail(3)) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17844 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17847 wxString
*arg2
= 0 ;
17848 wxString
*arg3
= 0 ;
17850 bool temp2
= false ;
17851 bool temp3
= false ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 PyObject
* obj2
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "key",(char *) "value", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail
;
17863 arg2
= wxString_in_helper(obj1
);
17864 if (arg2
== NULL
) SWIG_fail
;
17868 arg3
= wxString_in_helper(obj2
);
17869 if (arg3
== NULL
) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17907 wxString
*arg2
= 0 ;
17910 bool temp2
= false ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 PyObject
* obj2
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "key",(char *) "value", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 arg2
= wxString_in_helper(obj1
);
17923 if (arg2
== NULL
) SWIG_fail
;
17927 arg3
= (long)(SWIG_As_long(obj2
));
17928 if (SWIG_arg_fail(3)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17954 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17957 wxString
*arg2
= 0 ;
17960 bool temp2
= false ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "key",(char *) "value", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 arg2
= wxString_in_helper(obj1
);
17973 if (arg2
== NULL
) SWIG_fail
;
17977 arg3
= (double)(SWIG_As_double(obj2
));
17978 if (SWIG_arg_fail(3)) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18004 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18007 wxString
*arg2
= 0 ;
18010 bool temp2
= false ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 PyObject
* obj2
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "key",(char *) "value", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 arg2
= wxString_in_helper(obj1
);
18023 if (arg2
== NULL
) SWIG_fail
;
18027 arg3
= (bool)(SWIG_As_bool(obj2
));
18028 if (SWIG_arg_fail(3)) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18054 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18057 bool arg2
= (bool) false ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "currentOnly", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 arg2
= (bool)(SWIG_As_bool(obj1
));
18071 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (bool)(arg1
)->Flush(arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18090 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18093 wxString
*arg2
= 0 ;
18094 wxString
*arg3
= 0 ;
18096 bool temp2
= false ;
18097 bool temp3
= false ;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 PyObject
* obj2
= 0 ;
18101 char *kwnames
[] = {
18102 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18107 if (SWIG_arg_fail(1)) SWIG_fail
;
18109 arg2
= wxString_in_helper(obj1
);
18110 if (arg2
== NULL
) SWIG_fail
;
18114 arg3
= wxString_in_helper(obj2
);
18115 if (arg3
== NULL
) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18150 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18153 wxString
*arg2
= 0 ;
18154 wxString
*arg3
= 0 ;
18156 bool temp2
= false ;
18157 bool temp3
= false ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 arg2
= wxString_in_helper(obj1
);
18170 if (arg2
== NULL
) SWIG_fail
;
18174 arg3
= wxString_in_helper(obj2
);
18175 if (arg3
== NULL
) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18210 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18213 wxString
*arg2
= 0 ;
18214 bool arg3
= (bool) true ;
18216 bool temp2
= false ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 PyObject
* obj2
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18228 arg2
= wxString_in_helper(obj1
);
18229 if (arg2
== NULL
) SWIG_fail
;
18234 arg3
= (bool)(SWIG_As_bool(obj2
));
18235 if (SWIG_arg_fail(3)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18265 wxString
*arg2
= 0 ;
18267 bool temp2
= false ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "key", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18278 arg2
= wxString_in_helper(obj1
);
18279 if (arg2
== NULL
) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18306 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18310 PyObject
* obj0
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (bool)(arg1
)->DeleteAll();
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18334 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18337 bool arg2
= (bool) true ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "doIt", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18349 arg2
= (bool)(SWIG_As_bool(obj1
));
18350 if (SWIG_arg_fail(2)) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetExpandEnvVars(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18395 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18398 bool arg2
= (bool) true ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "doIt", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 arg2
= (bool)(SWIG_As_bool(obj1
));
18411 if (SWIG_arg_fail(2)) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->SetRecordDefaults(arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18456 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18459 wxString
*arg2
= 0 ;
18461 bool temp2
= false ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "str", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 arg2
= wxString_in_helper(obj1
);
18473 if (arg2
== NULL
) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18504 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18536 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18568 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18571 wxString
*arg2
= 0 ;
18572 bool temp2
= false ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self",(char *) "appName", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18581 if (SWIG_arg_fail(1)) SWIG_fail
;
18583 arg2
= wxString_in_helper(obj1
);
18584 if (arg2
== NULL
) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->SetAppName((wxString
const &)*arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18612 wxString
*arg2
= 0 ;
18613 bool temp2
= false ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "vendorName", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 arg2
= wxString_in_helper(obj1
);
18625 if (arg2
== NULL
) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self",(char *) "style", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18662 if (SWIG_arg_fail(1)) SWIG_fail
;
18664 arg2
= (long)(SWIG_As_long(obj1
));
18665 if (SWIG_arg_fail(2)) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 (arg1
)->SetStyle(arg2
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 Py_INCREF(Py_None
); resultobj
= Py_None
;
18681 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_From_long((long)(result
));
18709 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18712 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18714 return Py_BuildValue((char *)"");
18716 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18719 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18720 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18721 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18726 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18728 bool temp1
= false ;
18729 bool temp2
= false ;
18730 bool temp3
= false ;
18731 bool temp4
= false ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 PyObject
* obj2
= 0 ;
18735 PyObject
* obj3
= 0 ;
18736 PyObject
* obj4
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18744 arg1
= wxString_in_helper(obj0
);
18745 if (arg1
== NULL
) SWIG_fail
;
18751 arg2
= wxString_in_helper(obj1
);
18752 if (arg2
== NULL
) SWIG_fail
;
18758 arg3
= wxString_in_helper(obj2
);
18759 if (arg3
== NULL
) SWIG_fail
;
18765 arg4
= wxString_in_helper(obj3
);
18766 if (arg4
== NULL
) SWIG_fail
;
18772 arg5
= (long)(SWIG_As_long(obj4
));
18773 if (SWIG_arg_fail(5)) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18822 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxConfig
*arg1
= (wxConfig
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18832 if (SWIG_arg_fail(1)) SWIG_fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 Py_INCREF(Py_None
); resultobj
= Py_None
;
18847 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18850 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18852 return Py_BuildValue((char *)"");
18854 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18857 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18858 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18859 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18860 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18861 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18862 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18863 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18864 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18865 wxFileConfig
*result
;
18866 bool temp1
= false ;
18867 bool temp2
= false ;
18868 bool temp3
= false ;
18869 bool temp4
= false ;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 PyObject
* obj2
= 0 ;
18873 PyObject
* obj3
= 0 ;
18874 PyObject
* obj4
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18882 arg1
= wxString_in_helper(obj0
);
18883 if (arg1
== NULL
) SWIG_fail
;
18889 arg2
= wxString_in_helper(obj1
);
18890 if (arg2
== NULL
) SWIG_fail
;
18896 arg3
= wxString_in_helper(obj2
);
18897 if (arg3
== NULL
) SWIG_fail
;
18903 arg4
= wxString_in_helper(obj3
);
18904 if (arg4
== NULL
) SWIG_fail
;
18910 arg5
= (long)(SWIG_As_long(obj4
));
18911 if (SWIG_arg_fail(5)) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18960 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18988 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18990 return Py_BuildValue((char *)"");
18992 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18995 wxString
*arg2
= 0 ;
18996 wxConfigPathChanger
*result
;
18997 bool temp2
= false ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "config",(char *) "entry", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19008 arg2
= wxString_in_helper(obj1
);
19009 if (arg2
== NULL
) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19034 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19075 result
= (wxString
*) &_result_ref
;
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19094 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19097 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19099 return Py_BuildValue((char *)"");
19101 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxString
*arg1
= 0 ;
19105 bool temp1
= false ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "sz", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19113 arg1
= wxString_in_helper(obj0
);
19114 if (arg1
== NULL
) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19145 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19146 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19151 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19156 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19158 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19165 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19166 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19171 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19176 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19178 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19185 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxDateTime::Country arg1
;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "country", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19195 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19196 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxDateTime::Country result
;
19215 char *kwnames
[] = {
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_From_int((result
));
19234 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19238 PyObject
* obj0
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "country", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19246 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "cal", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19278 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_From_int((int)(result
));
19298 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "year", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19309 arg1
= (int)(SWIG_As_int(obj0
));
19310 if (SWIG_arg_fail(1)) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_From_int((int)(result
));
19328 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19331 wxDateTime::Month result
;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "cal", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19340 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19341 if (SWIG_arg_fail(1)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_From_int((result
));
19358 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 int arg1
= (int) wxDateTime::Inv_Year
;
19361 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "year",(char *) "cal", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 arg1
= (int)(SWIG_As_int(obj0
));
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19378 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19379 if (SWIG_arg_fail(2)) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19398 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 int arg1
= (int) wxDateTime::Inv_Year
;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "year", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19410 arg1
= (int)(SWIG_As_int(obj0
));
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (int)wxDateTime::GetCentury(arg1
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_From_int((int)(result
));
19430 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19433 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "year",(char *) "cal", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 arg1
= (int)(SWIG_As_int(obj0
));
19444 if (SWIG_arg_fail(1)) SWIG_fail
;
19448 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19449 if (SWIG_arg_fail(2)) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_From_int((int)(result
));
19468 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxDateTime::Month arg1
;
19471 int arg2
= (int) wxDateTime::Inv_Year
;
19472 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "month",(char *) "year",(char *) "cal", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19483 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19484 if (SWIG_arg_fail(1)) SWIG_fail
;
19488 arg2
= (int)(SWIG_As_int(obj1
));
19489 if (SWIG_arg_fail(2)) SWIG_fail
;
19494 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19495 if (SWIG_arg_fail(3)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_From_int((int)(result
));
19514 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
;
19516 wxDateTime::Month arg1
;
19517 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "month",(char *) "flags", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19527 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19532 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19533 if (SWIG_arg_fail(2)) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19556 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxDateTime::WeekDay arg1
;
19559 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "weekday",(char *) "flags", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19575 if (SWIG_arg_fail(2)) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19598 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19601 char *kwnames
[] = {
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (PyObject
*)DateTime_GetAmPmStrings();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= result
;
19620 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 int arg1
= (int) wxDateTime::Inv_Year
;
19623 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "year",(char *) "country", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19634 arg1
= (int)(SWIG_As_int(obj0
));
19635 if (SWIG_arg_fail(1)) SWIG_fail
;
19640 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19641 if (SWIG_arg_fail(2)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19660 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 int arg1
= (int) wxDateTime::Inv_Year
;
19663 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "year",(char *) "country", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 arg1
= (int)(SWIG_As_int(obj0
));
19675 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19681 if (SWIG_arg_fail(2)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 wxDateTime
* resultptr
;
19693 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19702 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 int arg1
= (int) wxDateTime::Inv_Year
;
19705 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "year",(char *) "country", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19716 arg1
= (int)(SWIG_As_int(obj0
));
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19722 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19723 if (SWIG_arg_fail(2)) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19734 wxDateTime
* resultptr
;
19735 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19744 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19747 char *kwnames
[] = {
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= wxDateTime::Now();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 wxDateTime
* resultptr
;
19761 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19770 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19773 char *kwnames
[] = {
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= wxDateTime::UNow();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 wxDateTime
* resultptr
;
19787 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19796 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19799 char *kwnames
[] = {
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= wxDateTime::Today();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19812 wxDateTime
* resultptr
;
19813 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19822 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*result
;
19825 char *kwnames
[] = {
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (wxDateTime
*)new wxDateTime();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19844 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19847 wxDateTime
*result
;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "timet", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19855 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (wxDateTime
*)new wxDateTime(arg1
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19872 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19875 wxDateTime
*result
;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "jdn", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19883 arg1
= (double)(SWIG_As_double(obj0
));
19884 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (wxDateTime
*)new wxDateTime(arg1
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19900 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19903 int arg2
= (int) 0 ;
19904 int arg3
= (int) 0 ;
19905 int arg4
= (int) 0 ;
19906 wxDateTime
*result
;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 PyObject
* obj3
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19917 arg1
= (int)(SWIG_As_int(obj0
));
19918 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 arg2
= (int)(SWIG_As_int(obj1
));
19923 if (SWIG_arg_fail(2)) SWIG_fail
;
19928 arg3
= (int)(SWIG_As_int(obj2
));
19929 if (SWIG_arg_fail(3)) SWIG_fail
;
19934 arg4
= (int)(SWIG_As_int(obj3
));
19935 if (SWIG_arg_fail(4)) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19952 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19955 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19956 int arg3
= (int) wxDateTime::Inv_Year
;
19957 int arg4
= (int) 0 ;
19958 int arg5
= (int) 0 ;
19959 int arg6
= (int) 0 ;
19960 int arg7
= (int) 0 ;
19961 wxDateTime
*result
;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 PyObject
* obj2
= 0 ;
19965 PyObject
* obj3
= 0 ;
19966 PyObject
* obj4
= 0 ;
19967 PyObject
* obj5
= 0 ;
19968 PyObject
* obj6
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19975 arg1
= (int)(SWIG_As_int(obj0
));
19976 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19981 if (SWIG_arg_fail(2)) SWIG_fail
;
19986 arg3
= (int)(SWIG_As_int(obj2
));
19987 if (SWIG_arg_fail(3)) SWIG_fail
;
19992 arg4
= (int)(SWIG_As_int(obj3
));
19993 if (SWIG_arg_fail(4)) SWIG_fail
;
19998 arg5
= (int)(SWIG_As_int(obj4
));
19999 if (SWIG_arg_fail(5)) SWIG_fail
;
20004 arg6
= (int)(SWIG_As_int(obj5
));
20005 if (SWIG_arg_fail(6)) SWIG_fail
;
20010 arg7
= (int)(SWIG_As_int(obj6
));
20011 if (SWIG_arg_fail(7)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20028 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20038 if (SWIG_arg_fail(1)) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 Py_INCREF(Py_None
); resultobj
= Py_None
;
20053 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20056 wxDateTime
*result
;
20057 PyObject
* obj0
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20064 if (SWIG_arg_fail(1)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20069 result
= (wxDateTime
*) &_result_ref
;
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20082 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20086 wxDateTime
*result
;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self",(char *) "timet", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail
;
20097 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
20098 if (SWIG_arg_fail(2)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20104 result
= (wxDateTime
*) &_result_ref
;
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20117 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20121 wxDateTime
*result
;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "jdn", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 arg2
= (double)(SWIG_As_double(obj1
));
20133 if (SWIG_arg_fail(2)) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20139 result
= (wxDateTime
*) &_result_ref
;
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20152 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20156 int arg3
= (int) 0 ;
20157 int arg4
= (int) 0 ;
20158 int arg5
= (int) 0 ;
20159 wxDateTime
*result
;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 PyObject
* obj2
= 0 ;
20163 PyObject
* obj3
= 0 ;
20164 PyObject
* obj4
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail
;
20173 arg2
= (int)(SWIG_As_int(obj1
));
20174 if (SWIG_arg_fail(2)) SWIG_fail
;
20178 arg3
= (int)(SWIG_As_int(obj2
));
20179 if (SWIG_arg_fail(3)) SWIG_fail
;
20184 arg4
= (int)(SWIG_As_int(obj3
));
20185 if (SWIG_arg_fail(4)) SWIG_fail
;
20190 arg5
= (int)(SWIG_As_int(obj4
));
20191 if (SWIG_arg_fail(5)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20198 result
= (wxDateTime
*) &_result_ref
;
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20211 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20215 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20216 int arg4
= (int) wxDateTime::Inv_Year
;
20217 int arg5
= (int) 0 ;
20218 int arg6
= (int) 0 ;
20219 int arg7
= (int) 0 ;
20220 int arg8
= (int) 0 ;
20221 wxDateTime
*result
;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 PyObject
* obj2
= 0 ;
20225 PyObject
* obj3
= 0 ;
20226 PyObject
* obj4
= 0 ;
20227 PyObject
* obj5
= 0 ;
20228 PyObject
* obj6
= 0 ;
20229 PyObject
* obj7
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 arg2
= (int)(SWIG_As_int(obj1
));
20239 if (SWIG_arg_fail(2)) SWIG_fail
;
20243 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20244 if (SWIG_arg_fail(3)) SWIG_fail
;
20249 arg4
= (int)(SWIG_As_int(obj3
));
20250 if (SWIG_arg_fail(4)) SWIG_fail
;
20255 arg5
= (int)(SWIG_As_int(obj4
));
20256 if (SWIG_arg_fail(5)) SWIG_fail
;
20261 arg6
= (int)(SWIG_As_int(obj5
));
20262 if (SWIG_arg_fail(6)) SWIG_fail
;
20267 arg7
= (int)(SWIG_As_int(obj6
));
20268 if (SWIG_arg_fail(7)) SWIG_fail
;
20273 arg8
= (int)(SWIG_As_int(obj7
));
20274 if (SWIG_arg_fail(8)) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20281 result
= (wxDateTime
*) &_result_ref
;
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20294 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20297 wxDateTime
*result
;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20305 if (SWIG_arg_fail(1)) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20310 result
= (wxDateTime
*) &_result_ref
;
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20323 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20327 wxDateTime
*result
;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "year", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20336 if (SWIG_arg_fail(1)) SWIG_fail
;
20338 arg2
= (int)(SWIG_As_int(obj1
));
20339 if (SWIG_arg_fail(2)) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20345 result
= (wxDateTime
*) &_result_ref
;
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20358 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20361 wxDateTime::Month arg2
;
20362 wxDateTime
*result
;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "month", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail
;
20373 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20374 if (SWIG_arg_fail(2)) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20380 result
= (wxDateTime
*) &_result_ref
;
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20393 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20397 wxDateTime
*result
;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "day", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20408 arg2
= (int)(SWIG_As_int(obj1
));
20409 if (SWIG_arg_fail(2)) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20415 result
= (wxDateTime
*) &_result_ref
;
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20428 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20432 wxDateTime
*result
;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "hour", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20441 if (SWIG_arg_fail(1)) SWIG_fail
;
20443 arg2
= (int)(SWIG_As_int(obj1
));
20444 if (SWIG_arg_fail(2)) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20450 result
= (wxDateTime
*) &_result_ref
;
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20463 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20467 wxDateTime
*result
;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "minute", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20476 if (SWIG_arg_fail(1)) SWIG_fail
;
20478 arg2
= (int)(SWIG_As_int(obj1
));
20479 if (SWIG_arg_fail(2)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20485 result
= (wxDateTime
*) &_result_ref
;
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20498 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20502 wxDateTime
*result
;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self",(char *) "second", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail
;
20513 arg2
= (int)(SWIG_As_int(obj1
));
20514 if (SWIG_arg_fail(2)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20520 result
= (wxDateTime
*) &_result_ref
;
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20533 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20537 wxDateTime
*result
;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "millisecond", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20546 if (SWIG_arg_fail(1)) SWIG_fail
;
20548 arg2
= (int)(SWIG_As_int(obj1
));
20549 if (SWIG_arg_fail(2)) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20555 result
= (wxDateTime
*) &_result_ref
;
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20568 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20571 wxDateTime::WeekDay arg2
;
20572 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20573 wxDateTime
*result
;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20583 if (SWIG_arg_fail(1)) SWIG_fail
;
20585 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20586 if (SWIG_arg_fail(2)) SWIG_fail
;
20590 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20591 if (SWIG_arg_fail(3)) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20598 result
= (wxDateTime
*) &_result_ref
;
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20611 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20614 wxDateTime::WeekDay arg2
;
20615 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 PyObject
* obj2
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20629 if (SWIG_arg_fail(2)) SWIG_fail
;
20633 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20634 if (SWIG_arg_fail(3)) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 wxDateTime
* resultptr
;
20646 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20655 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20658 wxDateTime::WeekDay arg2
;
20659 wxDateTime
*result
;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self",(char *) "weekday", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20670 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20671 if (SWIG_arg_fail(2)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20677 result
= (wxDateTime
*) &_result_ref
;
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20690 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20693 wxDateTime::WeekDay arg2
;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "weekday", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20706 if (SWIG_arg_fail(2)) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 wxDateTime
* resultptr
;
20717 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20726 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20729 wxDateTime::WeekDay arg2
;
20730 wxDateTime
*result
;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "weekday", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20739 if (SWIG_arg_fail(1)) SWIG_fail
;
20741 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20742 if (SWIG_arg_fail(2)) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20748 result
= (wxDateTime
*) &_result_ref
;
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20761 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20764 wxDateTime::WeekDay arg2
;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "weekday", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) 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
;
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20787 wxDateTime
* resultptr
;
20788 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20797 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20800 wxDateTime::WeekDay arg2
;
20801 int arg3
= (int) 1 ;
20802 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20803 int arg5
= (int) wxDateTime::Inv_Year
;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 PyObject
* obj2
= 0 ;
20808 PyObject
* obj3
= 0 ;
20809 PyObject
* obj4
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail
;
20818 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20819 if (SWIG_arg_fail(2)) SWIG_fail
;
20823 arg3
= (int)(SWIG_As_int(obj2
));
20824 if (SWIG_arg_fail(3)) SWIG_fail
;
20829 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20830 if (SWIG_arg_fail(4)) SWIG_fail
;
20835 arg5
= (int)(SWIG_As_int(obj4
));
20836 if (SWIG_arg_fail(5)) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20855 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 wxDateTime::WeekDay arg2
;
20859 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20860 int arg4
= (int) wxDateTime::Inv_Year
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 PyObject
* obj2
= 0 ;
20865 PyObject
* obj3
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20872 if (SWIG_arg_fail(1)) SWIG_fail
;
20874 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20875 if (SWIG_arg_fail(2)) SWIG_fail
;
20879 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20880 if (SWIG_arg_fail(3)) SWIG_fail
;
20885 arg4
= (int)(SWIG_As_int(obj3
));
20886 if (SWIG_arg_fail(4)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20905 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20908 wxDateTime::WeekDay arg2
;
20909 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20910 int arg4
= (int) wxDateTime::Inv_Year
;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 PyObject
* obj2
= 0 ;
20915 PyObject
* obj3
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20924 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20925 if (SWIG_arg_fail(2)) SWIG_fail
;
20929 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20930 if (SWIG_arg_fail(3)) SWIG_fail
;
20935 arg4
= (int)(SWIG_As_int(obj3
));
20936 if (SWIG_arg_fail(4)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 wxDateTime
* resultptr
;
20948 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20957 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20961 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20962 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 PyObject
* obj3
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail
;
20976 arg2
= (int)(SWIG_As_int(obj1
));
20977 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20982 if (SWIG_arg_fail(3)) SWIG_fail
;
20987 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20988 if (SWIG_arg_fail(4)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21007 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21011 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21012 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 PyObject
* obj2
= 0 ;
21017 PyObject
* obj3
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 arg2
= (int)(SWIG_As_int(obj1
));
21027 if (SWIG_arg_fail(2)) SWIG_fail
;
21031 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
21032 if (SWIG_arg_fail(3)) SWIG_fail
;
21037 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
21038 if (SWIG_arg_fail(4)) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 wxDateTime
* resultptr
;
21050 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21059 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21063 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 PyObject
* obj2
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21074 arg1
= (int)(SWIG_As_int(obj0
));
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 arg2
= (int)(SWIG_As_int(obj1
));
21079 if (SWIG_arg_fail(2)) SWIG_fail
;
21083 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
21084 if (SWIG_arg_fail(3)) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 wxDateTime
* resultptr
;
21096 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21105 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21108 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21109 int arg3
= (int) wxDateTime::Inv_Year
;
21110 wxDateTime
*result
;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 PyObject
* obj2
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "month",(char *) "year", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21124 if (SWIG_arg_fail(2)) SWIG_fail
;
21129 arg3
= (int)(SWIG_As_int(obj2
));
21130 if (SWIG_arg_fail(3)) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21137 result
= (wxDateTime
*) &_result_ref
;
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21150 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21153 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21154 int arg3
= (int) wxDateTime::Inv_Year
;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "month",(char *) "year", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21168 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21169 if (SWIG_arg_fail(2)) SWIG_fail
;
21174 arg3
= (int)(SWIG_As_int(obj2
));
21175 if (SWIG_arg_fail(3)) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21186 wxDateTime
* resultptr
;
21187 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21196 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21200 wxDateTime
*result
;
21201 PyObject
* obj0
= 0 ;
21202 PyObject
* obj1
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self",(char *) "yday", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21209 if (SWIG_arg_fail(1)) SWIG_fail
;
21211 arg2
= (int)(SWIG_As_int(obj1
));
21212 if (SWIG_arg_fail(2)) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21218 result
= (wxDateTime
*) &_result_ref
;
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21231 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "yday", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail
;
21246 arg2
= (int)(SWIG_As_int(obj1
));
21247 if (SWIG_arg_fail(2)) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (arg1
)->GetYearDay(arg2
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 wxDateTime
* resultptr
;
21258 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21267 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21278 if (SWIG_arg_fail(1)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (double)(arg1
)->GetJulianDayNumber();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_From_double((double)(result
));
21295 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (double)(arg1
)->GetJDN();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_From_double((double)(result
));
21323 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_From_double((double)(result
));
21351 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (double)(arg1
)->GetMJD();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_From_double((double)(result
));
21379 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (double)(arg1
)->GetRataDie();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= SWIG_From_double((double)(result
));
21407 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21410 wxDateTime::TimeZone
*arg2
= 0 ;
21411 bool arg3
= (bool) false ;
21413 bool temp2
= false ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 PyObject
* obj2
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21430 arg3
= (bool)(SWIG_As_bool(obj2
));
21431 if (SWIG_arg_fail(3)) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 wxDateTime
* resultptr
;
21443 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21447 if (temp2
) delete arg2
;
21452 if (temp2
) delete arg2
;
21458 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 wxDateTime::TimeZone
*arg2
= 0 ;
21462 bool arg3
= (bool) false ;
21463 wxDateTime
*result
;
21464 bool temp2
= false ;
21465 PyObject
* obj0
= 0 ;
21466 PyObject
* obj1
= 0 ;
21467 PyObject
* obj2
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21474 if (SWIG_arg_fail(1)) SWIG_fail
;
21476 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21481 arg3
= (bool)(SWIG_As_bool(obj2
));
21482 if (SWIG_arg_fail(3)) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21489 result
= (wxDateTime
*) &_result_ref
;
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21497 if (temp2
) delete arg2
;
21502 if (temp2
) delete arg2
;
21508 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21511 bool arg2
= (bool) false ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "noDST", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail
;
21524 arg2
= (bool)(SWIG_As_bool(obj1
));
21525 if (SWIG_arg_fail(2)) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (arg1
)->ToGMT(arg2
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21536 wxDateTime
* resultptr
;
21537 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21546 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21549 bool arg2
= (bool) false ;
21550 wxDateTime
*result
;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self",(char *) "noDST", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21559 if (SWIG_arg_fail(1)) SWIG_fail
;
21562 arg2
= (bool)(SWIG_As_bool(obj1
));
21563 if (SWIG_arg_fail(2)) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21570 result
= (wxDateTime
*) &_result_ref
;
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21583 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21586 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "country", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21599 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21600 if (SWIG_arg_fail(2)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_From_int((int)(result
));
21619 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21630 if (SWIG_arg_fail(1)) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21647 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21675 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21678 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21679 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21681 bool temp2
= false ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "tz", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21693 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_From_int((int)(result
));
21708 if (temp2
) delete arg2
;
21713 if (temp2
) delete arg2
;
21719 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21722 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21723 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21724 wxDateTime::Month result
;
21725 bool temp2
= false ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "tz", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21734 if (SWIG_arg_fail(1)) SWIG_fail
;
21737 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_From_int((result
));
21750 if (temp2
) delete arg2
;
21755 if (temp2
) delete arg2
;
21761 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21764 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21765 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21767 bool temp2
= false ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "tz", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21776 if (SWIG_arg_fail(1)) SWIG_fail
;
21779 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_From_int((int)(result
));
21794 if (temp2
) delete arg2
;
21799 if (temp2
) delete arg2
;
21805 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21808 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21809 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21810 wxDateTime::WeekDay result
;
21811 bool temp2
= false ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 char *kwnames
[] = {
21815 (char *) "self",(char *) "tz", NULL
21818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21820 if (SWIG_arg_fail(1)) SWIG_fail
;
21823 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_From_int((result
));
21836 if (temp2
) delete arg2
;
21841 if (temp2
) delete arg2
;
21847 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21850 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21851 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21853 bool temp2
= false ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "tz", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_From_int((int)(result
));
21880 if (temp2
) delete arg2
;
21885 if (temp2
) delete arg2
;
21891 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21894 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21895 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21897 bool temp2
= false ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self",(char *) "tz", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_From_int((int)(result
));
21924 if (temp2
) delete arg2
;
21929 if (temp2
) delete arg2
;
21935 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21938 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21939 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21941 bool temp2
= false ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "tz", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21953 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= SWIG_From_int((int)(result
));
21968 if (temp2
) delete arg2
;
21973 if (temp2
) delete arg2
;
21979 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21982 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21983 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21985 bool temp2
= false ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "tz", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail
;
21997 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_From_int((int)(result
));
22012 if (temp2
) delete arg2
;
22017 if (temp2
) delete arg2
;
22023 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22026 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22027 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22029 bool temp2
= false ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "tz", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) 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
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_From_int((int)(result
));
22056 if (temp2
) delete arg2
;
22061 if (temp2
) delete arg2
;
22067 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22070 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22071 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22072 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22074 bool temp3
= false ;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 PyObject
* obj2
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "flags",(char *) "tz", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22084 if (SWIG_arg_fail(1)) SWIG_fail
;
22087 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22088 if (SWIG_arg_fail(2)) SWIG_fail
;
22093 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_From_int((int)(result
));
22108 if (temp3
) delete arg3
;
22113 if (temp3
) delete arg3
;
22119 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22122 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22123 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22124 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22126 bool temp3
= false ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "flags",(char *) "tz", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22136 if (SWIG_arg_fail(1)) SWIG_fail
;
22139 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22140 if (SWIG_arg_fail(2)) SWIG_fail
;
22145 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_From_int((int)(result
));
22160 if (temp3
) delete arg3
;
22165 if (temp3
) delete arg3
;
22171 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22174 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self",(char *) "country", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail
;
22187 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22188 if (SWIG_arg_fail(2)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22207 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22210 wxDateTime
*arg2
= 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self",(char *) "datetime", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22223 if (SWIG_arg_fail(2)) SWIG_fail
;
22224 if (arg2
== NULL
) {
22225 SWIG_null_ref("wxDateTime");
22227 if (SWIG_arg_fail(2)) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22245 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22248 wxDateTime
*arg2
= 0 ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self",(char *) "datetime", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail
;
22260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(2)) SWIG_fail
;
22262 if (arg2
== NULL
) {
22263 SWIG_null_ref("wxDateTime");
22265 if (SWIG_arg_fail(2)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22283 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22286 wxDateTime
*arg2
= 0 ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self",(char *) "datetime", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(2)) SWIG_fail
;
22300 if (arg2
== NULL
) {
22301 SWIG_null_ref("wxDateTime");
22303 if (SWIG_arg_fail(2)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22321 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22324 wxDateTime
*arg2
= 0 ;
22325 wxDateTime
*arg3
= 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 PyObject
* obj2
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "t1",(char *) "t2", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail
;
22338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22339 if (SWIG_arg_fail(2)) SWIG_fail
;
22340 if (arg2
== NULL
) {
22341 SWIG_null_ref("wxDateTime");
22343 if (SWIG_arg_fail(2)) SWIG_fail
;
22346 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(3)) SWIG_fail
;
22348 if (arg3
== NULL
) {
22349 SWIG_null_ref("wxDateTime");
22351 if (SWIG_arg_fail(3)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22369 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22372 wxDateTime
*arg2
= 0 ;
22373 wxDateTime
*arg3
= 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 PyObject
* obj2
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self",(char *) "t1",(char *) "t2", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22387 if (SWIG_arg_fail(2)) SWIG_fail
;
22388 if (arg2
== NULL
) {
22389 SWIG_null_ref("wxDateTime");
22391 if (SWIG_arg_fail(2)) SWIG_fail
;
22394 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22395 if (SWIG_arg_fail(3)) SWIG_fail
;
22396 if (arg3
== NULL
) {
22397 SWIG_null_ref("wxDateTime");
22399 if (SWIG_arg_fail(3)) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22417 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22420 wxDateTime
*arg2
= 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self",(char *) "dt", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22430 if (SWIG_arg_fail(1)) SWIG_fail
;
22432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22433 if (SWIG_arg_fail(2)) SWIG_fail
;
22434 if (arg2
== NULL
) {
22435 SWIG_null_ref("wxDateTime");
22437 if (SWIG_arg_fail(2)) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22455 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22458 wxDateTime
*arg2
= 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "dt", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail
;
22470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22471 if (SWIG_arg_fail(2)) SWIG_fail
;
22472 if (arg2
== NULL
) {
22473 SWIG_null_ref("wxDateTime");
22475 if (SWIG_arg_fail(2)) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22493 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22496 wxDateTime
*arg2
= 0 ;
22497 wxTimeSpan
*arg3
= 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self",(char *) "dt",(char *) "ts", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail
;
22510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22511 if (SWIG_arg_fail(2)) SWIG_fail
;
22512 if (arg2
== NULL
) {
22513 SWIG_null_ref("wxDateTime");
22515 if (SWIG_arg_fail(2)) SWIG_fail
;
22518 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22519 if (SWIG_arg_fail(3)) SWIG_fail
;
22520 if (arg3
== NULL
) {
22521 SWIG_null_ref("wxTimeSpan");
22523 if (SWIG_arg_fail(3)) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22541 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22544 wxTimeSpan
*arg2
= 0 ;
22545 wxDateTime
*result
;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "diff", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(2)) SWIG_fail
;
22558 if (arg2
== NULL
) {
22559 SWIG_null_ref("wxTimeSpan");
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22567 result
= (wxDateTime
*) &_result_ref
;
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22580 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22583 wxDateSpan
*arg2
= 0 ;
22584 wxDateTime
*result
;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "diff", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg2
== NULL
) {
22598 SWIG_null_ref("wxDateSpan");
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22606 result
= (wxDateTime
*) &_result_ref
;
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22619 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22622 wxTimeSpan
*arg2
= 0 ;
22623 wxDateTime
*result
;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "diff", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22635 if (SWIG_arg_fail(2)) SWIG_fail
;
22636 if (arg2
== NULL
) {
22637 SWIG_null_ref("wxTimeSpan");
22639 if (SWIG_arg_fail(2)) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22645 result
= (wxDateTime
*) &_result_ref
;
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22658 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22661 wxDateSpan
*arg2
= 0 ;
22662 wxDateTime
*result
;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "diff", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail
;
22673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22674 if (SWIG_arg_fail(2)) SWIG_fail
;
22675 if (arg2
== NULL
) {
22676 SWIG_null_ref("wxDateSpan");
22678 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22684 result
= (wxDateTime
*) &_result_ref
;
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22697 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22700 wxDateTime
*arg2
= 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "dt", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail
;
22712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(2)) SWIG_fail
;
22714 if (arg2
== NULL
) {
22715 SWIG_null_ref("wxDateTime");
22717 if (SWIG_arg_fail(2)) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 wxTimeSpan
* resultptr
;
22728 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22737 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22738 PyObject
*resultobj
;
22739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22740 wxTimeSpan
*arg2
= 0 ;
22741 wxDateTime
*result
;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22745 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22747 if (SWIG_arg_fail(1)) SWIG_fail
;
22749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(2)) SWIG_fail
;
22751 if (arg2
== NULL
) {
22752 SWIG_null_ref("wxTimeSpan");
22754 if (SWIG_arg_fail(2)) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22760 result
= (wxDateTime
*) &_result_ref
;
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22773 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22774 PyObject
*resultobj
;
22775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22776 wxDateSpan
*arg2
= 0 ;
22777 wxDateTime
*result
;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22781 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22783 if (SWIG_arg_fail(1)) SWIG_fail
;
22785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(2)) SWIG_fail
;
22787 if (arg2
== NULL
) {
22788 SWIG_null_ref("wxDateSpan");
22790 if (SWIG_arg_fail(2)) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22796 result
= (wxDateTime
*) &_result_ref
;
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22809 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22814 argc
= PyObject_Length(args
);
22815 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22816 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22822 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22832 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22840 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22848 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22858 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22866 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22871 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22876 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22877 PyObject
*resultobj
;
22878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22879 wxTimeSpan
*arg2
= 0 ;
22880 wxDateTime
*result
;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22884 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22889 if (SWIG_arg_fail(2)) SWIG_fail
;
22890 if (arg2
== NULL
) {
22891 SWIG_null_ref("wxTimeSpan");
22893 if (SWIG_arg_fail(2)) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22899 result
= (wxDateTime
*) &_result_ref
;
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22912 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22913 PyObject
*resultobj
;
22914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22915 wxDateSpan
*arg2
= 0 ;
22916 wxDateTime
*result
;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22920 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22925 if (SWIG_arg_fail(2)) SWIG_fail
;
22926 if (arg2
== NULL
) {
22927 SWIG_null_ref("wxDateSpan");
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22935 result
= (wxDateTime
*) &_result_ref
;
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22948 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22953 argc
= PyObject_Length(args
);
22954 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22955 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22961 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22971 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22979 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23005 return _wrap_DateTime___isub____SWIG_1(self
,args
);
23010 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
23015 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
23016 PyObject
*resultobj
;
23017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23018 wxTimeSpan
*arg2
= 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23023 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23025 if (SWIG_arg_fail(1)) SWIG_fail
;
23027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(2)) SWIG_fail
;
23029 if (arg2
== NULL
) {
23030 SWIG_null_ref("wxTimeSpan");
23032 if (SWIG_arg_fail(2)) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 wxDateTime
* resultptr
;
23043 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23052 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
23053 PyObject
*resultobj
;
23054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23055 wxDateSpan
*arg2
= 0 ;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23060 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23065 if (SWIG_arg_fail(2)) SWIG_fail
;
23066 if (arg2
== NULL
) {
23067 SWIG_null_ref("wxDateSpan");
23069 if (SWIG_arg_fail(2)) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 wxDateTime
* resultptr
;
23080 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23089 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
23094 argc
= PyObject_Length(args
);
23095 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23096 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23102 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23112 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23120 return _wrap_DateTime___add____SWIG_0(self
,args
);
23128 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23138 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23146 return _wrap_DateTime___add____SWIG_1(self
,args
);
23151 Py_INCREF(Py_NotImplemented
);
23152 return Py_NotImplemented
;
23156 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23157 PyObject
*resultobj
;
23158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23159 wxDateTime
*arg2
= 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23164 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23166 if (SWIG_arg_fail(1)) SWIG_fail
;
23168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23169 if (SWIG_arg_fail(2)) SWIG_fail
;
23170 if (arg2
== NULL
) {
23171 SWIG_null_ref("wxDateTime");
23173 if (SWIG_arg_fail(2)) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23183 wxTimeSpan
* resultptr
;
23184 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23193 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23194 PyObject
*resultobj
;
23195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23196 wxTimeSpan
*arg2
= 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23201 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(2)) SWIG_fail
;
23207 if (arg2
== NULL
) {
23208 SWIG_null_ref("wxTimeSpan");
23210 if (SWIG_arg_fail(2)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 wxDateTime
* resultptr
;
23221 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23230 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23231 PyObject
*resultobj
;
23232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23233 wxDateSpan
*arg2
= 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23238 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail
;
23242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23243 if (SWIG_arg_fail(2)) SWIG_fail
;
23244 if (arg2
== NULL
) {
23245 SWIG_null_ref("wxDateSpan");
23247 if (SWIG_arg_fail(2)) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 wxDateTime
* resultptr
;
23258 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23267 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23272 argc
= PyObject_Length(args
);
23273 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23274 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23280 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23290 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23298 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23306 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23316 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23324 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23332 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23342 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23350 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23355 Py_INCREF(Py_NotImplemented
);
23356 return Py_NotImplemented
;
23360 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23363 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self",(char *) "other", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23375 if (SWIG_arg_fail(2)) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23392 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23395 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self",(char *) "other", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23405 if (SWIG_arg_fail(1)) SWIG_fail
;
23406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23407 if (SWIG_arg_fail(2)) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23424 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23427 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "other", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail
;
23438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23439 if (SWIG_arg_fail(2)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23456 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23459 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "other", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23471 if (SWIG_arg_fail(2)) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23488 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23491 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "other", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail
;
23502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23503 if (SWIG_arg_fail(2)) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23520 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23523 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "other", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23535 if (SWIG_arg_fail(2)) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23552 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23555 wxString
*arg2
= 0 ;
23557 bool temp2
= false ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "date", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 arg2
= wxString_in_helper(obj1
);
23569 if (arg2
== NULL
) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_From_int((int)(result
));
23596 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23599 wxString
*arg2
= 0 ;
23600 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23602 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23603 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23605 bool temp2
= false ;
23606 bool temp3
= false ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 PyObject
* obj2
= 0 ;
23610 PyObject
* obj3
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23617 if (SWIG_arg_fail(1)) SWIG_fail
;
23619 arg2
= wxString_in_helper(obj1
);
23620 if (arg2
== NULL
) SWIG_fail
;
23625 arg3
= wxString_in_helper(obj2
);
23626 if (arg3
== NULL
) SWIG_fail
;
23632 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(4)) SWIG_fail
;
23634 if (arg4
== NULL
) {
23635 SWIG_null_ref("wxDateTime");
23637 if (SWIG_arg_fail(4)) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_From_int((int)(result
));
23672 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23675 wxString
*arg2
= 0 ;
23677 bool temp2
= false ;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self",(char *) "datetime", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23686 if (SWIG_arg_fail(1)) SWIG_fail
;
23688 arg2
= wxString_in_helper(obj1
);
23689 if (arg2
== NULL
) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= SWIG_From_int((int)(result
));
23716 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23719 wxString
*arg2
= 0 ;
23721 bool temp2
= false ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "date", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23730 if (SWIG_arg_fail(1)) SWIG_fail
;
23732 arg2
= wxString_in_helper(obj1
);
23733 if (arg2
== NULL
) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_From_int((int)(result
));
23760 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23763 wxString
*arg2
= 0 ;
23765 bool temp2
= false ;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "time", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23774 if (SWIG_arg_fail(1)) SWIG_fail
;
23776 arg2
= wxString_in_helper(obj1
);
23777 if (arg2
== NULL
) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_From_int((int)(result
));
23804 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23807 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23808 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23809 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23810 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23812 bool temp2
= false ;
23813 bool temp3
= false ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 PyObject
* obj2
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "format",(char *) "tz", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23823 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 arg2
= wxString_in_helper(obj1
);
23827 if (arg2
== NULL
) SWIG_fail
;
23833 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23856 if (temp3
) delete arg3
;
23865 if (temp3
) delete arg3
;
23871 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23882 if (SWIG_arg_fail(1)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23903 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23914 if (SWIG_arg_fail(1)) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23935 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23967 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23978 if (SWIG_arg_fail(1)) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23999 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
24001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24002 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
24004 return Py_BuildValue((char *)"");
24006 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "sec", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
24017 arg1
= (long)(SWIG_As_long(obj0
));
24018 if (SWIG_arg_fail(1)) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= wxTimeSpan::Seconds(arg1
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 wxTimeSpan
* resultptr
;
24029 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24038 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24041 char *kwnames
[] = {
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= wxTimeSpan::Second();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 wxTimeSpan
* resultptr
;
24055 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24064 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24068 PyObject
* obj0
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "min", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
24075 arg1
= (long)(SWIG_As_long(obj0
));
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= wxTimeSpan::Minutes(arg1
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24086 wxTimeSpan
* resultptr
;
24087 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24096 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24099 char *kwnames
[] = {
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= wxTimeSpan::Minute();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 wxTimeSpan
* resultptr
;
24113 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24122 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "hours", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24133 arg1
= (long)(SWIG_As_long(obj0
));
24134 if (SWIG_arg_fail(1)) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= wxTimeSpan::Hours(arg1
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 wxTimeSpan
* resultptr
;
24145 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24154 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24157 char *kwnames
[] = {
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= wxTimeSpan::Hour();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 wxTimeSpan
* resultptr
;
24171 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24180 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "days", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24191 arg1
= (long)(SWIG_As_long(obj0
));
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= wxTimeSpan::Days(arg1
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 wxTimeSpan
* resultptr
;
24203 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24212 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24215 char *kwnames
[] = {
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= wxTimeSpan::Day();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 wxTimeSpan
* resultptr
;
24229 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24238 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "days", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24249 arg1
= (long)(SWIG_As_long(obj0
));
24250 if (SWIG_arg_fail(1)) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= wxTimeSpan::Weeks(arg1
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 wxTimeSpan
* resultptr
;
24261 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24270 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24273 char *kwnames
[] = {
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= wxTimeSpan::Week();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 wxTimeSpan
* resultptr
;
24287 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24296 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 long arg1
= (long) 0 ;
24299 long arg2
= (long) 0 ;
24300 long arg3
= (long) 0 ;
24301 long arg4
= (long) 0 ;
24302 wxTimeSpan
*result
;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 PyObject
* obj2
= 0 ;
24306 PyObject
* obj3
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24314 arg1
= (long)(SWIG_As_long(obj0
));
24315 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 arg2
= (long)(SWIG_As_long(obj1
));
24321 if (SWIG_arg_fail(2)) SWIG_fail
;
24326 arg3
= (long)(SWIG_As_long(obj2
));
24327 if (SWIG_arg_fail(3)) SWIG_fail
;
24332 arg4
= (long)(SWIG_As_long(obj3
));
24333 if (SWIG_arg_fail(4)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24350 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "self", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 Py_INCREF(Py_None
); resultobj
= Py_None
;
24375 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24378 wxTimeSpan
*arg2
= 0 ;
24379 wxTimeSpan
*result
;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self",(char *) "diff", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24388 if (SWIG_arg_fail(1)) SWIG_fail
;
24390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24391 if (SWIG_arg_fail(2)) SWIG_fail
;
24392 if (arg2
== NULL
) {
24393 SWIG_null_ref("wxTimeSpan");
24395 if (SWIG_arg_fail(2)) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24401 result
= (wxTimeSpan
*) &_result_ref
;
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24414 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24417 wxTimeSpan
*arg2
= 0 ;
24418 wxTimeSpan
*result
;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "diff", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24427 if (SWIG_arg_fail(1)) SWIG_fail
;
24429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24430 if (SWIG_arg_fail(2)) SWIG_fail
;
24431 if (arg2
== NULL
) {
24432 SWIG_null_ref("wxTimeSpan");
24434 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24440 result
= (wxTimeSpan
*) &_result_ref
;
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24453 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24457 wxTimeSpan
*result
;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self",(char *) "n", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail
;
24468 arg2
= (int)(SWIG_As_int(obj1
));
24469 if (SWIG_arg_fail(2)) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24475 result
= (wxTimeSpan
*) &_result_ref
;
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24488 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24491 wxTimeSpan
*result
;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24504 result
= (wxTimeSpan
*) &_result_ref
;
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24517 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 wxTimeSpan
* resultptr
;
24538 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24547 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24550 wxTimeSpan
*arg2
= 0 ;
24551 wxTimeSpan
*result
;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "diff", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24560 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail
;
24564 if (arg2
== NULL
) {
24565 SWIG_null_ref("wxTimeSpan");
24567 if (SWIG_arg_fail(2)) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24573 result
= (wxTimeSpan
*) &_result_ref
;
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24586 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24589 wxTimeSpan
*arg2
= 0 ;
24590 wxTimeSpan
*result
;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "diff", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24599 if (SWIG_arg_fail(1)) SWIG_fail
;
24601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(2)) SWIG_fail
;
24603 if (arg2
== NULL
) {
24604 SWIG_null_ref("wxTimeSpan");
24606 if (SWIG_arg_fail(2)) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24612 result
= (wxTimeSpan
*) &_result_ref
;
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24625 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24629 wxTimeSpan
*result
;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "n", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24638 if (SWIG_arg_fail(1)) SWIG_fail
;
24640 arg2
= (int)(SWIG_As_int(obj1
));
24641 if (SWIG_arg_fail(2)) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24647 result
= (wxTimeSpan
*) &_result_ref
;
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24660 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24663 wxTimeSpan
*result
;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24671 if (SWIG_arg_fail(1)) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24676 result
= (wxTimeSpan
*) &_result_ref
;
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24689 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24692 wxTimeSpan
*arg2
= 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "other", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail
;
24704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24705 if (SWIG_arg_fail(2)) SWIG_fail
;
24706 if (arg2
== NULL
) {
24707 SWIG_null_ref("wxTimeSpan");
24709 if (SWIG_arg_fail(2)) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 wxTimeSpan
* resultptr
;
24720 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24729 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24732 wxTimeSpan
*arg2
= 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self",(char *) "other", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24742 if (SWIG_arg_fail(1)) SWIG_fail
;
24744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(2)) SWIG_fail
;
24746 if (arg2
== NULL
) {
24747 SWIG_null_ref("wxTimeSpan");
24749 if (SWIG_arg_fail(2)) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 wxTimeSpan
* resultptr
;
24760 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24769 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "n", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail
;
24784 arg2
= (int)(SWIG_As_int(obj1
));
24785 if (SWIG_arg_fail(2)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= wxTimeSpan___mul__(arg1
,arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 wxTimeSpan
* resultptr
;
24796 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24805 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "n", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 arg2
= (int)(SWIG_As_int(obj1
));
24821 if (SWIG_arg_fail(2)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 wxTimeSpan
* resultptr
;
24832 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24841 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24844 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "other", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24856 if (SWIG_arg_fail(2)) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24873 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24876 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self",(char *) "other", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail
;
24887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24888 if (SWIG_arg_fail(2)) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24905 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24908 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self",(char *) "other", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24920 if (SWIG_arg_fail(2)) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24937 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24940 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "other", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(2)) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24969 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24972 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "other", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24982 if (SWIG_arg_fail(1)) SWIG_fail
;
24983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24984 if (SWIG_arg_fail(2)) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25001 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25004 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self",(char *) "other", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25014 if (SWIG_arg_fail(1)) SWIG_fail
;
25015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(2)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25033 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
25043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25044 if (SWIG_arg_fail(1)) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25061 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
25071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25072 if (SWIG_arg_fail(1)) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25089 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
25099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25100 if (SWIG_arg_fail(1)) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25117 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
;
25119 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25120 wxTimeSpan
*arg2
= 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "ts", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25133 if (SWIG_arg_fail(2)) SWIG_fail
;
25134 if (arg2
== NULL
) {
25135 SWIG_null_ref("wxTimeSpan");
25137 if (SWIG_arg_fail(2)) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25155 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25158 wxTimeSpan
*arg2
= 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "ts", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25171 if (SWIG_arg_fail(2)) SWIG_fail
;
25172 if (arg2
== NULL
) {
25173 SWIG_null_ref("wxTimeSpan");
25175 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25193 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25196 wxTimeSpan
*arg2
= 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "t", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(2)) SWIG_fail
;
25210 if (arg2
== NULL
) {
25211 SWIG_null_ref("wxTimeSpan");
25213 if (SWIG_arg_fail(2)) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25231 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25235 PyObject
* obj0
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_From_int((int)(result
));
25259 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25270 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_From_int((int)(result
));
25287 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "self", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_From_int((int)(result
));
25315 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25319 PyObject
* obj0
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_From_int((int)(result
));
25343 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25363 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25364 hi
= PyLong_FromLong( (&result
)->GetHi() );
25365 lo
= PyLong_FromLong( (&result
)->GetLo() );
25366 shifter
= PyLong_FromLong(32);
25367 shifted
= PyNumber_Lshift(hi
, shifter
);
25368 resultobj
= PyNumber_Or(shifted
, lo
);
25371 Py_DECREF(shifter
);
25372 Py_DECREF(shifted
);
25380 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25384 PyObject
* obj0
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25391 if (SWIG_arg_fail(1)) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25400 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25401 hi
= PyLong_FromLong( (&result
)->GetHi() );
25402 lo
= PyLong_FromLong( (&result
)->GetLo() );
25403 shifter
= PyLong_FromLong(32);
25404 shifted
= PyNumber_Lshift(hi
, shifter
);
25405 resultobj
= PyNumber_Or(shifted
, lo
);
25408 Py_DECREF(shifter
);
25409 Py_DECREF(shifted
);
25417 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25420 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25421 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25423 bool temp2
= false ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "format", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 arg2
= wxString_in_helper(obj1
);
25436 if (arg2
== NULL
) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25468 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25471 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25473 return Py_BuildValue((char *)"");
25475 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 int arg1
= (int) 0 ;
25478 int arg2
= (int) 0 ;
25479 int arg3
= (int) 0 ;
25480 int arg4
= (int) 0 ;
25481 wxDateSpan
*result
;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 PyObject
* obj3
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25493 arg1
= (int)(SWIG_As_int(obj0
));
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25499 arg2
= (int)(SWIG_As_int(obj1
));
25500 if (SWIG_arg_fail(2)) SWIG_fail
;
25505 arg3
= (int)(SWIG_As_int(obj2
));
25506 if (SWIG_arg_fail(3)) SWIG_fail
;
25511 arg4
= (int)(SWIG_As_int(obj3
));
25512 if (SWIG_arg_fail(4)) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25529 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25558 PyObject
* obj0
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "days", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25565 arg1
= (int)(SWIG_As_int(obj0
));
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= wxDateSpan::Days(arg1
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 wxDateSpan
* resultptr
;
25577 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25586 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25589 char *kwnames
[] = {
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= wxDateSpan::Day();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25602 wxDateSpan
* resultptr
;
25603 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25612 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25616 PyObject
* obj0
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "weeks", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25623 arg1
= (int)(SWIG_As_int(obj0
));
25624 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= wxDateSpan::Weeks(arg1
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25634 wxDateSpan
* resultptr
;
25635 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25644 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25647 char *kwnames
[] = {
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= wxDateSpan::Week();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 wxDateSpan
* resultptr
;
25661 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25670 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25674 PyObject
* obj0
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "mon", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25681 arg1
= (int)(SWIG_As_int(obj0
));
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= wxDateSpan::Months(arg1
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 wxDateSpan
* resultptr
;
25693 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25702 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25705 char *kwnames
[] = {
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= wxDateSpan::Month();
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25718 wxDateSpan
* resultptr
;
25719 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25728 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25732 PyObject
* obj0
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "years", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25739 arg1
= (int)(SWIG_As_int(obj0
));
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= wxDateSpan::Years(arg1
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 wxDateSpan
* resultptr
;
25751 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25760 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
;
25763 char *kwnames
[] = {
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= wxDateSpan::Year();
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25776 wxDateSpan
* resultptr
;
25777 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25786 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25790 wxDateSpan
*result
;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "n", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25799 if (SWIG_arg_fail(1)) SWIG_fail
;
25801 arg2
= (int)(SWIG_As_int(obj1
));
25802 if (SWIG_arg_fail(2)) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25808 result
= (wxDateSpan
*) &_result_ref
;
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25821 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25825 wxDateSpan
*result
;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "n", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail
;
25836 arg2
= (int)(SWIG_As_int(obj1
));
25837 if (SWIG_arg_fail(2)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25843 result
= (wxDateSpan
*) &_result_ref
;
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25856 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25860 wxDateSpan
*result
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "n", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 arg2
= (int)(SWIG_As_int(obj1
));
25872 if (SWIG_arg_fail(2)) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25878 result
= (wxDateSpan
*) &_result_ref
;
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25891 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25895 wxDateSpan
*result
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "n", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25906 arg2
= (int)(SWIG_As_int(obj1
));
25907 if (SWIG_arg_fail(2)) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25913 result
= (wxDateSpan
*) &_result_ref
;
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25926 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_From_int((int)(result
));
25954 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25955 PyObject
*resultobj
;
25956 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25958 PyObject
* obj0
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= SWIG_From_int((int)(result
));
25982 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_From_int((int)(result
));
26010 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26021 if (SWIG_arg_fail(1)) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_From_int((int)(result
));
26038 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26042 PyObject
* obj0
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
26048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_From_int((int)(result
));
26066 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26069 wxDateSpan
*arg2
= 0 ;
26070 wxDateSpan
*result
;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "other", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26083 if (arg2
== NULL
) {
26084 SWIG_null_ref("wxDateSpan");
26086 if (SWIG_arg_fail(2)) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26092 result
= (wxDateSpan
*) &_result_ref
;
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26105 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26108 wxDateSpan
*arg2
= 0 ;
26109 wxDateSpan
*result
;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "other", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26121 if (SWIG_arg_fail(2)) SWIG_fail
;
26122 if (arg2
== NULL
) {
26123 SWIG_null_ref("wxDateSpan");
26125 if (SWIG_arg_fail(2)) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26131 result
= (wxDateSpan
*) &_result_ref
;
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26144 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26147 wxDateSpan
*result
;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26160 result
= (wxDateSpan
*) &_result_ref
;
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26173 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
;
26175 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26177 wxDateSpan
*result
;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "factor", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail
;
26188 arg2
= (int)(SWIG_As_int(obj1
));
26189 if (SWIG_arg_fail(2)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26195 result
= (wxDateSpan
*) &_result_ref
;
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26208 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26211 wxDateSpan
*arg2
= 0 ;
26212 wxDateSpan
*result
;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "other", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26221 if (SWIG_arg_fail(1)) SWIG_fail
;
26223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26224 if (SWIG_arg_fail(2)) SWIG_fail
;
26225 if (arg2
== NULL
) {
26226 SWIG_null_ref("wxDateSpan");
26228 if (SWIG_arg_fail(2)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26234 result
= (wxDateSpan
*) &_result_ref
;
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26247 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26250 wxDateSpan
*arg2
= 0 ;
26251 wxDateSpan
*result
;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "other", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26260 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(2)) SWIG_fail
;
26264 if (arg2
== NULL
) {
26265 SWIG_null_ref("wxDateSpan");
26267 if (SWIG_arg_fail(2)) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26273 result
= (wxDateSpan
*) &_result_ref
;
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26286 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26289 wxDateSpan
*result
;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26302 result
= (wxDateSpan
*) &_result_ref
;
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26315 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26319 wxDateSpan
*result
;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char *kwnames
[] = {
26323 (char *) "self",(char *) "factor", NULL
26326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26328 if (SWIG_arg_fail(1)) SWIG_fail
;
26330 arg2
= (int)(SWIG_As_int(obj1
));
26331 if (SWIG_arg_fail(2)) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26337 result
= (wxDateSpan
*) &_result_ref
;
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26350 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
;
26352 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26353 wxDateSpan
*arg2
= 0 ;
26355 PyObject
* obj0
= 0 ;
26356 PyObject
* obj1
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self",(char *) "other", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26363 if (SWIG_arg_fail(1)) SWIG_fail
;
26365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26366 if (SWIG_arg_fail(2)) SWIG_fail
;
26367 if (arg2
== NULL
) {
26368 SWIG_null_ref("wxDateSpan");
26370 if (SWIG_arg_fail(2)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26380 wxDateSpan
* resultptr
;
26381 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26390 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26393 wxDateSpan
*arg2
= 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "other", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail
;
26405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(2)) SWIG_fail
;
26407 if (arg2
== NULL
) {
26408 SWIG_null_ref("wxDateSpan");
26410 if (SWIG_arg_fail(2)) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 wxDateSpan
* resultptr
;
26421 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26430 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "n", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26443 if (SWIG_arg_fail(1)) SWIG_fail
;
26445 arg2
= (int)(SWIG_As_int(obj1
));
26446 if (SWIG_arg_fail(2)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= wxDateSpan___mul__(arg1
,arg2
);
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 wxDateSpan
* resultptr
;
26457 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26466 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "n", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 arg2
= (int)(SWIG_As_int(obj1
));
26482 if (SWIG_arg_fail(2)) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= wxDateSpan___rmul__(arg1
,arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26492 wxDateSpan
* resultptr
;
26493 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26502 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26505 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self",(char *) "other", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail
;
26516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26517 if (SWIG_arg_fail(2)) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26534 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26537 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "other", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26547 if (SWIG_arg_fail(1)) SWIG_fail
;
26548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26549 if (SWIG_arg_fail(2)) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26566 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26569 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26571 return Py_BuildValue((char *)"");
26573 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26576 char *kwnames
[] = {
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (long)wxGetLocalTime();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_From_long((long)(result
));
26597 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
;
26600 char *kwnames
[] = {
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (long)wxGetUTCTime();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_From_long((long)(result
));
26621 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26624 char *kwnames
[] = {
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (long)wxGetCurrentTime();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_From_long((long)(result
));
26645 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26648 char *kwnames
[] = {
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= wxGetLocalTimeMillis();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26662 hi
= PyLong_FromLong( (&result
)->GetHi() );
26663 lo
= PyLong_FromLong( (&result
)->GetLo() );
26664 shifter
= PyLong_FromLong(32);
26665 shifted
= PyNumber_Lshift(hi
, shifter
);
26666 resultobj
= PyNumber_Or(shifted
, lo
);
26669 Py_DECREF(shifter
);
26670 Py_DECREF(shifted
);
26678 static int _wrap_DefaultDateTime_set(PyObject
*) {
26679 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26684 static PyObject
*_wrap_DefaultDateTime_get(void) {
26687 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26692 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
;
26694 wxDataFormatId arg1
;
26695 wxDataFormat
*result
;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "type", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26703 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26704 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26720 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxString
*arg1
= 0 ;
26723 wxDataFormat
*result
;
26724 bool temp1
= false ;
26725 PyObject
* obj0
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "format", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26732 arg1
= wxString_in_helper(obj0
);
26733 if (arg1
== NULL
) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26758 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(1)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 Py_INCREF(Py_None
); resultobj
= Py_None
;
26783 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26784 PyObject
*resultobj
;
26785 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26786 wxDataFormatId arg2
;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26791 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail
;
26795 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26796 if (SWIG_arg_fail(2)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26814 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26815 PyObject
*resultobj
;
26816 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26817 wxDataFormatId arg2
;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26822 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail
;
26826 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26827 if (SWIG_arg_fail(2)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26845 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26846 PyObject
*resultobj
;
26847 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26848 wxDataFormat
*arg2
= 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26853 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail
;
26857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26859 if (arg2
== NULL
) {
26860 SWIG_null_ref("wxDataFormat");
26862 if (SWIG_arg_fail(2)) SWIG_fail
;
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26880 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26885 argc
= PyObject_Length(args
);
26886 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26887 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26893 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26903 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26911 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26919 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26927 _v
= SWIG_Check_int(argv
[1]);
26929 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26934 Py_INCREF(Py_NotImplemented
);
26935 return Py_NotImplemented
;
26939 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26940 PyObject
*resultobj
;
26941 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26942 wxDataFormat
*arg2
= 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26947 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26953 if (arg2
== NULL
) {
26954 SWIG_null_ref("wxDataFormat");
26956 if (SWIG_arg_fail(2)) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26979 argc
= PyObject_Length(args
);
26980 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27005 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
27013 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27021 _v
= SWIG_Check_int(argv
[1]);
27023 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
27028 Py_INCREF(Py_NotImplemented
);
27029 return Py_NotImplemented
;
27033 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
;
27035 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27036 wxDataFormatId arg2
;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "format", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
27044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail
;
27047 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
27048 if (SWIG_arg_fail(2)) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 (arg1
)->SetType((wxDataFormatId
)arg2
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 Py_INCREF(Py_None
); resultobj
= Py_None
;
27064 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27067 wxDataFormatId result
;
27068 PyObject
* obj0
= 0 ;
27069 char *kwnames
[] = {
27070 (char *) "self", NULL
27073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
27074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27075 if (SWIG_arg_fail(1)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_From_int((result
));
27090 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
27100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27101 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= ((wxDataFormat
const *)arg1
)->GetId();
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27122 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27125 wxString
*arg2
= 0 ;
27126 bool temp2
= false ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "format", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 arg2
= wxString_in_helper(obj1
);
27138 if (arg2
== NULL
) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 (arg1
)->SetId((wxString
const &)*arg2
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27166 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27168 return Py_BuildValue((char *)"");
27170 static int _wrap_FormatInvalid_set(PyObject
*) {
27171 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27176 static PyObject
*_wrap_FormatInvalid_get(void) {
27179 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27184 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 Py_INCREF(Py_None
); resultobj
= Py_None
;
27209 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27212 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27213 SwigValueWrapper
<wxDataFormat
> result
;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "dir", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27225 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27226 if (SWIG_arg_fail(2)) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27237 wxDataFormat
* resultptr
;
27238 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27247 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27250 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self",(char *) "dir", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27264 if (SWIG_arg_fail(2)) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27283 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27286 wxDataFormat
*arg2
= 0 ;
27287 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 PyObject
* obj2
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "format",(char *) "dir", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27301 if (SWIG_arg_fail(2)) SWIG_fail
;
27302 if (arg2
== NULL
) {
27303 SWIG_null_ref("wxDataFormat");
27305 if (SWIG_arg_fail(2)) SWIG_fail
;
27309 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27310 if (SWIG_arg_fail(3)) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27329 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27332 wxDataFormat
*arg2
= 0 ;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "format", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27345 if (SWIG_arg_fail(2)) SWIG_fail
;
27346 if (arg2
== NULL
) {
27347 SWIG_null_ref("wxDataFormat");
27349 if (SWIG_arg_fail(2)) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27367 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27370 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "self",(char *) "dir", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27380 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27384 if (SWIG_arg_fail(2)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= result
;
27401 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27404 wxDataFormat
*arg2
= 0 ;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self",(char *) "format", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail
;
27416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27417 if (SWIG_arg_fail(2)) SWIG_fail
;
27418 if (arg2
== NULL
) {
27419 SWIG_null_ref("wxDataFormat");
27421 if (SWIG_arg_fail(2)) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= result
;
27437 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27440 wxDataFormat
*arg2
= 0 ;
27441 PyObject
*arg3
= (PyObject
*) 0 ;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "format",(char *) "data", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27455 if (SWIG_arg_fail(2)) SWIG_fail
;
27456 if (arg2
== NULL
) {
27457 SWIG_null_ref("wxDataFormat");
27459 if (SWIG_arg_fail(2)) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27478 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27481 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27483 return Py_BuildValue((char *)"");
27485 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27488 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27489 wxDataObjectSimple
*result
;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "format", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27500 if (arg1
== NULL
) {
27501 SWIG_null_ref("wxDataFormat");
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27520 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27523 wxDataFormat
*result
;
27524 PyObject
* obj0
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(1)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27536 result
= (wxDataFormat
*) &_result_ref
;
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27549 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27552 wxDataFormat
*arg2
= 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self",(char *) "format", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27561 if (SWIG_arg_fail(1)) SWIG_fail
;
27563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(2)) SWIG_fail
;
27565 if (arg2
== NULL
) {
27566 SWIG_null_ref("wxDataFormat");
27568 if (SWIG_arg_fail(2)) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27584 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27612 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27616 PyObject
* obj0
= 0 ;
27617 char *kwnames
[] = {
27618 (char *) "self", NULL
27621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27623 if (SWIG_arg_fail(1)) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= result
;
27638 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27641 PyObject
*arg2
= (PyObject
*) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 PyObject
* obj1
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "self",(char *) "data", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27651 if (SWIG_arg_fail(1)) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27669 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27672 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27674 return Py_BuildValue((char *)"");
27676 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27679 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27680 wxPyDataObjectSimple
*result
;
27681 PyObject
* obj0
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "format", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27690 if (SWIG_arg_fail(1)) SWIG_fail
;
27691 if (arg1
== NULL
) {
27692 SWIG_null_ref("wxDataFormat");
27694 if (SWIG_arg_fail(1)) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27711 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27714 PyObject
*arg2
= (PyObject
*) 0 ;
27715 PyObject
*arg3
= (PyObject
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 PyObject
* obj1
= 0 ;
27718 PyObject
* obj2
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "self",(char *) "_class", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27745 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27747 return Py_BuildValue((char *)"");
27749 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxDataObjectComposite
*result
;
27752 char *kwnames
[] = {
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27771 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27774 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27775 bool arg3
= (bool) false ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27787 if (SWIG_arg_fail(2)) SWIG_fail
;
27790 arg3
= (bool)(SWIG_As_bool(obj2
));
27791 if (SWIG_arg_fail(3)) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 (arg1
)->Add(arg2
,arg3
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 Py_INCREF(Py_None
); resultobj
= Py_None
;
27808 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27811 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27813 return Py_BuildValue((char *)"");
27815 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27818 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27819 wxTextDataObject
*result
;
27820 bool temp1
= false ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "text", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27829 arg1
= wxString_in_helper(obj0
);
27830 if (arg1
== NULL
) SWIG_fail
;
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27856 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27860 PyObject
* obj0
= 0 ;
27861 char *kwnames
[] = {
27862 (char *) "self", NULL
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27867 if (SWIG_arg_fail(1)) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (size_t)(arg1
)->GetTextLength();
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27884 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self", NULL
27893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27895 if (SWIG_arg_fail(1)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (arg1
)->GetText();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27916 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27919 wxString
*arg2
= 0 ;
27920 bool temp2
= false ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "self",(char *) "text", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27929 if (SWIG_arg_fail(1)) SWIG_fail
;
27931 arg2
= wxString_in_helper(obj1
);
27932 if (arg2
== NULL
) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 (arg1
)->SetText((wxString
const &)*arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 Py_INCREF(Py_None
); resultobj
= Py_None
;
27957 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27960 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27962 return Py_BuildValue((char *)"");
27964 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27968 wxPyTextDataObject
*result
;
27969 bool temp1
= false ;
27970 PyObject
* obj0
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "text", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27978 arg1
= wxString_in_helper(obj0
);
27979 if (arg1
== NULL
) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
28005 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
28008 PyObject
*arg2
= (PyObject
*) 0 ;
28009 PyObject
*arg3
= (PyObject
*) 0 ;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 PyObject
* obj2
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "self",(char *) "_class", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28019 if (SWIG_arg_fail(1)) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28039 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
28041 return Py_BuildValue((char *)"");
28043 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28046 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28047 wxBitmapDataObject
*result
;
28048 PyObject
* obj0
= 0 ;
28049 char *kwnames
[] = {
28050 (char *) "bitmap", NULL
28053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
28056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28057 if (SWIG_arg_fail(1)) SWIG_fail
;
28058 if (arg1
== NULL
) {
28059 SWIG_null_ref("wxBitmap");
28061 if (SWIG_arg_fail(1)) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
28078 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 wxBitmap
* resultptr
;
28099 resultptr
= new wxBitmap((wxBitmap
&)(result
));
28100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
28108 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28111 wxBitmap
*arg2
= 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "bitmap", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(2)) SWIG_fail
;
28124 if (arg2
== NULL
) {
28125 SWIG_null_ref("wxBitmap");
28127 if (SWIG_arg_fail(2)) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 Py_INCREF(Py_None
); resultobj
= Py_None
;
28143 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28146 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28148 return Py_BuildValue((char *)"");
28150 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28153 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28154 wxPyBitmapDataObject
*result
;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "bitmap", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail
;
28165 if (arg1
== NULL
) {
28166 SWIG_null_ref("wxBitmap");
28168 if (SWIG_arg_fail(1)) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28185 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28188 PyObject
*arg2
= (PyObject
*) 0 ;
28189 PyObject
*arg3
= (PyObject
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 PyObject
* obj2
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self",(char *) "self",(char *) "_class", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28199 if (SWIG_arg_fail(1)) SWIG_fail
;
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 Py_INCREF(Py_None
); resultobj
= Py_None
;
28216 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28219 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28221 return Py_BuildValue((char *)"");
28223 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
;
28225 wxFileDataObject
*result
;
28226 char *kwnames
[] = {
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (wxFileDataObject
*)new wxFileDataObject();
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28245 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28246 PyObject
*resultobj
;
28247 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28248 wxArrayString
*result
;
28249 PyObject
* obj0
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28256 if (SWIG_arg_fail(1)) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28261 result
= (wxArrayString
*) &_result_ref
;
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= wxArrayString2PyList_helper(*result
);
28276 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28279 wxString
*arg2
= 0 ;
28280 bool temp2
= false ;
28281 PyObject
* obj0
= 0 ;
28282 PyObject
* obj1
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "self",(char *) "filename", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28289 if (SWIG_arg_fail(1)) SWIG_fail
;
28291 arg2
= wxString_in_helper(obj1
);
28292 if (arg2
== NULL
) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->AddFile((wxString
const &)*arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 Py_INCREF(Py_None
); resultobj
= Py_None
;
28317 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28320 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28322 return Py_BuildValue((char *)"");
28324 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28325 PyObject
*resultobj
;
28326 wxDataFormat
*arg1
= 0 ;
28327 wxCustomDataObject
*result
;
28328 PyObject
* obj0
= 0 ;
28330 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail
;
28334 if (arg1
== NULL
) {
28335 SWIG_null_ref("wxDataFormat");
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28353 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28354 PyObject
*resultobj
;
28355 wxString
*arg1
= 0 ;
28356 wxCustomDataObject
*result
;
28357 bool temp1
= false ;
28358 PyObject
* obj0
= 0 ;
28360 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28362 arg1
= wxString_in_helper(obj0
);
28363 if (arg1
== NULL
) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28388 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28389 PyObject
*resultobj
;
28390 wxCustomDataObject
*result
;
28392 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28407 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28412 argc
= PyObject_Length(args
);
28413 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28414 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28417 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28422 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28425 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28432 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28440 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28444 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28449 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28452 PyObject
*arg2
= (PyObject
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "data", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28480 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28484 PyObject
* obj0
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (size_t)(arg1
)->GetSize();
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28508 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28512 PyObject
* obj0
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= result
;
28534 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28537 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28539 return Py_BuildValue((char *)"");
28541 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxURLDataObject
*result
;
28544 char *kwnames
[] = {
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (wxURLDataObject
*)new wxURLDataObject();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28563 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (arg1
)->GetURL();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28595 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28598 wxString
*arg2
= 0 ;
28599 bool temp2
= false ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self",(char *) "url", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail
;
28610 arg2
= wxString_in_helper(obj1
);
28611 if (arg2
== NULL
) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 (arg1
)->SetURL((wxString
const &)*arg2
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 Py_INCREF(Py_None
); resultobj
= Py_None
;
28636 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28639 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28641 return Py_BuildValue((char *)"");
28643 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxMetafileDataObject
*result
;
28646 char *kwnames
[] = {
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28665 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28668 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28670 return Py_BuildValue((char *)"");
28672 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxDragResult arg1
;
28676 PyObject
* obj0
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "res", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28683 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28702 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxWindow
*arg1
= (wxWindow
*) 0 ;
28705 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28706 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28707 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28708 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28709 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28710 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28711 wxPyDropSource
*result
;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 PyObject
* obj2
= 0 ;
28715 PyObject
* obj3
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail
;
28725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(2)) SWIG_fail
;
28727 if (arg2
== NULL
) {
28728 SWIG_null_ref("wxIcon");
28730 if (SWIG_arg_fail(2)) SWIG_fail
;
28735 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(3)) SWIG_fail
;
28737 if (arg3
== NULL
) {
28738 SWIG_null_ref("wxIcon");
28740 if (SWIG_arg_fail(3)) SWIG_fail
;
28745 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(4)) SWIG_fail
;
28747 if (arg4
== NULL
) {
28748 SWIG_null_ref("wxIcon");
28750 if (SWIG_arg_fail(4)) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28767 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28770 PyObject
*arg2
= (PyObject
*) 0 ;
28771 PyObject
*arg3
= (PyObject
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 PyObject
* obj3
= 0 ;
28777 char *kwnames
[] = {
28778 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28783 if (SWIG_arg_fail(1)) SWIG_fail
;
28787 arg4
= (int)(SWIG_As_int(obj3
));
28788 if (SWIG_arg_fail(4)) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28807 PyObject
* obj0
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 Py_INCREF(Py_None
); resultobj
= Py_None
;
28829 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
;
28831 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28832 wxDataObject
*arg2
= 0 ;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "data", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28844 if (SWIG_arg_fail(2)) SWIG_fail
;
28845 if (arg2
== NULL
) {
28846 SWIG_null_ref("wxDataObject");
28848 if (SWIG_arg_fail(2)) SWIG_fail
;
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 (arg1
)->SetData(*arg2
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 Py_INCREF(Py_None
); resultobj
= Py_None
;
28864 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28867 wxDataObject
*result
;
28868 PyObject
* obj0
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28890 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28893 wxDragResult arg2
;
28894 wxCursor
*arg3
= 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self",(char *) "res",(char *) "cursor", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28907 if (SWIG_arg_fail(2)) SWIG_fail
;
28910 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28911 if (SWIG_arg_fail(3)) SWIG_fail
;
28912 if (arg3
== NULL
) {
28913 SWIG_null_ref("wxCursor");
28915 if (SWIG_arg_fail(3)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 Py_INCREF(Py_None
); resultobj
= Py_None
;
28931 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28934 int arg2
= (int) wxDrag_CopyOnly
;
28935 wxDragResult result
;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "flags", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail
;
28947 arg2
= (int)(SWIG_As_int(obj1
));
28948 if (SWIG_arg_fail(2)) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 resultobj
= SWIG_From_int((result
));
28965 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28968 wxDragResult arg2
;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "self",(char *) "effect", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28978 if (SWIG_arg_fail(1)) SWIG_fail
;
28980 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28981 if (SWIG_arg_fail(2)) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28999 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
29001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29002 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
29004 return Py_BuildValue((char *)"");
29006 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
29009 wxPyDropTarget
*result
;
29010 PyObject
* obj0
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "dataObject", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
29017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29018 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
29034 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29037 PyObject
*arg2
= (PyObject
*) 0 ;
29038 PyObject
*arg3
= (PyObject
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "self",(char *) "_class", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 Py_INCREF(Py_None
); resultobj
= Py_None
;
29065 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29075 if (SWIG_arg_fail(1)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 Py_INCREF(Py_None
); resultobj
= Py_None
;
29090 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29093 wxDataObject
*result
;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29116 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29119 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29120 PyObject
* obj0
= 0 ;
29121 PyObject
* obj1
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self",(char *) "dataObject", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29128 if (SWIG_arg_fail(1)) SWIG_fail
;
29129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29130 if (SWIG_arg_fail(2)) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 (arg1
)->SetDataObject(arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 Py_INCREF(Py_None
); resultobj
= Py_None
;
29145 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29150 wxDragResult arg4
;
29151 wxDragResult result
;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 PyObject
* obj3
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail
;
29164 arg2
= (int)(SWIG_As_int(obj1
));
29165 if (SWIG_arg_fail(2)) SWIG_fail
;
29168 arg3
= (int)(SWIG_As_int(obj2
));
29169 if (SWIG_arg_fail(3)) SWIG_fail
;
29172 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29173 if (SWIG_arg_fail(4)) SWIG_fail
;
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_From_int((result
));
29189 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
;
29191 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29194 wxDragResult arg4
;
29195 wxDragResult result
;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 PyObject
* obj2
= 0 ;
29199 PyObject
* obj3
= 0 ;
29200 char *kwnames
[] = {
29201 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29206 if (SWIG_arg_fail(1)) SWIG_fail
;
29208 arg2
= (int)(SWIG_As_int(obj1
));
29209 if (SWIG_arg_fail(2)) SWIG_fail
;
29212 arg3
= (int)(SWIG_As_int(obj2
));
29213 if (SWIG_arg_fail(3)) SWIG_fail
;
29216 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29217 if (SWIG_arg_fail(4)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_From_int((result
));
29233 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29236 PyObject
* obj0
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->base_OnLeave();
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 PyObject
* obj2
= 0 ;
29267 char *kwnames
[] = {
29268 (char *) "self",(char *) "x",(char *) "y", NULL
29271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail
;
29275 arg2
= (int)(SWIG_As_int(obj1
));
29276 if (SWIG_arg_fail(2)) SWIG_fail
;
29279 arg3
= (int)(SWIG_As_int(obj2
));
29280 if (SWIG_arg_fail(3)) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29298 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29302 PyObject
* obj0
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29309 if (SWIG_arg_fail(1)) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (bool)(arg1
)->GetData();
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29326 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
;
29328 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29329 wxDragResult arg2
;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self",(char *) "action", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29341 if (SWIG_arg_fail(2)) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 Py_INCREF(Py_None
); resultobj
= Py_None
;
29357 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29360 wxDragResult result
;
29361 PyObject
* obj0
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "self", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29368 if (SWIG_arg_fail(1)) SWIG_fail
;
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_From_int((result
));
29383 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29386 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29388 return Py_BuildValue((char *)"");
29390 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxPyTextDropTarget
*result
;
29393 char *kwnames
[] = {
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29412 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29415 PyObject
*arg2
= (PyObject
*) 0 ;
29416 PyObject
*arg3
= (PyObject
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "self",(char *) "_class", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 Py_INCREF(Py_None
); resultobj
= Py_None
;
29443 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29445 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29448 wxDragResult arg4
;
29449 wxDragResult result
;
29450 PyObject
* obj0
= 0 ;
29451 PyObject
* obj1
= 0 ;
29452 PyObject
* obj2
= 0 ;
29453 PyObject
* obj3
= 0 ;
29454 char *kwnames
[] = {
29455 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29460 if (SWIG_arg_fail(1)) SWIG_fail
;
29462 arg2
= (int)(SWIG_As_int(obj1
));
29463 if (SWIG_arg_fail(2)) SWIG_fail
;
29466 arg3
= (int)(SWIG_As_int(obj2
));
29467 if (SWIG_arg_fail(3)) SWIG_fail
;
29470 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29471 if (SWIG_arg_fail(4)) SWIG_fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_From_int((result
));
29487 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29492 wxDragResult arg4
;
29493 wxDragResult result
;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 PyObject
* obj3
= 0 ;
29498 char *kwnames
[] = {
29499 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29504 if (SWIG_arg_fail(1)) SWIG_fail
;
29506 arg2
= (int)(SWIG_As_int(obj1
));
29507 if (SWIG_arg_fail(2)) SWIG_fail
;
29510 arg3
= (int)(SWIG_As_int(obj2
));
29511 if (SWIG_arg_fail(3)) SWIG_fail
;
29514 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29515 if (SWIG_arg_fail(4)) SWIG_fail
;
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_From_int((result
));
29531 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29534 PyObject
* obj0
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 (arg1
)->base_OnLeave();
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 Py_INCREF(Py_None
); resultobj
= Py_None
;
29556 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 PyObject
* obj2
= 0 ;
29565 char *kwnames
[] = {
29566 (char *) "self",(char *) "x",(char *) "y", NULL
29569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29571 if (SWIG_arg_fail(1)) SWIG_fail
;
29573 arg2
= (int)(SWIG_As_int(obj1
));
29574 if (SWIG_arg_fail(2)) SWIG_fail
;
29577 arg3
= (int)(SWIG_As_int(obj2
));
29578 if (SWIG_arg_fail(3)) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29596 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29601 wxDragResult arg4
;
29602 wxDragResult result
;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 PyObject
* obj2
= 0 ;
29606 PyObject
* obj3
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29613 if (SWIG_arg_fail(1)) SWIG_fail
;
29615 arg2
= (int)(SWIG_As_int(obj1
));
29616 if (SWIG_arg_fail(2)) SWIG_fail
;
29619 arg3
= (int)(SWIG_As_int(obj2
));
29620 if (SWIG_arg_fail(3)) SWIG_fail
;
29623 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29624 if (SWIG_arg_fail(4)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= SWIG_From_int((result
));
29640 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29643 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29645 return Py_BuildValue((char *)"");
29647 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxPyFileDropTarget
*result
;
29650 char *kwnames
[] = {
29654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29669 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29672 PyObject
*arg2
= (PyObject
*) 0 ;
29673 PyObject
*arg3
= (PyObject
*) 0 ;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 PyObject
* obj2
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self",(char *) "self",(char *) "_class", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 Py_INCREF(Py_None
); resultobj
= Py_None
;
29700 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29705 wxDragResult arg4
;
29706 wxDragResult result
;
29707 PyObject
* obj0
= 0 ;
29708 PyObject
* obj1
= 0 ;
29709 PyObject
* obj2
= 0 ;
29710 PyObject
* obj3
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(1)) SWIG_fail
;
29719 arg2
= (int)(SWIG_As_int(obj1
));
29720 if (SWIG_arg_fail(2)) SWIG_fail
;
29723 arg3
= (int)(SWIG_As_int(obj2
));
29724 if (SWIG_arg_fail(3)) SWIG_fail
;
29727 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29728 if (SWIG_arg_fail(4)) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_From_int((result
));
29744 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29749 wxDragResult arg4
;
29750 wxDragResult result
;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 PyObject
* obj2
= 0 ;
29754 PyObject
* obj3
= 0 ;
29755 char *kwnames
[] = {
29756 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29761 if (SWIG_arg_fail(1)) SWIG_fail
;
29763 arg2
= (int)(SWIG_As_int(obj1
));
29764 if (SWIG_arg_fail(2)) SWIG_fail
;
29767 arg3
= (int)(SWIG_As_int(obj2
));
29768 if (SWIG_arg_fail(3)) SWIG_fail
;
29771 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29772 if (SWIG_arg_fail(4)) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= SWIG_From_int((result
));
29788 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 char *kwnames
[] = {
29793 (char *) "self", NULL
29796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29798 if (SWIG_arg_fail(1)) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 (arg1
)->base_OnLeave();
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 Py_INCREF(Py_None
); resultobj
= Py_None
;
29813 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self",(char *) "x",(char *) "y", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29828 if (SWIG_arg_fail(1)) SWIG_fail
;
29830 arg2
= (int)(SWIG_As_int(obj1
));
29831 if (SWIG_arg_fail(2)) SWIG_fail
;
29834 arg3
= (int)(SWIG_As_int(obj2
));
29835 if (SWIG_arg_fail(3)) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29853 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
;
29855 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29858 wxDragResult arg4
;
29859 wxDragResult result
;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 arg2
= (int)(SWIG_As_int(obj1
));
29873 if (SWIG_arg_fail(2)) SWIG_fail
;
29876 arg3
= (int)(SWIG_As_int(obj2
));
29877 if (SWIG_arg_fail(3)) SWIG_fail
;
29880 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29881 if (SWIG_arg_fail(4)) SWIG_fail
;
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= SWIG_From_int((result
));
29897 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29900 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29902 return Py_BuildValue((char *)"");
29904 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxClipboard
*result
;
29907 char *kwnames
[] = {
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (wxClipboard
*)new wxClipboard();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29926 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29929 PyObject
* obj0
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29936 if (SWIG_arg_fail(1)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29951 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29962 if (SWIG_arg_fail(1)) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (bool)(arg1
)->Open();
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29979 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29982 PyObject
* obj0
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 Py_INCREF(Py_None
); resultobj
= Py_None
;
30004 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
;
30006 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
30014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30015 if (SWIG_arg_fail(1)) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30032 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30035 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self",(char *) "data", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
30044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30045 if (SWIG_arg_fail(1)) SWIG_fail
;
30046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30047 if (SWIG_arg_fail(2)) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (bool)(arg1
)->AddData(arg2
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30064 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30067 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self",(char *) "data", NULL
30075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30077 if (SWIG_arg_fail(1)) SWIG_fail
;
30078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30079 if (SWIG_arg_fail(2)) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (bool)(arg1
)->SetData(arg2
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30096 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
;
30098 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30099 wxDataFormat
*arg2
= 0 ;
30101 PyObject
* obj0
= 0 ;
30102 PyObject
* obj1
= 0 ;
30103 char *kwnames
[] = {
30104 (char *) "self",(char *) "format", NULL
30107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30109 if (SWIG_arg_fail(1)) SWIG_fail
;
30111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30112 if (SWIG_arg_fail(2)) SWIG_fail
;
30113 if (arg2
== NULL
) {
30114 SWIG_null_ref("wxDataFormat");
30116 if (SWIG_arg_fail(2)) SWIG_fail
;
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30134 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
;
30136 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30137 wxDataObject
*arg2
= 0 ;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "self",(char *) "data", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(1)) SWIG_fail
;
30149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(2)) SWIG_fail
;
30151 if (arg2
== NULL
) {
30152 SWIG_null_ref("wxDataObject");
30154 if (SWIG_arg_fail(2)) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= (bool)(arg1
)->GetData(*arg2
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30172 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
;
30174 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30175 PyObject
* obj0
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(1)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 Py_INCREF(Py_None
); resultobj
= Py_None
;
30197 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
;
30199 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 char *kwnames
[] = {
30203 (char *) "self", NULL
30206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30208 if (SWIG_arg_fail(1)) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (bool)(arg1
)->Flush();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30225 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30228 bool arg2
= (bool) true ;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self",(char *) "primary", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(1)) SWIG_fail
;
30240 arg2
= (bool)(SWIG_As_bool(obj1
));
30241 if (SWIG_arg_fail(2)) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 (arg1
)->UsePrimarySelection(arg2
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 Py_INCREF(Py_None
); resultobj
= Py_None
;
30258 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
;
30260 wxClipboard
*result
;
30261 char *kwnames
[] = {
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (wxClipboard
*)wxClipboard::Get();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30280 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30283 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30285 return Py_BuildValue((char *)"");
30287 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30290 wxClipboardLocker
*result
;
30291 PyObject
* obj0
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "clipboard", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30315 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self", NULL
30323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30340 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
;
30342 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30351 if (SWIG_arg_fail(1)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30368 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30371 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30373 return Py_BuildValue((char *)"");
30375 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 int arg1
= (int) 0 ;
30378 int arg2
= (int) 0 ;
30379 int arg3
= (int) 0 ;
30380 int arg4
= (int) 0 ;
30381 wxVideoMode
*result
;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 PyObject
* obj2
= 0 ;
30385 PyObject
* obj3
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30393 arg1
= (int)(SWIG_As_int(obj0
));
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30399 arg2
= (int)(SWIG_As_int(obj1
));
30400 if (SWIG_arg_fail(2)) SWIG_fail
;
30405 arg3
= (int)(SWIG_As_int(obj2
));
30406 if (SWIG_arg_fail(3)) SWIG_fail
;
30411 arg4
= (int)(SWIG_As_int(obj3
));
30412 if (SWIG_arg_fail(4)) SWIG_fail
;
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30429 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
;
30431 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30439 if (SWIG_arg_fail(1)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 Py_INCREF(Py_None
); resultobj
= Py_None
;
30454 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
;
30456 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30457 wxVideoMode
*arg2
= 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "other", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(1)) SWIG_fail
;
30469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(2)) SWIG_fail
;
30471 if (arg2
== NULL
) {
30472 SWIG_null_ref("wxVideoMode");
30474 if (SWIG_arg_fail(2)) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30492 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 char *kwnames
[] = {
30498 (char *) "self", NULL
30501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_From_int((int)(result
));
30520 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_From_int((int)(result
));
30548 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_From_int((int)(result
));
30576 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 char *kwnames
[] = {
30582 (char *) "self", NULL
30585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30604 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30607 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self",(char *) "other", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30617 if (SWIG_arg_fail(1)) SWIG_fail
;
30618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(2)) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30636 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
;
30638 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30639 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self",(char *) "other", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30649 if (SWIG_arg_fail(1)) SWIG_fail
;
30650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30651 if (SWIG_arg_fail(2)) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30668 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "w", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 arg2
= (int)(SWIG_As_int(obj1
));
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 if (arg1
) (arg1
)->w
= arg2
;
30687 Py_INCREF(Py_None
); resultobj
= Py_None
;
30694 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30705 if (SWIG_arg_fail(1)) SWIG_fail
;
30706 result
= (int) ((arg1
)->w
);
30709 resultobj
= SWIG_From_int((int)(result
));
30717 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "h", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30729 if (SWIG_arg_fail(1)) SWIG_fail
;
30731 arg2
= (int)(SWIG_As_int(obj1
));
30732 if (SWIG_arg_fail(2)) SWIG_fail
;
30734 if (arg1
) (arg1
)->h
= arg2
;
30736 Py_INCREF(Py_None
); resultobj
= Py_None
;
30743 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "self", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30754 if (SWIG_arg_fail(1)) SWIG_fail
;
30755 result
= (int) ((arg1
)->h
);
30758 resultobj
= SWIG_From_int((int)(result
));
30766 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30770 PyObject
* obj0
= 0 ;
30771 PyObject
* obj1
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self",(char *) "bpp", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30778 if (SWIG_arg_fail(1)) SWIG_fail
;
30780 arg2
= (int)(SWIG_As_int(obj1
));
30781 if (SWIG_arg_fail(2)) SWIG_fail
;
30783 if (arg1
) (arg1
)->bpp
= arg2
;
30785 Py_INCREF(Py_None
); resultobj
= Py_None
;
30792 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
;
30794 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30803 if (SWIG_arg_fail(1)) SWIG_fail
;
30804 result
= (int) ((arg1
)->bpp
);
30807 resultobj
= SWIG_From_int((int)(result
));
30815 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "refresh", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30827 if (SWIG_arg_fail(1)) SWIG_fail
;
30829 arg2
= (int)(SWIG_As_int(obj1
));
30830 if (SWIG_arg_fail(2)) SWIG_fail
;
30832 if (arg1
) (arg1
)->refresh
= arg2
;
30834 Py_INCREF(Py_None
); resultobj
= Py_None
;
30841 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30845 PyObject
* obj0
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30852 if (SWIG_arg_fail(1)) SWIG_fail
;
30853 result
= (int) ((arg1
)->refresh
);
30856 resultobj
= SWIG_From_int((int)(result
));
30864 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30867 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30869 return Py_BuildValue((char *)"");
30871 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30872 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30877 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30880 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30885 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
;
30887 size_t arg1
= (size_t) 0 ;
30889 PyObject
* obj0
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "index", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30897 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30898 if (SWIG_arg_fail(1)) SWIG_fail
;
30902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30903 result
= (wxDisplay
*)new wxDisplay(arg1
);
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30915 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30918 PyObject
* obj0
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 Py_INCREF(Py_None
); resultobj
= Py_None
;
30940 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30943 char *kwnames
[] = {
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (size_t)wxDisplay::GetCount();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30964 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxPoint
*arg1
= 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "pt", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30977 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_From_int((int)(result
));
30995 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
;
30997 wxWindow
*arg1
= (wxWindow
*) 0 ;
30999 PyObject
* obj0
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "window", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
31005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31006 if (SWIG_arg_fail(1)) SWIG_fail
;
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 result
= (int)Display_GetFromWindow(arg1
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_From_int((int)(result
));
31023 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31027 PyObject
* obj0
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
31033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31034 if (SWIG_arg_fail(1)) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31051 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31071 wxRect
* resultptr
;
31072 resultptr
= new wxRect((wxRect
&)(result
));
31073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31081 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31085 PyObject
* obj0
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail
;
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= ((wxDisplay
const *)arg1
)->GetName();
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31113 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
;
31115 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31117 PyObject
* obj0
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31141 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31144 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31145 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31147 PyObject
* obj0
= 0 ;
31148 PyObject
* obj1
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "mode", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31155 if (SWIG_arg_fail(1)) SWIG_fail
;
31158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31159 if (SWIG_arg_fail(2)) SWIG_fail
;
31160 if (arg2
== NULL
) {
31161 SWIG_null_ref("wxVideoMode");
31163 if (SWIG_arg_fail(2)) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= result
;
31180 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31183 wxVideoMode result
;
31184 PyObject
* obj0
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 wxVideoMode
* resultptr
;
31201 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31210 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
;
31212 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31213 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31214 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31216 PyObject
* obj0
= 0 ;
31217 PyObject
* obj1
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self",(char *) "mode", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31224 if (SWIG_arg_fail(1)) SWIG_fail
;
31227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31228 if (SWIG_arg_fail(2)) SWIG_fail
;
31229 if (arg2
== NULL
) {
31230 SWIG_null_ref("wxVideoMode");
31232 if (SWIG_arg_fail(2)) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31251 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31261 if (SWIG_arg_fail(1)) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 (arg1
)->ResetMode();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 Py_INCREF(Py_None
); resultobj
= Py_None
;
31276 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31279 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31281 return Py_BuildValue((char *)"");
31283 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
;
31285 wxStandardPaths
*result
;
31286 char *kwnames
[] = {
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (wxStandardPaths
*)StandardPaths_Get();
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31305 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
;
31307 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31309 PyObject
* obj0
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "self", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31337 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31341 PyObject
* obj0
= 0 ;
31342 char *kwnames
[] = {
31343 (char *) "self", NULL
31346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31348 if (SWIG_arg_fail(1)) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31369 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
;
31371 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 char *kwnames
[] = {
31375 (char *) "self", NULL
31378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31401 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31402 PyObject
*resultobj
;
31403 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31405 PyObject
* obj0
= 0 ;
31406 char *kwnames
[] = {
31407 (char *) "self", NULL
31410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31412 if (SWIG_arg_fail(1)) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31433 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
;
31435 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31437 PyObject
* obj0
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail
;
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31465 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31476 if (SWIG_arg_fail(1)) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31497 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31529 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
;
31531 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31532 wxString
*arg2
= 0 ;
31533 bool temp2
= false ;
31534 PyObject
* obj0
= 0 ;
31535 PyObject
* obj1
= 0 ;
31536 char *kwnames
[] = {
31537 (char *) "self",(char *) "prefix", NULL
31540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31542 if (SWIG_arg_fail(1)) SWIG_fail
;
31544 arg2
= wxString_in_helper(obj1
);
31545 if (arg2
== NULL
) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 Py_INCREF(Py_None
); resultobj
= Py_None
;
31570 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
;
31572 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31574 PyObject
* obj0
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31602 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31605 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31607 return Py_BuildValue((char *)"");
31609 static PyMethodDef SwigMethods
[] = {
31610 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31617 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31691 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31699 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31726 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31732 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31752 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31761 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31779 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31809 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31822 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31828 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31846 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31850 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31853 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31878 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31925 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31943 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31969 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31985 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
32052 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32062 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32155 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32156 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32157 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32158 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32175 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32220 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32254 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32262 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32263 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32268 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32277 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32284 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32287 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32290 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32295 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32298 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32302 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32305 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32309 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32310 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32314 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32318 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32320 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32330 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32343 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32351 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32359 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32373 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32377 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32395 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32409 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32420 { NULL
, NULL
, 0, NULL
}
32424 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32426 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32429 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32430 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32432 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32433 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32435 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32436 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32438 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32439 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32441 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32442 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32444 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32445 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32447 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32448 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32450 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32453 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32454 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32456 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32459 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32460 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32462 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32463 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32465 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32468 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32469 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32471 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32472 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32474 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32475 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32477 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32478 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32480 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32481 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32483 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32484 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32486 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32489 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32490 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32492 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32493 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32495 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32498 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32499 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32501 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32502 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32504 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32505 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32507 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32508 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32510 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32511 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32513 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32514 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32516 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32519 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32520 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32522 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32523 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32525 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32526 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32528 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32531 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32532 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32534 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32535 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32537 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32538 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32540 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32541 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32543 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32544 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32546 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32547 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32549 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32550 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32552 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32553 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32555 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32556 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32558 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32559 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32561 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32562 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32564 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32565 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32567 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32568 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32570 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32571 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32573 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32574 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32576 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32577 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32579 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32580 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32582 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32583 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32585 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32586 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32588 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32589 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32591 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32592 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32594 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32595 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32597 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32598 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32600 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32601 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32603 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32604 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32606 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32607 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32609 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32610 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32612 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32613 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32615 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32616 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32618 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32619 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32621 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32624 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32625 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32627 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32628 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32630 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32631 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32633 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32634 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32636 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32637 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32639 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32640 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32642 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32643 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32645 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32646 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32648 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32651 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32654 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32657 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32660 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32663 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32666 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32669 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) ((wxSizer
*) x
));
32672 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32675 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32681 static void *_p_wxEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) ((wxEvent
*) x
));
32684 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32687 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32690 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32693 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32696 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32699 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32702 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32705 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32708 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32711 static void *_p_wxControlTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32714 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32717 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32720 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32723 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32726 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32729 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32732 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32735 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32738 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32741 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32744 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32747 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32750 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32753 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32756 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32759 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32762 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32765 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32768 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32771 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32774 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32777 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32780 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32783 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32786 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32789 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32792 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32795 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32798 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32801 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32804 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32807 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32810 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32813 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32816 static void *_p_wxImageTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) ((wxImage
*) x
));
32819 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32822 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32825 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32834 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32837 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32840 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32843 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32846 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32849 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32852 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32855 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32858 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32861 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32864 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32867 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32870 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32873 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32876 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32879 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32882 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32885 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32888 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32891 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32894 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32897 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32900 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32903 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
32904 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
32906 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32907 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32909 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32910 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32912 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32913 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32915 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32916 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32918 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32919 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32921 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32922 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32924 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32925 return (void *)((wxWindow
*) ((wxControl
*) x
));
32927 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32928 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32930 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32931 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32933 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32934 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32936 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32937 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32939 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}};
32940 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}};
32941 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}};
32942 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 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}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 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}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32998 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}};
32999 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}};
33000 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}};
33001 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}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 static swig_type_info _swigt__p_wxLogBuffer
[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33038 static swig_type_info
*swig_types_initial
[] = {
33039 _swigt__p_wxLogChain
,
33040 _swigt__p_wxMutexGuiLocker
,
33041 _swigt__p_wxFileHistory
,
33045 _swigt__p_wxDateTime__TimeZone
,
33046 _swigt__p_wxConfigBase
,
33047 _swigt__p_wxDisplay
,
33048 _swigt__p_wxFileType
,
33049 _swigt__p_wxLogGui
,
33051 _swigt__p_wxDataFormat
,
33052 _swigt__p_wxTimerEvent
,
33055 _swigt__std__ptrdiff_t
,
33059 _swigt__p_wxClipboard
,
33060 _swigt__p_wxStopWatch
,
33062 _swigt__p_wxClipboardLocker
,
33064 _swigt__p_wxLogStderr
,
33065 _swigt__p_wxLogTextCtrl
,
33066 _swigt__p_wxTextCtrl
,
33067 _swigt__p_wxBusyCursor
,
33068 _swigt__p_wxBitmapDataObject
,
33069 _swigt__p_wxTextDataObject
,
33070 _swigt__p_wxDataObject
,
33071 _swigt__p_wxPyTextDataObject
,
33072 _swigt__p_wxPyBitmapDataObject
,
33073 _swigt__p_wxFileDataObject
,
33074 _swigt__p_wxCustomDataObject
,
33075 _swigt__p_wxURLDataObject
,
33076 _swigt__p_wxMetafileDataObject
,
33078 _swigt__p_wxTimerRunner
,
33079 _swigt__p_wxLogWindow
,
33080 _swigt__p_wxTimeSpan
,
33081 _swigt__p_wxArrayString
,
33082 _swigt__p_wxWindowDisabler
,
33083 _swigt__p_form_ops_t
,
33084 _swigt__p_wxToolTip
,
33085 _swigt__p_wxDataObjectComposite
,
33086 _swigt__p_wxSystemSettings
,
33087 _swigt__p_wxFileConfig
,
33088 _swigt__p_wxVideoMode
,
33089 _swigt__p_wxDataObjectSimple
,
33090 _swigt__p_wxPyDataObjectSimple
,
33091 _swigt__p_wxDuplexMode
,
33092 _swigt__p_wxEvtHandler
,
33095 _swigt__p_wxSingleInstanceChecker
,
33096 _swigt__p_wxStandardPaths
,
33097 _swigt__p_wxFileTypeInfo
,
33100 _swigt__p_wxPaperSize
,
33101 _swigt__p_wxMimeTypesManager
,
33102 _swigt__p_wxPyArtProvider
,
33103 _swigt__p_wxPyTipProvider
,
33104 _swigt__p_wxTipProvider
,
33105 _swigt__p_wxJoystick
,
33106 _swigt__p_wxSystemOptions
,
33108 _swigt__p_wxJoystickEvent
,
33109 _swigt__p_wxCursor
,
33110 _swigt__p_wxObject
,
33111 _swigt__p_wxOutputStream
,
33112 _swigt__p_wxDateTime
,
33113 _swigt__p_wxPyDropSource
,
33114 _swigt__p_unsigned_long
,
33115 _swigt__p_wxLogBuffer
,
33116 _swigt__p_wxKillError
,
33117 _swigt__p_wxWindow
,
33118 _swigt__p_wxString
,
33119 _swigt__p_wxPyProcess
,
33120 _swigt__p_wxBitmap
,
33121 _swigt__unsigned_int
,
33122 _swigt__p_unsigned_int
,
33123 _swigt__p_wxConfig
,
33124 _swigt__p_unsigned_char
,
33126 _swigt__p_wxBusyInfo
,
33127 _swigt__p_wxPyDropTarget
,
33128 _swigt__p_wxPyTextDropTarget
,
33129 _swigt__p_wxPyFileDropTarget
,
33130 _swigt__p_wxProcessEvent
,
33132 _swigt__p_wxLogNull
,
33133 _swigt__p_wxColour
,
33134 _swigt__p_wxPyTimer
,
33135 _swigt__p_wxConfigPathChanger
,
33136 _swigt__p_wxDateSpan
,
33141 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33143 static swig_const_info swig_const_table
[] = {
33144 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33145 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33146 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33147 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33148 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33149 {0, 0, 0, 0.0, 0, 0}};
33160 /* Python-specific SWIG API */
33161 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33162 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33163 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33165 /* -----------------------------------------------------------------------------
33166 * global variable support code.
33167 * ----------------------------------------------------------------------------- */
33169 typedef struct swig_globalvar
{
33170 char *name
; /* Name of global variable */
33171 PyObject
*(*get_attr
)(); /* Return the current value */
33172 int (*set_attr
)(PyObject
*); /* Set the value */
33173 struct swig_globalvar
*next
;
33176 typedef struct swig_varlinkobject
{
33178 swig_globalvar
*vars
;
33179 } swig_varlinkobject
;
33182 swig_varlink_repr(swig_varlinkobject
*v
) {
33184 return PyString_FromString("<Swig global variables>");
33188 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33189 swig_globalvar
*var
;
33191 fprintf(fp
,"Swig global variables { ");
33192 for (var
= v
->vars
; var
; var
=var
->next
) {
33193 fprintf(fp
,"%s", var
->name
);
33194 if (var
->next
) fprintf(fp
,", ");
33196 fprintf(fp
," }\n");
33201 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33202 swig_globalvar
*var
= v
->vars
;
33204 if (strcmp(var
->name
,n
) == 0) {
33205 return (*var
->get_attr
)();
33209 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33214 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33215 swig_globalvar
*var
= v
->vars
;
33217 if (strcmp(var
->name
,n
) == 0) {
33218 return (*var
->set_attr
)(p
);
33222 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33226 static PyTypeObject varlinktype
= {
33227 PyObject_HEAD_INIT(0)
33228 0, /* Number of items in variable part (ob_size) */
33229 (char *)"swigvarlink", /* Type name (tp_name) */
33230 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33231 0, /* Itemsize (tp_itemsize) */
33232 0, /* Deallocator (tp_dealloc) */
33233 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33234 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33235 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33236 0, /* tp_compare */
33237 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33238 0, /* tp_as_number */
33239 0, /* tp_as_sequence */
33240 0, /* tp_as_mapping */
33244 0, /* tp_getattro */
33245 0, /* tp_setattro */
33246 0, /* tp_as_buffer */
33249 #if PY_VERSION_HEX >= 0x02000000
33250 0, /* tp_traverse */
33253 #if PY_VERSION_HEX >= 0x02010000
33254 0, /* tp_richcompare */
33255 0, /* tp_weaklistoffset */
33257 #if PY_VERSION_HEX >= 0x02020000
33258 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33260 #if PY_VERSION_HEX >= 0x02030000
33263 #ifdef COUNT_ALLOCS
33264 0,0,0,0 /* tp_alloc -> tp_next */
33268 /* Create a variable linking object for use later */
33270 SWIG_Python_newvarlink(void) {
33271 swig_varlinkobject
*result
= 0;
33272 result
= PyMem_NEW(swig_varlinkobject
,1);
33273 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33274 result
->ob_type
= &varlinktype
;
33276 result
->ob_refcnt
= 0;
33277 Py_XINCREF((PyObject
*) result
);
33278 return ((PyObject
*) result
);
33282 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33283 swig_varlinkobject
*v
;
33284 swig_globalvar
*gv
;
33285 v
= (swig_varlinkobject
*) p
;
33286 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33287 gv
->name
= (char *) malloc(strlen(name
)+1);
33288 strcpy(gv
->name
,name
);
33289 gv
->get_attr
= get_attr
;
33290 gv
->set_attr
= set_attr
;
33291 gv
->next
= v
->vars
;
33295 /* -----------------------------------------------------------------------------
33296 * constants/methods manipulation
33297 * ----------------------------------------------------------------------------- */
33299 /* Install Constants */
33301 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33304 for (i
= 0; constants
[i
].type
; i
++) {
33305 switch(constants
[i
].type
) {
33307 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33309 case SWIG_PY_FLOAT
:
33310 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33312 case SWIG_PY_STRING
:
33313 if (constants
[i
].pvalue
) {
33314 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33316 Py_INCREF(Py_None
);
33320 case SWIG_PY_POINTER
:
33321 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33323 case SWIG_PY_BINARY
:
33324 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33331 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33337 /* -----------------------------------------------------------------------------*/
33338 /* Fix SwigMethods to carry the callback ptrs when needed */
33339 /* -----------------------------------------------------------------------------*/
33342 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33343 swig_const_info
*const_table
,
33344 swig_type_info
**types
,
33345 swig_type_info
**types_initial
) {
33347 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33348 char *c
= methods
[i
].ml_doc
;
33349 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33351 swig_const_info
*ci
= 0;
33352 char *name
= c
+ 10;
33353 for (j
= 0; const_table
[j
].type
; j
++) {
33354 if (strncmp(const_table
[j
].name
, name
,
33355 strlen(const_table
[j
].name
)) == 0) {
33356 ci
= &(const_table
[j
]);
33361 size_t shift
= (ci
->ptype
) - types
;
33362 swig_type_info
*ty
= types_initial
[shift
];
33363 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33364 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33365 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33367 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33368 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33370 strncpy(buff
, "swig_ptr: ", 10);
33372 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33373 methods
[i
].ml_doc
= ndoc
;
33379 /* -----------------------------------------------------------------------------*
33380 * Initialize type list
33381 * -----------------------------------------------------------------------------*/
33383 #if PY_MAJOR_VERSION < 2
33384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33385 is copied out of Python/modsupport.c in python version 2.3.4 */
33387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33390 if (!PyModule_Check(m
)) {
33391 PyErr_SetString(PyExc_TypeError
,
33392 "PyModule_AddObject() needs module as first arg");
33396 PyErr_SetString(PyExc_TypeError
,
33397 "PyModule_AddObject() needs non-NULL value");
33401 dict
= PyModule_GetDict(m
);
33402 if (dict
== NULL
) {
33403 /* Internal error -- modules must have a dict! */
33404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33405 PyModule_GetName(m
));
33408 if (PyDict_SetItemString(dict
, name
, o
))
33415 static swig_type_info
**
33416 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33417 static PyMethodDef swig_empty_runtime_method_table
[] = {
33419 NULL
, NULL
, 0, NULL
33423 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33424 swig_empty_runtime_method_table
);
33425 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33426 if (pointer
&& module) {
33427 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33429 return type_list_handle
;
33432 static swig_type_info
**
33433 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33434 swig_type_info
**type_pointer
;
33436 /* first check if module already created */
33437 type_pointer
= SWIG_Python_GetTypeListHandle();
33438 if (type_pointer
) {
33439 return type_pointer
;
33441 /* create a new module and variable */
33442 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33450 /* -----------------------------------------------------------------------------*
33451 * Partial Init method
33452 * -----------------------------------------------------------------------------*/
33454 #ifdef SWIG_LINK_RUNTIME
33458 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33464 SWIGEXPORT(void) SWIG_init(void) {
33465 static PyObject
*SWIG_globals
= 0;
33466 static int typeinit
= 0;
33469 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33471 /* Fix SwigMethods to carry the callback ptrs when needed */
33472 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33474 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33475 d
= PyModule_GetDict(m
);
33478 #ifdef SWIG_LINK_RUNTIME
33479 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33481 # ifndef SWIG_STATIC_RUNTIME
33482 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33485 for (i
= 0; swig_types_initial
[i
]; i
++) {
33486 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33490 SWIG_InstallConstants(d
,swig_const_table
);
33493 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33496 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33499 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33502 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33505 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33508 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33511 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33514 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33517 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33520 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33523 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33526 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33529 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33532 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33535 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33538 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33541 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33544 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33547 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33550 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33553 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33556 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33559 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33562 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33565 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33568 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33571 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33574 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33577 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33580 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33583 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33586 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33589 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33592 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33595 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33598 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33601 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33604 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33607 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33610 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33613 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33616 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33619 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33622 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33625 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33628 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33631 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33634 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33637 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33640 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33643 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33646 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33649 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33652 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33655 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33658 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33661 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33664 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33667 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33670 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33673 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33676 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33679 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33682 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33685 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33688 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33691 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33694 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33697 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33700 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33703 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33706 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33709 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33712 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33715 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33718 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33721 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33724 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33727 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33730 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33733 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33736 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33739 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33742 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33745 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33748 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33751 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33754 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33757 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33760 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33763 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33765 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33766 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33767 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33768 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33769 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33771 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33774 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33777 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33780 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33782 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33784 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33787 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33790 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33793 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33796 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33799 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33802 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33805 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33808 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33811 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33814 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33817 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33819 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33820 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33821 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33822 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33823 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33825 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33828 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33831 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33834 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33837 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33840 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33843 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33846 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33849 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33852 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33855 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33858 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33861 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33864 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33867 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33870 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33873 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33876 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33879 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33882 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33885 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33888 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33891 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33894 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33897 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33900 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33903 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33906 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33909 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33912 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33915 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33917 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33919 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33922 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33925 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33928 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33931 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33934 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33937 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33940 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33943 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33946 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33949 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33952 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33955 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33957 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33958 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33959 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33960 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33962 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33965 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33968 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33971 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33974 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33977 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33980 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33983 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33985 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
34000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
34001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
34002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
34003 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
34004 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
34005 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
34006 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
34007 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
34008 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
34009 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
34010 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
34011 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
34012 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
34013 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
34014 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
34015 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
34016 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
34017 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
34018 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
34019 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
34020 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
34021 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
34022 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
34023 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
34024 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
34025 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
34026 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
34027 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
34028 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
34029 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
34030 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
34031 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
34032 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
34033 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
34034 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
34035 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
34036 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
34037 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
34038 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
34039 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
34040 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
34041 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
34043 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34046 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34049 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34052 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34055 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34058 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34061 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34064 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34067 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34070 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34072 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34073 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34075 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34078 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34081 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34084 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34087 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34090 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34093 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34096 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34099 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34102 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34105 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34108 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34111 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34114 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34117 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34120 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34123 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34126 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34129 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34132 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34135 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34138 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34141 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34144 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34147 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34150 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34153 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34156 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34159 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34162 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34165 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34168 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34171 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34174 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34177 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34180 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34183 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34186 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34189 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34192 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34195 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34198 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34201 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34204 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34207 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34210 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34213 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34216 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34219 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34222 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34225 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34228 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34231 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34234 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34237 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34240 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34243 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34246 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34249 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34252 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34255 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34258 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34261 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34264 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34267 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34270 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34273 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34276 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34279 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34282 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34285 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34288 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34291 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34294 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34297 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34300 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34303 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34306 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34309 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34312 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34315 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34318 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34321 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34324 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34327 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34330 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34333 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34336 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34339 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34342 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34345 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34348 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34351 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34354 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34357 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34360 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34363 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34366 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34369 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34372 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34375 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34378 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34381 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34384 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34387 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34390 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34393 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34396 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34399 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34402 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34405 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34408 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34411 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34414 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34417 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34420 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34423 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34426 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34429 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34432 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34435 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34438 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34441 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34444 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34447 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34450 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34453 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34456 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34459 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34462 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34465 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34468 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34471 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34474 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34477 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34480 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34483 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34486 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34489 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34492 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34495 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34498 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34501 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34504 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34507 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34510 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34513 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34516 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34519 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34522 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34525 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34528 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34531 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34534 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34537 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34539 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34541 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34544 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34547 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34550 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34553 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34556 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34559 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34562 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34565 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34568 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34571 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34574 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34577 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34580 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34583 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34586 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34589 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34592 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34595 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34598 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34600 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34602 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34605 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34608 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34611 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34614 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34617 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34620 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34623 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34626 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34629 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34632 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34635 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34638 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34639 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34640 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34641 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34643 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);