1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxMemorySize swig_types[12]
1355 #define SWIGTYPE_p_wxFont swig_types[13]
1356 #define SWIGTYPE_p_wxDataFormat swig_types[14]
1357 #define SWIGTYPE_p_wxTimerEvent swig_types[15]
1358 #define SWIGTYPE_p_wxCaret swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_void swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxClipboard swig_types[22]
1365 #define SWIGTYPE_p_wxStopWatch swig_types[23]
1366 #define SWIGTYPE_p_wxDC swig_types[24]
1367 #define SWIGTYPE_p_wxClipboardLocker swig_types[25]
1368 #define SWIGTYPE_p_wxIcon swig_types[26]
1369 #define SWIGTYPE_p_wxLogStderr swig_types[27]
1370 #define SWIGTYPE_p_wxLogTextCtrl swig_types[28]
1371 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
1372 #define SWIGTYPE_p_wxBusyCursor swig_types[30]
1373 #define SWIGTYPE_p_wxBitmapDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxTextDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxPyTextDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxFileDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxCustomDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxURLDataObject swig_types[38]
1381 #define SWIGTYPE_p_wxMetafileDataObject swig_types[39]
1382 #define SWIGTYPE_p_wxSound swig_types[40]
1383 #define SWIGTYPE_p_wxTimerRunner swig_types[41]
1384 #define SWIGTYPE_p_wxLogWindow swig_types[42]
1385 #define SWIGTYPE_p_wxTimeSpan swig_types[43]
1386 #define SWIGTYPE_p_wxArrayString swig_types[44]
1387 #define SWIGTYPE_p_wxWindowDisabler swig_types[45]
1388 #define SWIGTYPE_p_form_ops_t swig_types[46]
1389 #define SWIGTYPE_p_wxToolTip swig_types[47]
1390 #define SWIGTYPE_p_wxDataObjectComposite swig_types[48]
1391 #define SWIGTYPE_p_wxSystemSettings swig_types[49]
1392 #define SWIGTYPE_p_wxFileConfig swig_types[50]
1393 #define SWIGTYPE_p_wxVideoMode swig_types[51]
1394 #define SWIGTYPE_p_wxDataObjectSimple swig_types[52]
1395 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[53]
1396 #define SWIGTYPE_p_wxDuplexMode swig_types[54]
1397 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
1398 #define SWIGTYPE_p_wxRect swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[58]
1401 #define SWIGTYPE_p_wxStandardPaths swig_types[59]
1402 #define SWIGTYPE_p_wxFileTypeInfo swig_types[60]
1403 #define SWIGTYPE_p_wxFrame swig_types[61]
1404 #define SWIGTYPE_p_wxTimer swig_types[62]
1405 #define SWIGTYPE_p_wxPaperSize swig_types[63]
1406 #define SWIGTYPE_p_wxMimeTypesManager swig_types[64]
1407 #define SWIGTYPE_p_wxPyTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxTipProvider swig_types[66]
1409 #define SWIGTYPE_p_wxJoystick swig_types[67]
1410 #define SWIGTYPE_p_wxSystemOptions swig_types[68]
1411 #define SWIGTYPE_p_wxPyArtProvider swig_types[69]
1412 #define SWIGTYPE_p_wxPoint swig_types[70]
1413 #define SWIGTYPE_p_wxJoystickEvent swig_types[71]
1414 #define SWIGTYPE_p_wxCursor swig_types[72]
1415 #define SWIGTYPE_p_wxObject swig_types[73]
1416 #define SWIGTYPE_p_wxOutputStream swig_types[74]
1417 #define SWIGTYPE_p_wxDateTime swig_types[75]
1418 #define SWIGTYPE_p_wxPyDropSource swig_types[76]
1419 #define SWIGTYPE_p_unsigned_long swig_types[77]
1420 #define SWIGTYPE_p_wxLogBuffer swig_types[78]
1421 #define SWIGTYPE_p_wxKillError swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxPyProcess swig_types[82]
1425 #define SWIGTYPE_p_wxBitmap swig_types[83]
1426 #define SWIGTYPE_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_int swig_types[85]
1428 #define SWIGTYPE_p_wxConfig swig_types[86]
1429 #define SWIGTYPE_p_unsigned_char swig_types[87]
1430 #define SWIGTYPE_p_wxChar swig_types[88]
1431 #define SWIGTYPE_p_wxBusyInfo swig_types[89]
1432 #define SWIGTYPE_p_wxPyDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[91]
1434 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[92]
1435 #define SWIGTYPE_p_wxProcessEvent swig_types[93]
1436 #define SWIGTYPE_p_wxPyLog swig_types[94]
1437 #define SWIGTYPE_p_wxLogNull swig_types[95]
1438 #define SWIGTYPE_p_wxColour swig_types[96]
1439 #define SWIGTYPE_p_wxPyTimer swig_types[97]
1440 #define SWIGTYPE_p_wxConfigPathChanger swig_types[98]
1441 #define SWIGTYPE_p_wxDateSpan swig_types[99]
1442 static swig_type_info
*swig_types
[101];
1444 /* -------- TYPES TABLE (END) -------- */
1447 /*-----------------------------------------------
1448 @(target):= _misc_.so
1449 ------------------------------------------------*/
1450 #define SWIG_init init_misc_
1452 #define SWIG_name "_misc_"
1454 #include "wx/wxPython/wxPython.h"
1455 #include "wx/wxPython/pyclasses.h"
1456 #include "wx/wxPython/pyistream.h"
1458 static const wxString
wxPyEmptyString(wxEmptyString
);
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1552 SWIG_Check_int(PyObject
* obj
)
1554 return SWIG_AsVal_int(obj
, (int*)0);
1557 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1559 #include <wx/stockitem.h>
1561 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1562 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1563 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1565 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1566 #define SWIG_From_long PyInt_FromLong
1570 SWIGINTERNSHORT
long
1571 SWIG_As_long(PyObject
* obj
)
1574 if (!SWIG_AsVal_long(obj
, &v
)) {
1576 this is needed to make valgrind/purify happier.
1578 memset((void*)&v
, 0, sizeof(long));
1585 SWIG_Check_long(PyObject
* obj
)
1587 return SWIG_AsVal_long(obj
, (long*)0);
1592 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1594 if (obj
== Py_True
) {
1595 if (val
) *val
= true;
1598 if (obj
== Py_False
) {
1599 if (val
) *val
= false;
1603 if (SWIG_AsVal_int(obj
, &res
)) {
1604 if (val
) *val
= res
? true : false;
1610 SWIG_type_error("bool", obj
);
1616 SWIGINTERNSHORT
bool
1617 SWIG_As_bool(PyObject
* obj
)
1620 if (!SWIG_AsVal_bool(obj
, &v
)) {
1622 this is needed to make valgrind/purify happier.
1624 memset((void*)&v
, 0, sizeof(bool));
1631 SWIG_Check_bool(PyObject
* obj
)
1633 return SWIG_AsVal_bool(obj
, (bool*)0);
1637 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1643 } else if (target
== Py_None
) {
1647 if (!PyTuple_Check(target
)) {
1649 target
= PyTuple_New(1);
1650 PyTuple_SetItem(target
, 0, o2
);
1652 o3
= PyTuple_New(1);
1653 PyTuple_SetItem(o3
, 0, o
);
1656 target
= PySequence_Concat(o2
, o3
);
1666 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1669 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1670 SWIG_type_error("unsigned number", obj
);
1673 *val
= (unsigned long)v
;
1678 SWIGINTERNSHORT
unsigned long
1679 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1682 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1684 this is needed to make valgrind/purify happier.
1686 memset((void*)&v
, 0, sizeof(unsigned long));
1693 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1695 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1699 SWIGINTERNSHORT PyObject
*
1700 SWIG_From_unsigned_SS_long(unsigned long value
)
1702 return (value
> LONG_MAX
) ?
1703 PyLong_FromUnsignedLong(value
)
1704 : PyInt_FromLong((long)(value
));
1708 void* wxGetXDisplay()
1711 return wxGetDisplay();
1718 bool wxThread_IsMain() {
1719 #ifdef WXP_WITH_THREAD
1720 return wxThread::IsMain();
1726 static void wxCaret_Destroy(wxCaret
*self
){
1730 #include <wx/snglinst.h>
1734 #include <wx/msw/private.h>
1735 #include <wx/dynload.h>
1740 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1751 // This one only partially works. Appears to be an undocumented
1752 // "standard" convention that not all widgets adhear to. For
1753 // example, for some widgets backgrounds or non-client areas may
1755 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1760 // This one works much better, nearly all widgets and their
1761 // children are captured correctly[**]. Prior to the big
1762 // background erase changes that Vadim did in 2004-2005 this
1763 // method failed badly on XP with Themes activated, most native
1764 // widgets draw only partially, if at all. Without themes it
1765 // worked just like on Win2k. After those changes this method
1768 // ** For example the radio buttons in a wxRadioBox are not its
1769 // children by default, but you can capture it via the panel
1770 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1771 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1772 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1773 PRF_ERASEBKGND
| PRF_OWNED
);
1779 // This one is only defined in the latest SDK and is only
1780 // available on XP. MSDN says it is similar to sending WM_PRINT
1781 // so I expect that it will work similar to the above. Since it
1782 // is avaialble only on XP, it can't be compiled like this and
1783 // will have to be loaded dynamically.
1784 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1789 // Use PrintWindow if available, or fallback to WM_PRINT
1790 // otherwise. Unfortunately using PrintWindow is even worse than
1791 // WM_PRINT. For most native widgets nothing is drawn to the dc
1792 // at all, with or without Themes.
1793 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1794 static bool s_triedToLoad
= false;
1795 static PrintWindow_t pfnPrintWindow
= NULL
;
1796 if ( !s_triedToLoad
)
1799 s_triedToLoad
= true;
1800 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1801 if ( dllUser32
.IsLoaded() )
1803 wxLogNull nolog
; // Don't report errors here
1804 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1809 //printf("Using PrintWindow\n");
1810 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1814 //printf("Using WM_PRINT\n");
1815 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1816 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1817 PRF_ERASEBKGND
| PRF_OWNED
);
1828 #include <wx/tipdlg.h>
1831 class wxPyTipProvider
: public wxTipProvider
{
1833 wxPyTipProvider(size_t currentTip
)
1834 : wxTipProvider(currentTip
) {}
1836 DEC_PYCALLBACK_STRING__pure(GetTip
);
1837 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1841 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1842 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1845 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1847 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1849 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1850 : wxTimer(owner
, id
)
1852 if (owner
== NULL
) SetOwner(this);
1856 void wxPyTimer::Notify() {
1858 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1859 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1860 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1861 wxPyEndBlockThreads(blocked
);
1865 void wxPyTimer::base_Notify() {
1871 SWIGINTERN PyObject
*
1872 SWIG_FromCharPtr(const char* cptr
)
1875 size_t size
= strlen(cptr
);
1876 if (size
> INT_MAX
) {
1877 return SWIG_NewPointerObj((char*)(cptr
),
1878 SWIG_TypeQuery("char *"), 0);
1881 return PyString_FromStringAndSize(cptr
, size
);
1883 return PyString_FromString(cptr
);
1893 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1894 unsigned long max_value
,
1897 if (value
> max_value
) {
1899 PyErr_Format(PyExc_OverflowError
,
1900 "value %lu is greater than '%s' minimum %lu",
1901 value
, errmsg
, max_value
);
1909 #if UINT_MAX != ULONG_MAX
1911 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1913 const char* errmsg
= val
? "unsigned int" : (char*)0;
1915 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1916 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1917 if (val
) *val
= (unsigned int)(v
);
1924 SWIG_type_error(errmsg
, obj
);
1929 SWIGINTERNSHORT
unsigned int
1930 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1932 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1937 SWIGINTERNSHORT
unsigned int
1938 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1941 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1943 this is needed to make valgrind/purify happier.
1945 memset((void*)&v
, 0, sizeof(unsigned int));
1952 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1954 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1957 static wxString
Log_TimeStamp(){
1959 wxLog::TimeStamp(&msg
);
1962 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1963 // Make somce wrappers that double any % signs so they are 'escaped'
1964 void wxPyLogFatalError(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogError(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogWarning(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogMessage(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogInfo(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogDebug(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogVerbose(const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2013 void wxPyLogStatus(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogStatus(pFrame
, m
);
2027 void wxPyLogSysError(const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2034 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogGeneric(level
, m
);
2041 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2044 m
.Replace(wxT("%"), wxT("%%"));
2045 wxLogTrace(mask
, m
);
2048 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2051 m
.Replace(wxT("%"), wxT("%%"));
2052 wxLogTrace(mask
, m
);
2057 // A wxLog class that can be derived from in wxPython
2058 class wxPyLog
: public wxLog
{
2060 wxPyLog() : wxLog() {}
2062 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2065 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2066 PyObject
* s
= wx2PyString(szString
);
2067 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2070 wxPyEndBlockThreads(blocked
);
2072 wxLog::DoLog(level
, szString
, t
);
2075 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2078 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2079 PyObject
* s
= wx2PyString(szString
);
2080 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2083 wxPyEndBlockThreads(blocked
);
2085 wxLog::DoLogString(szString
, t
);
2094 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2097 #include <wx/joystick.h>
2100 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2101 // A C++ stub class for wxJoystick for platforms that don't have it.
2102 class wxJoystick
: public wxObject
{
2104 wxJoystick(int joystick
= wxJOYSTICK1
) {
2105 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2106 PyErr_SetString(PyExc_NotImplementedError
,
2107 "wxJoystick is not available on this platform.");
2108 wxPyEndBlockThreads(blocked
);
2110 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2111 int GetZPosition() { return -1; }
2112 int GetButtonState() { return -1; }
2113 int GetPOVPosition() { return -1; }
2114 int GetPOVCTSPosition() { return -1; }
2115 int GetRudderPosition() { return -1; }
2116 int GetUPosition() { return -1; }
2117 int GetVPosition() { return -1; }
2118 int GetMovementThreshold() { return -1; }
2119 void SetMovementThreshold(int threshold
) {}
2121 bool IsOk(void) { return false; }
2122 int GetNumberJoysticks() { return -1; }
2123 int GetManufacturerId() { return -1; }
2124 int GetProductId() { return -1; }
2125 wxString
GetProductName() { return wxEmptyString
; }
2126 int GetXMin() { return -1; }
2127 int GetYMin() { return -1; }
2128 int GetZMin() { return -1; }
2129 int GetXMax() { return -1; }
2130 int GetYMax() { return -1; }
2131 int GetZMax() { return -1; }
2132 int GetNumberButtons() { return -1; }
2133 int GetNumberAxes() { return -1; }
2134 int GetMaxButtons() { return -1; }
2135 int GetMaxAxes() { return -1; }
2136 int GetPollingMin() { return -1; }
2137 int GetPollingMax() { return -1; }
2138 int GetRudderMin() { return -1; }
2139 int GetRudderMax() { return -1; }
2140 int GetUMin() { return -1; }
2141 int GetUMax() { return -1; }
2142 int GetVMin() { return -1; }
2143 int GetVMax() { return -1; }
2145 bool HasRudder() { return false; }
2146 bool HasZ() { return false; }
2147 bool HasU() { return false; }
2148 bool HasV() { return false; }
2149 bool HasPOV() { return false; }
2150 bool HasPOV4Dir() { return false; }
2151 bool HasPOVCTS() { return false; }
2153 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2154 bool ReleaseCapture() { return false; }
2159 #include <wx/sound.h>
2163 // A C++ stub class for wxWave for platforms that don't have it.
2164 class wxSound
: public wxObject
2168 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2169 PyErr_SetString(PyExc_NotImplementedError
,
2170 "wxSound is not available on this platform.");
2171 wxPyEndBlockThreads(blocked
);
2173 wxSound(const wxString
&/*, bool*/) {
2174 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2175 PyErr_SetString(PyExc_NotImplementedError
,
2176 "wxSound is not available on this platform.");
2177 wxPyEndBlockThreads(blocked
);
2179 wxSound(int, const wxByte
*) {
2180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2181 PyErr_SetString(PyExc_NotImplementedError
,
2182 "wxSound is not available on this platform.");
2183 wxPyEndBlockThreads(blocked
);
2188 bool Create(const wxString
&/*, bool*/) { return false; }
2189 bool Create(int, const wxByte
*) { return false; };
2190 bool IsOk() { return false; };
2191 bool Play(unsigned) const { return false; }
2192 static bool Play(const wxString
&, unsigned) { return false; }
2193 static void Stop() {}
2198 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2199 if (fileName
.Length() == 0)
2202 return new wxSound(fileName
);
2204 static wxSound
*new_wxSound(PyObject
*data
){
2205 unsigned char* buffer
; int size
;
2206 wxSound
*sound
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 sound
= new wxSound(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2218 unsigned char* buffer
;
2222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2223 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2225 rv
= self
->Create(size
, buffer
);
2227 wxPyEndBlockThreads(blocked
);
2230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2231 PyErr_SetString(PyExc_NotImplementedError
,
2232 "Create from data is not available on this platform.");
2233 wxPyEndBlockThreads(blocked
);
2238 #include <wx/mimetype.h>
2240 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2242 if (self
->GetMimeType(&str
))
2243 return wx2PyString(str
);
2247 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2249 if (self
->GetMimeTypes(arr
))
2250 return wxArrayString2PyList_helper(arr
);
2254 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2256 if (self
->GetExtensions(arr
))
2257 return wxArrayString2PyList_helper(arr
);
2261 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2263 if (self
->GetIcon(&loc
))
2264 return new wxIcon(loc
);
2268 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2270 if (self
->GetIcon(&loc
)) {
2271 wxString iconFile
= loc
.GetFileName();
2276 // Make a tuple and put the values in it
2277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2278 PyObject
* tuple
= PyTuple_New(3);
2279 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2280 wxT("wxIcon"), true));
2281 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2282 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2283 wxPyEndBlockThreads(blocked
);
2289 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2291 if (self
->GetDescription(&str
))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2298 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2299 return wx2PyString(str
);
2303 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2305 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2306 return wx2PyString(str
);
2310 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2311 wxArrayString verbs
;
2312 wxArrayString commands
;
2313 if (self
->GetAllCommands(&verbs
, &commands
,
2314 wxFileType::MessageParameters(filename
, mimetype
))) {
2315 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2316 PyObject
* tuple
= PyTuple_New(2);
2317 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2318 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2319 wxPyEndBlockThreads(blocked
);
2325 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2326 return wxFileType::ExpandCommand(command
,
2327 wxFileType::MessageParameters(filename
, mimetype
));
2329 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2331 self
->EnumAllFileTypes(arr
);
2332 return wxArrayString2PyList_helper(arr
);
2335 #include <wx/artprov.h>
2337 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2338 static const wxString
wxPyART_MENU(wxART_MENU
);
2339 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2340 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2341 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2342 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2343 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2344 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2345 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2346 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2347 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2348 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2349 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2350 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2351 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2352 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2353 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2354 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2355 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2356 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2357 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2358 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2359 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2360 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2361 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2362 static const wxString
wxPyART_HELP(wxART_HELP
);
2363 static const wxString
wxPyART_TIP(wxART_TIP
);
2364 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2365 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2366 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2367 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2368 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2369 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2370 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2371 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2372 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2373 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2374 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2375 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2376 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2377 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2378 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2379 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2380 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2381 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2382 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2383 static const wxString
wxPyART_COPY(wxART_COPY
);
2384 static const wxString
wxPyART_CUT(wxART_CUT
);
2385 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2386 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2387 static const wxString
wxPyART_NEW(wxART_NEW
);
2388 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2389 static const wxString
wxPyART_REDO(wxART_REDO
);
2390 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2391 static const wxString
wxPyART_FIND(wxART_FIND
);
2392 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2393 // Python aware wxArtProvider
2394 class wxPyArtProvider
: public wxArtProvider
{
2397 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2398 const wxArtClient
& client
,
2399 const wxSize
& size
) {
2400 wxBitmap rval
= wxNullBitmap
;
2401 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2402 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2403 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2407 s1
= wx2PyString(id
);
2408 s2
= wx2PyString(client
);
2409 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2414 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2419 wxPyEndBlockThreads(blocked
);
2426 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2430 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2431 PyObject
* ret
= PyTuple_New(3);
2433 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2434 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2435 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2440 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2445 cont
= self
->GetFirstGroup(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextGroup(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2460 cont
= self
->GetFirstEntry(value
, index
);
2461 return __EnumerationHelper(cont
, value
, index
);
2463 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2467 cont
= self
->GetNextEntry(value
, index
);
2468 return __EnumerationHelper(cont
, value
, index
);
2470 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2472 self
->Read(key
, &rv
, defaultVal
);
2477 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2479 if (PyNumber_Check(obj
)) {
2480 if (val
) *val
= PyFloat_AsDouble(obj
);
2484 SWIG_type_error("number", obj
);
2490 SWIGINTERNSHORT
double
2491 SWIG_As_double(PyObject
* obj
)
2494 if (!SWIG_AsVal_double(obj
, &v
)) {
2496 this is needed to make valgrind/purify happier.
2498 memset((void*)&v
, 0, sizeof(double));
2505 SWIG_Check_double(PyObject
* obj
)
2507 return SWIG_AsVal_double(obj
, (double*)0);
2510 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2512 self
->Read(key
, &rv
, defaultVal
);
2516 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2517 #define SWIG_From_double PyFloat_FromDouble
2520 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2522 self
->Read(key
, &rv
, defaultVal
);
2526 #include <wx/datetime.h>
2528 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2529 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2531 #define LOCAL_TZ wxDateTime::Local
2533 static PyObject
*DateTime_GetAmPmStrings(){
2536 wxDateTime::GetAmPmStrings(&am
, &pm
);
2537 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2538 PyObject
* tup
= PyTuple_New(2);
2539 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2540 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2541 wxPyEndBlockThreads(blocked
);
2545 #if UINT_MAX < LONG_MAX
2546 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2547 #define SWIG_From_unsigned_SS_int SWIG_From_long
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2555 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2556 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2557 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2558 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2559 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2560 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2561 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2562 return (*self
< *other
);
2564 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2565 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2566 return (*self
<= *other
);
2568 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2569 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2570 return (*self
> *other
);
2572 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2573 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2574 return (*self
>= *other
);
2576 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2577 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2578 return (*self
== *other
);
2580 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2581 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2582 return (*self
!= *other
);
2584 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2586 const wxChar
* _date
= date
;
2587 rv
= self
->ParseRfc822Date(_date
);
2588 if (rv
== NULL
) return -1;
2591 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2593 const wxChar
* _date
= date
;
2594 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2595 if (rv
== NULL
) return -1;
2598 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2600 const wxChar
* _datetime
= datetime
;
2601 rv
= self
->ParseDateTime(_datetime
);
2602 if (rv
== NULL
) return -1;
2603 return rv
- _datetime
;
2605 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2607 const wxChar
* _date
= date
;
2608 rv
= self
->ParseDate(_date
);
2609 if (rv
== NULL
) return -1;
2612 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2614 const wxChar
* _time
= time
;
2615 rv
= self
->ParseTime(_time
);
2616 if (rv
== NULL
) return -1;
2619 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2620 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2621 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2622 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2623 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2624 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2625 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2626 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2627 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2628 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2629 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2630 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2631 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2632 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2633 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2634 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2636 #include <wx/dataobj.h>
2638 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2639 size_t count
= self
->GetFormatCount(dir
);
2640 wxDataFormat
* formats
= new wxDataFormat
[count
];
2641 self
->GetAllFormats(formats
, dir
);
2643 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2644 PyObject
* list
= PyList_New(count
);
2645 for (size_t i
=0; i
<count
; i
++) {
2646 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2647 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2648 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2650 wxPyEndBlockThreads(blocked
);
2654 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2655 PyObject
* rval
= NULL
;
2656 size_t size
= self
->GetDataSize(format
);
2657 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2659 char* buf
= new char[size
];
2660 if (self
->GetDataHere(format
, buf
))
2661 rval
= PyString_FromStringAndSize(buf
, size
);
2668 wxPyEndBlockThreads(blocked
);
2671 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2673 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2674 if (PyString_Check(data
)) {
2675 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2678 // raise a TypeError if not a string
2679 PyErr_SetString(PyExc_TypeError
, "String expected.");
2682 wxPyEndBlockThreads(blocked
);
2685 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2686 PyObject
* rval
= NULL
;
2687 size_t size
= self
->GetDataSize();
2688 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2690 char* buf
= new char[size
];
2691 if (self
->GetDataHere(buf
))
2692 rval
= PyString_FromStringAndSize(buf
, size
);
2699 wxPyEndBlockThreads(blocked
);
2702 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2704 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2705 if (PyString_Check(data
)) {
2706 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2709 // raise a TypeError if not a string
2710 PyErr_SetString(PyExc_TypeError
, "String expected.");
2713 wxPyEndBlockThreads(blocked
);
2716 // Create a new class for wxPython to use
2717 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2719 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2720 : wxDataObjectSimple(format
) {}
2722 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2723 bool GetDataHere(void *buf
) const;
2724 bool SetData(size_t len
, const void *buf
) const;
2728 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2730 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2731 // We need to get the data for this object and write it to buf. I think
2732 // the best way to do this for wxPython is to have the Python method
2733 // return either a string or None and then act appropriately with the
2737 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2738 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2740 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2742 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2744 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2748 wxPyEndBlockThreads(blocked
);
2752 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2753 // For this one we simply need to make a string from buf and len
2754 // and send it to the Python method.
2756 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2757 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2758 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2759 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2762 wxPyEndBlockThreads(blocked
);
2766 // Create a new class for wxPython to use
2767 class wxPyTextDataObject
: public wxTextDataObject
{
2769 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2770 : wxTextDataObject(text
) {}
2772 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2773 DEC_PYCALLBACK_STRING__const(GetText
);
2774 DEC_PYCALLBACK__STRING(SetText
);
2778 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2779 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2780 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2783 // Create a new class for wxPython to use
2784 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2786 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2787 : wxBitmapDataObject(bitmap
) {}
2789 wxBitmap
GetBitmap() const;
2790 void SetBitmap(const wxBitmap
& bitmap
);
2794 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2795 wxBitmap
* rval
= &wxNullBitmap
;
2796 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2797 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2800 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2802 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2807 wxPyEndBlockThreads(blocked
);
2811 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2813 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2814 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2815 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2818 wxPyEndBlockThreads(blocked
);
2821 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2822 return new wxCustomDataObject(wxDataFormat(formatName
));
2824 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2826 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2827 if (PyString_Check(data
)) {
2828 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2831 // raise a TypeError if not a string
2832 PyErr_SetString(PyExc_TypeError
, "String expected.");
2835 wxPyEndBlockThreads(blocked
);
2838 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2842 wxPyEndBlockThreads(blocked
);
2846 #include <wx/metafile.h>
2849 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2852 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2853 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2854 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2855 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2856 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2859 class wxPyTextDropTarget
: public wxTextDropTarget
{
2861 wxPyTextDropTarget() {}
2863 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2865 DEC_PYCALLBACK__(OnLeave
);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2868 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2869 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2874 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2875 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2876 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2877 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2878 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2879 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2883 class wxPyFileDropTarget
: public wxFileDropTarget
{
2885 wxPyFileDropTarget() {}
2887 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2889 DEC_PYCALLBACK__(OnLeave
);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2892 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2893 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2898 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2899 const wxArrayString
& filenames
) {
2901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2902 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2903 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2904 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2907 wxPyEndBlockThreads(blocked
);
2913 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2914 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2915 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2916 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2917 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2922 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2924 #include <wx/display.h>
2926 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2927 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2929 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2931 #include <wx/dynarray.h>
2932 #include <wx/vidmode.h>
2934 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2935 #include "wx/arrimpl.cpp"
2936 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2937 const wxVideoMode wxDefaultVideoMode
;
2942 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2945 static size_t GetCount()
2946 { wxPyRaiseNotImplemented(); return 0; }
2948 static int GetFromPoint(const wxPoint
& pt
)
2949 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2950 static int GetFromWindow(wxWindow
*window
)
2951 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2953 virtual bool IsOk() const { return false; }
2954 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2955 virtual wxString
GetName() const { return wxEmptyString
; }
2956 bool IsPrimary() const { return false; }
2958 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2959 { wxArrayVideoModes a
; return a
; }
2961 virtual wxVideoMode
GetCurrentMode() const
2962 { return wxDefaultVideoMode
; }
2964 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2971 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2972 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2973 PyObject
* pyList
= NULL
;
2974 wxArrayVideoModes arr
= self
->GetModes(mode
);
2975 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2976 pyList
= PyList_New(0);
2977 for (int i
=0; i
< arr
.GetCount(); i
++) {
2978 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2979 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2980 PyList_Append(pyList
, pyObj
);
2983 wxPyEndBlockThreads(blocked
);
2987 #include <wx/stdpaths.h>
2989 static wxStandardPaths
*StandardPaths_Get(){
2990 return (wxStandardPaths
*) &wxStandardPaths::Get();
2992 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2993 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2997 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxSystemColour arg1
;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "index", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3008 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 if (!wxPyCheckForApp()) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 wxColour
* resultptr
;
3021 resultptr
= new wxColour((wxColour
&)(result
));
3022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3030 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "index", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3041 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3042 if (SWIG_arg_fail(1)) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3054 resultptr
= new wxFont((wxFont
&)(result
));
3055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3063 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxSystemMetric arg1
;
3066 wxWindow
*arg2
= (wxWindow
*) NULL
;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "index",(char *) "win", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3076 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3077 if (SWIG_arg_fail(1)) SWIG_fail
;
3080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3081 if (SWIG_arg_fail(2)) SWIG_fail
;
3084 if (!wxPyCheckForApp()) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3092 resultobj
= SWIG_From_int((int)(result
));
3100 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxSystemFeature arg1
;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "index", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3111 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3112 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 if (!wxPyCheckForApp()) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3131 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxSystemScreenType result
;
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3140 if (!wxPyCheckForApp()) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= SWIG_From_int((result
));
3154 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxSystemScreenType arg1
;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "screen", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3164 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3165 if (SWIG_arg_fail(1)) SWIG_fail
;
3168 if (!wxPyCheckForApp()) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 Py_INCREF(Py_None
); resultobj
= Py_None
;
3182 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3185 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3187 return Py_BuildValue((char *)"");
3189 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3190 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3195 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3200 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3202 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3209 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxSystemOptions
*result
;
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (wxSystemOptions
*)new wxSystemOptions();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3231 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxString
*arg1
= 0 ;
3234 wxString
*arg2
= 0 ;
3235 bool temp1
= false ;
3236 bool temp2
= false ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "name",(char *) "value", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 arg1
= wxString_in_helper(obj0
);
3246 if (arg1
== NULL
) SWIG_fail
;
3250 arg2
= wxString_in_helper(obj1
);
3251 if (arg2
== NULL
) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxString
*arg1
= 0 ;
3288 bool temp1
= false ;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3292 (char *) "name",(char *) "value", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 arg1
= wxString_in_helper(obj0
);
3298 if (arg1
== NULL
) SWIG_fail
;
3302 arg2
= (int)(SWIG_As_int(obj1
));
3303 if (SWIG_arg_fail(2)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxString
*arg1
= 0 ;
3331 bool temp1
= false ;
3332 PyObject
* obj0
= 0 ;
3334 (char *) "name", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3339 arg1
= wxString_in_helper(obj0
);
3340 if (arg1
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3371 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxString
*arg1
= 0 ;
3375 bool temp1
= false ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "name", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3383 arg1
= wxString_in_helper(obj0
);
3384 if (arg1
== NULL
) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= SWIG_From_int((int)(result
));
3411 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxString
*arg1
= 0 ;
3415 bool temp1
= false ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "name", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3423 arg1
= wxString_in_helper(obj0
);
3424 if (arg1
== NULL
) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3451 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxString
*arg1
= 0 ;
3455 bool temp1
= false ;
3456 PyObject
* obj0
= 0 ;
3458 (char *) "name", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3463 arg1
= wxString_in_helper(obj0
);
3464 if (arg1
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3491 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3494 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3496 return Py_BuildValue((char *)"");
3498 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3499 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3504 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3509 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3511 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3518 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3519 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3524 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3529 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3531 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3538 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3539 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3544 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3549 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3551 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3558 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (long)wxNewId();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_From_long((long)(result
));
3582 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3585 PyObject
* obj0
= 0 ;
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3592 arg1
= (long)(SWIG_As_long(obj0
));
3593 if (SWIG_arg_fail(1)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (long)wxGetCurrentId();
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_From_long((long)(result
));
3633 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3637 PyObject
* obj0
= 0 ;
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3644 arg1
= (int)(SWIG_As_int(obj0
));
3645 if (SWIG_arg_fail(1)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)wxIsStockID(arg1
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3666 wxString
*arg2
= 0 ;
3668 bool temp2
= false ;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3672 (char *) "id",(char *) "label", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3677 arg1
= (int)(SWIG_As_int(obj0
));
3678 if (SWIG_arg_fail(1)) SWIG_fail
;
3681 arg2
= wxString_in_helper(obj1
);
3682 if (arg2
== NULL
) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3709 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3712 bool arg2
= (bool) true ;
3713 wxString arg3
= (wxString
) wxPyEmptyString
;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3719 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3724 arg1
= (int)(SWIG_As_int(obj0
));
3725 if (SWIG_arg_fail(1)) SWIG_fail
;
3729 arg2
= (bool)(SWIG_As_bool(obj1
));
3730 if (SWIG_arg_fail(2)) SWIG_fail
;
3735 wxString
* sptr
= wxString_in_helper(obj2
);
3736 if (sptr
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3761 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3769 if (!wxPyCheckForApp()) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3791 if (!wxPyCheckForApp()) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 bool arg1
= (bool) true ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "resetTimer", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3817 arg1
= (bool)(SWIG_As_bool(obj0
));
3818 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (long)wxGetElapsedTime(arg1
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_long((long)(result
));
3837 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 int *arg1
= (int *) 0 ;
3840 int *arg2
= (int *) 0 ;
3849 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3850 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3853 if (!wxPyCheckForApp()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 wxGetMousePosition(arg1
,arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3862 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3863 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3864 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3871 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)wxIsBusy();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3895 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3923 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3926 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3928 bool temp1
= false ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "command", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3937 arg1
= wxString_in_helper(obj0
);
3938 if (arg1
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)wxShell((wxString
const &)*arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3966 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 int *arg1
= (int *) 0 ;
3990 int *arg2
= (int *) 0 ;
4000 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (int)wxGetOsVersion(arg1
,arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_From_int((int)(result
));
4013 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4014 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4015 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4016 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4023 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= wxGetOsDescription();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4051 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxMemorySize result
;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= wxGetFreeMemory();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 wxMemorySize
* resultptr
;
4068 resultptr
= new wxMemorySize((wxMemorySize
&)(result
));
4069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4077 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxShutdownFlags arg1
;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "wFlags", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4088 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4089 if (SWIG_arg_fail(1)) SWIG_fail
;
4092 if (!wxPyCheckForApp()) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4108 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "secs", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4118 arg1
= (int)(SWIG_As_int(obj0
));
4119 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 unsigned long arg1
;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "milliseconds", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4145 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 unsigned long arg1
;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "microseconds", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4172 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "enable", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4199 arg1
= (bool)(SWIG_As_bool(obj0
));
4200 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 wxEnableTopLevelWindows(arg1
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxString
*arg1
= 0 ;
4220 bool temp1
= false ;
4221 PyObject
* obj0
= 0 ;
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4228 arg1
= wxString_in_helper(obj0
);
4229 if (arg1
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4260 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= wxGetEmailAddress();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4288 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= wxGetHostName();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4316 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= wxGetFullHostName();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4344 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= wxGetUserId();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4372 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= wxGetUserName();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4400 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= wxGetHomeDir();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4428 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4431 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4433 bool temp1
= false ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "user", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4442 arg1
= wxString_in_helper(obj0
);
4443 if (arg1
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= wxGetUserHome((wxString
const &)*arg1
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4475 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 unsigned long result
;
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (unsigned long)wxGetProcessId();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4499 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4523 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4524 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4525 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4530 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4531 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4532 int arg6
= (int) 0 ;
4533 wxWindow
*arg7
= (wxWindow
*) NULL
;
4534 int arg8
= (int) -1 ;
4535 int arg9
= (int) -1 ;
4537 bool temp1
= false ;
4538 bool temp2
= false ;
4539 bool temp3
= false ;
4540 bool temp4
= false ;
4541 bool temp5
= false ;
4542 PyObject
* obj0
= 0 ;
4543 PyObject
* obj1
= 0 ;
4544 PyObject
* obj2
= 0 ;
4545 PyObject
* obj3
= 0 ;
4546 PyObject
* obj4
= 0 ;
4547 PyObject
* obj5
= 0 ;
4548 PyObject
* obj6
= 0 ;
4549 PyObject
* obj7
= 0 ;
4550 PyObject
* obj8
= 0 ;
4552 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4558 arg1
= wxString_in_helper(obj0
);
4559 if (arg1
== NULL
) SWIG_fail
;
4565 arg2
= wxString_in_helper(obj1
);
4566 if (arg2
== NULL
) SWIG_fail
;
4572 arg3
= wxString_in_helper(obj2
);
4573 if (arg3
== NULL
) SWIG_fail
;
4579 arg4
= wxString_in_helper(obj3
);
4580 if (arg4
== NULL
) SWIG_fail
;
4586 arg5
= wxString_in_helper(obj4
);
4587 if (arg5
== NULL
) SWIG_fail
;
4593 arg6
= (int)(SWIG_As_int(obj5
));
4594 if (SWIG_arg_fail(6)) SWIG_fail
;
4598 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(7)) SWIG_fail
;
4603 arg8
= (int)(SWIG_As_int(obj7
));
4604 if (SWIG_arg_fail(8)) SWIG_fail
;
4609 arg9
= (int)(SWIG_As_int(obj8
));
4610 if (SWIG_arg_fail(9)) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4674 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxString
*arg1
= 0 ;
4677 wxString
*arg2
= 0 ;
4678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4680 wxWindow
*arg4
= (wxWindow
*) NULL
;
4682 bool temp1
= false ;
4683 bool temp2
= false ;
4684 bool temp3
= false ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 PyObject
* obj3
= 0 ;
4690 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4695 arg1
= wxString_in_helper(obj0
);
4696 if (arg1
== NULL
) SWIG_fail
;
4700 arg2
= wxString_in_helper(obj1
);
4701 if (arg2
== NULL
) SWIG_fail
;
4706 arg3
= wxString_in_helper(obj2
);
4707 if (arg3
== NULL
) SWIG_fail
;
4712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4713 if (SWIG_arg_fail(4)) SWIG_fail
;
4716 if (!wxPyCheckForApp()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4760 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxString
*arg1
= 0 ;
4763 wxString
*arg2
= 0 ;
4764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4766 wxWindow
*arg4
= (wxWindow
*) NULL
;
4768 bool temp1
= false ;
4769 bool temp2
= false ;
4770 bool temp3
= false ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4776 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4781 arg1
= wxString_in_helper(obj0
);
4782 if (arg1
== NULL
) SWIG_fail
;
4786 arg2
= wxString_in_helper(obj1
);
4787 if (arg2
== NULL
) SWIG_fail
;
4792 arg3
= wxString_in_helper(obj2
);
4793 if (arg3
== NULL
) SWIG_fail
;
4798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4799 if (SWIG_arg_fail(4)) SWIG_fail
;
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4846 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4849 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4850 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4851 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4852 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4855 wxWindow
*arg5
= (wxWindow
*) NULL
;
4857 bool temp1
= false ;
4858 bool temp2
= false ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4863 PyObject
* obj3
= 0 ;
4864 PyObject
* obj4
= 0 ;
4866 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4872 arg1
= wxString_in_helper(obj0
);
4873 if (arg1
== NULL
) SWIG_fail
;
4879 arg2
= wxString_in_helper(obj1
);
4880 if (arg2
== NULL
) SWIG_fail
;
4886 arg3
= (long)(SWIG_As_long(obj2
));
4887 if (SWIG_arg_fail(3)) SWIG_fail
;
4893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4897 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4898 if (SWIG_arg_fail(5)) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4937 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxString
*arg1
= 0 ;
4940 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4941 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4944 wxWindow
*arg4
= (wxWindow
*) NULL
;
4945 int arg5
= (int) -1 ;
4946 int arg6
= (int) -1 ;
4947 bool arg7
= (bool) true ;
4949 bool temp1
= false ;
4950 bool temp2
= false ;
4951 bool temp3
= false ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4957 PyObject
* obj5
= 0 ;
4958 PyObject
* obj6
= 0 ;
4960 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4965 arg1
= wxString_in_helper(obj0
);
4966 if (arg1
== NULL
) SWIG_fail
;
4971 arg2
= wxString_in_helper(obj1
);
4972 if (arg2
== NULL
) SWIG_fail
;
4978 arg3
= wxString_in_helper(obj2
);
4979 if (arg3
== NULL
) SWIG_fail
;
4984 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(4)) SWIG_fail
;
4989 arg5
= (int)(SWIG_As_int(obj4
));
4990 if (SWIG_arg_fail(5)) SWIG_fail
;
4995 arg6
= (int)(SWIG_As_int(obj5
));
4996 if (SWIG_arg_fail(6)) SWIG_fail
;
5001 arg7
= (bool)(SWIG_As_bool(obj6
));
5002 if (SWIG_arg_fail(7)) SWIG_fail
;
5006 if (!wxPyCheckForApp()) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5050 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxString
*arg1
= 0 ;
5053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5057 wxWindow
*arg4
= (wxWindow
*) NULL
;
5059 bool temp1
= false ;
5060 bool temp2
= false ;
5061 bool temp3
= false ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5067 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5072 arg1
= wxString_in_helper(obj0
);
5073 if (arg1
== NULL
) SWIG_fail
;
5078 arg2
= wxString_in_helper(obj1
);
5079 if (arg2
== NULL
) SWIG_fail
;
5085 arg3
= wxString_in_helper(obj2
);
5086 if (arg3
== NULL
) SWIG_fail
;
5091 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(4)) SWIG_fail
;
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5139 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxString
*arg1
= 0 ;
5142 wxString
*arg2
= 0 ;
5144 wxString
*arg4
= (wxString
*) 0 ;
5145 wxWindow
*arg5
= (wxWindow
*) NULL
;
5146 int arg6
= (int) -1 ;
5147 int arg7
= (int) -1 ;
5148 bool arg8
= (bool) true ;
5149 int arg9
= (int) 150 ;
5150 int arg10
= (int) 200 ;
5152 bool temp1
= false ;
5153 bool temp2
= false ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5158 PyObject
* obj4
= 0 ;
5159 PyObject
* obj5
= 0 ;
5160 PyObject
* obj6
= 0 ;
5161 PyObject
* obj7
= 0 ;
5162 PyObject
* obj8
= 0 ;
5164 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5169 arg1
= wxString_in_helper(obj0
);
5170 if (arg1
== NULL
) SWIG_fail
;
5174 arg2
= wxString_in_helper(obj1
);
5175 if (arg2
== NULL
) SWIG_fail
;
5179 arg3
= PyList_Size(obj2
);
5180 arg4
= wxString_LIST_helper(obj2
);
5181 if (arg4
== NULL
) SWIG_fail
;
5184 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(5)) SWIG_fail
;
5189 arg6
= (int)(SWIG_As_int(obj4
));
5190 if (SWIG_arg_fail(6)) SWIG_fail
;
5195 arg7
= (int)(SWIG_As_int(obj5
));
5196 if (SWIG_arg_fail(7)) SWIG_fail
;
5201 arg8
= (bool)(SWIG_As_bool(obj6
));
5202 if (SWIG_arg_fail(8)) SWIG_fail
;
5207 arg9
= (int)(SWIG_As_int(obj7
));
5208 if (SWIG_arg_fail(9)) SWIG_fail
;
5213 arg10
= (int)(SWIG_As_int(obj8
));
5214 if (SWIG_arg_fail(10)) SWIG_fail
;
5218 if (!wxPyCheckForApp()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5241 if (arg4
) delete [] arg4
;
5254 if (arg4
) delete [] arg4
;
5260 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxString
*arg1
= 0 ;
5263 wxString
*arg2
= 0 ;
5265 wxString
*arg4
= (wxString
*) 0 ;
5266 wxWindow
*arg5
= (wxWindow
*) NULL
;
5267 int arg6
= (int) -1 ;
5268 int arg7
= (int) -1 ;
5269 bool arg8
= (bool) true ;
5270 int arg9
= (int) 150 ;
5271 int arg10
= (int) 200 ;
5273 bool temp1
= false ;
5274 bool temp2
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5285 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5290 arg1
= wxString_in_helper(obj0
);
5291 if (arg1
== NULL
) SWIG_fail
;
5295 arg2
= wxString_in_helper(obj1
);
5296 if (arg2
== NULL
) SWIG_fail
;
5300 arg3
= PyList_Size(obj2
);
5301 arg4
= wxString_LIST_helper(obj2
);
5302 if (arg4
== NULL
) SWIG_fail
;
5305 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(5)) SWIG_fail
;
5310 arg6
= (int)(SWIG_As_int(obj4
));
5311 if (SWIG_arg_fail(6)) SWIG_fail
;
5316 arg7
= (int)(SWIG_As_int(obj5
));
5317 if (SWIG_arg_fail(7)) SWIG_fail
;
5322 arg8
= (bool)(SWIG_As_bool(obj6
));
5323 if (SWIG_arg_fail(8)) SWIG_fail
;
5328 arg9
= (int)(SWIG_As_int(obj7
));
5329 if (SWIG_arg_fail(9)) SWIG_fail
;
5334 arg10
= (int)(SWIG_As_int(obj8
));
5335 if (SWIG_arg_fail(10)) SWIG_fail
;
5339 if (!wxPyCheckForApp()) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_From_int((int)(result
));
5358 if (arg4
) delete [] arg4
;
5371 if (arg4
) delete [] arg4
;
5377 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxString
*arg1
= 0 ;
5380 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5381 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5382 int arg3
= (int) wxOK
|wxCENTRE
;
5383 wxWindow
*arg4
= (wxWindow
*) NULL
;
5384 int arg5
= (int) -1 ;
5385 int arg6
= (int) -1 ;
5387 bool temp1
= false ;
5388 bool temp2
= false ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 PyObject
* obj2
= 0 ;
5392 PyObject
* obj3
= 0 ;
5393 PyObject
* obj4
= 0 ;
5394 PyObject
* obj5
= 0 ;
5396 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5401 arg1
= wxString_in_helper(obj0
);
5402 if (arg1
== NULL
) SWIG_fail
;
5407 arg2
= wxString_in_helper(obj1
);
5408 if (arg2
== NULL
) SWIG_fail
;
5414 arg3
= (int)(SWIG_As_int(obj2
));
5415 if (SWIG_arg_fail(3)) SWIG_fail
;
5419 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(4)) SWIG_fail
;
5424 arg5
= (int)(SWIG_As_int(obj4
));
5425 if (SWIG_arg_fail(5)) SWIG_fail
;
5430 arg6
= (int)(SWIG_As_int(obj5
));
5431 if (SWIG_arg_fail(6)) SWIG_fail
;
5435 if (!wxPyCheckForApp()) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_int((int)(result
));
5467 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5476 if (!wxPyCheckForApp()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (bool)wxColourDisplay();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5492 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5501 if (!wxPyCheckForApp()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)wxDisplayDepth();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5526 if (!wxPyCheckForApp()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (int)wxGetDisplayDepth();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_From_int((int)(result
));
5542 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 int *arg1
= (int *) 0 ;
5545 int *arg2
= (int *) 0 ;
5554 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5555 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5558 if (!wxPyCheckForApp()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 wxDisplaySize(arg1
,arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5567 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5568 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5569 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5576 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5585 if (!wxPyCheckForApp()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= wxGetDisplaySize();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5594 resultptr
= new wxSize((wxSize
&)(result
));
5595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5603 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 int *arg1
= (int *) 0 ;
5606 int *arg2
= (int *) 0 ;
5615 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5619 if (!wxPyCheckForApp()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxDisplaySizeMM(arg1
,arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5628 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5637 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= wxGetDisplaySizeMM();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5655 resultptr
= new wxSize((wxSize
&)(result
));
5656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5664 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 int *arg1
= (int *) 0 ;
5667 int *arg2
= (int *) 0 ;
5668 int *arg3
= (int *) 0 ;
5669 int *arg4
= (int *) 0 ;
5682 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5683 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5684 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5685 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5697 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5698 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5699 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5700 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5701 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5702 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5703 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5710 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5719 if (!wxPyCheckForApp()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= wxGetClientDisplayRect();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5728 resultptr
= new wxRect((wxRect
&)(result
));
5729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5737 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxCursor
*arg1
= 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "cursor", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 SWIG_null_ref("wxCursor");
5752 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 if (!wxPyCheckForApp()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5778 if (!wxPyCheckForApp()) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (void *)wxGetXDisplay();
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5792 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "cursor", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 if (!wxPyCheckForApp()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxBeginBusyCursor(arg1
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxWindow
*)wxGetActiveWindow();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= wxPyMake_wxObject(result
, 0);
5845 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5850 PyObject
* obj0
= 0 ;
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5858 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= wxPyMake_wxObject(result
, 0);
5877 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5882 PyObject
* obj0
= 0 ;
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= wxPyMake_wxObject(result
, 0);
5909 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxWindow
*arg1
= (wxWindow
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "win", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5922 if (!wxPyCheckForApp()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= wxPyMake_wxObject(result
, 0);
5938 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxString
*arg1
= 0 ;
5942 bool temp1
= false ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "url", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
5950 arg1
= wxString_in_helper(obj0
);
5951 if (arg1
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "key", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5989 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6017 if (!wxPyCheckForApp()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxWakeUpMainThread();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxMutexGuiLocker
*result
;
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6084 if (!wxPyCheckForApp()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6098 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "self", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6126 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6128 return Py_BuildValue((char *)"");
6130 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)wxThread_IsMain();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxString
*arg1
= 0 ;
6158 bool temp1
= false ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "tip", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6166 arg1
= wxString_in_helper(obj0
);
6167 if (arg1
== NULL
) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= wxPyMake_wxObject(result
, 1);
6195 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6198 wxString
*arg2
= 0 ;
6199 bool temp2
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "tip", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetTip((wxString
const &)*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (arg1
)->GetTip();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6268 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxWindow
*)(arg1
)->GetWindow();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= wxPyMake_wxObject(result
, 0);
6296 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "flag", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6306 arg1
= (bool)(SWIG_As_bool(obj0
));
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxToolTip::Enable(arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "milliseconds", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6333 arg1
= (long)(SWIG_As_long(obj0
));
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 wxToolTip::SetDelay(arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6353 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6355 return Py_BuildValue((char *)"");
6357 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxWindow
*arg1
= (wxWindow
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "window",(char *) "size", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6377 if (!wxPyCheckForApp()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6391 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxCaret
*arg1
= (wxCaret
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxCaret_Destroy(arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxCaret
*arg1
= (wxCaret
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->IsOk();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxCaret
*arg1
= (wxCaret
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->IsVisible();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxCaret
*arg1
= (wxCaret
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6483 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (arg1
)->GetPosition();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 wxPoint
* resultptr
;
6493 resultptr
= new wxPoint((wxPoint
&)(result
));
6494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6502 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxCaret
*arg1
= (wxCaret
*) 0 ;
6505 int *arg2
= (int *) 0 ;
6506 int *arg3
= (int *) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6517 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->GetPosition(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6530 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6531 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6532 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6539 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxCaret
*arg1
= (wxCaret
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (arg1
)->GetSize();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6560 resultptr
= new wxSize((wxSize
&)(result
));
6561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6569 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxCaret
*arg1
= (wxCaret
*) 0 ;
6572 int *arg2
= (int *) 0 ;
6573 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6584 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->GetSize(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6606 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxCaret
*arg1
= (wxCaret
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxWindow
*)(arg1
)->GetWindow();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= wxPyMake_wxObject(result
, 0);
6634 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxCaret
*arg1
= (wxCaret
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "x",(char *) "y", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 arg2
= (int)(SWIG_As_int(obj1
));
6651 if (SWIG_arg_fail(2)) SWIG_fail
;
6654 arg3
= (int)(SWIG_As_int(obj2
));
6655 if (SWIG_arg_fail(3)) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->Move(arg2
,arg3
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxCaret
*arg1
= (wxCaret
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "pt", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->Move((wxPoint
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxCaret
*arg1
= (wxCaret
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6712 (char *) "self",(char *) "width",(char *) "height", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 arg2
= (int)(SWIG_As_int(obj1
));
6720 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 arg3
= (int)(SWIG_As_int(obj2
));
6724 if (SWIG_arg_fail(3)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetSize(arg2
,arg3
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxCaret
*arg1
= (wxCaret
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "size", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6753 if (SWIG_arg_fail(1)) SWIG_fail
;
6756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetSize((wxSize
const &)*arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxCaret
*arg1
= (wxCaret
*) 0 ;
6775 int arg2
= (int) true ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6779 (char *) "self",(char *) "show", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6784 if (SWIG_arg_fail(1)) SWIG_fail
;
6787 arg2
= (int)(SWIG_As_int(obj1
));
6788 if (SWIG_arg_fail(2)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxCaret
*arg1
= (wxCaret
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6815 if (SWIG_arg_fail(1)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)wxCaret::GetBlinkTime();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_From_int((int)(result
));
6854 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "milliseconds", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6864 arg1
= (int)(SWIG_As_int(obj0
));
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxCaret::SetBlinkTime(arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6891 wxBusyCursor
*result
;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "cursor", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6900 if (SWIG_arg_fail(1)) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6917 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6927 if (SWIG_arg_fail(1)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6945 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6947 return Py_BuildValue((char *)"");
6949 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxWindow
*arg1
= (wxWindow
*) NULL
;
6952 wxWindowDisabler
*result
;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "winToSkip", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 if (!wxPyCheckForApp()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6978 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7006 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7008 return Py_BuildValue((char *)"");
7010 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxString
*arg1
= 0 ;
7014 bool temp1
= false ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "message", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7022 arg1
= wxString_in_helper(obj0
);
7023 if (arg1
== NULL
) SWIG_fail
;
7027 if (!wxPyCheckForApp()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7049 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7079 return Py_BuildValue((char *)"");
7081 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxStopWatch
*result
;
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxStopWatch
*)new wxStopWatch();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7103 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7106 long arg2
= (long) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "t0", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 arg2
= (long)(SWIG_As_long(obj1
));
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->Start(arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7197 if (SWIG_arg_fail(1)) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_From_long((long)(result
));
7214 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7217 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7219 return Py_BuildValue((char *)"");
7221 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 int arg1
= (int) 9 ;
7224 int arg2
= (int) wxID_FILE1
;
7225 wxFileHistory
*result
;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "maxFiles",(char *) "idBase", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 arg1
= (int)(SWIG_As_int(obj0
));
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 arg2
= (int)(SWIG_As_int(obj1
));
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7259 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7287 wxString
*arg2
= 0 ;
7288 bool temp2
= false ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7292 (char *) "self",(char *) "file", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7297 if (SWIG_arg_fail(1)) SWIG_fail
;
7299 arg2
= wxString_in_helper(obj1
);
7300 if (arg2
== NULL
) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "i", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7339 arg2
= (int)(SWIG_As_int(obj1
));
7340 if (SWIG_arg_fail(2)) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->RemoveFileFromHistory(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_From_int((int)(result
));
7384 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7387 wxMenu
*arg2
= (wxMenu
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7391 (char *) "self",(char *) "menu", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7396 if (SWIG_arg_fail(1)) SWIG_fail
;
7397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7398 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->UseMenu(arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7416 wxMenu
*arg2
= (wxMenu
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "menu", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(2)) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->RemoveMenu(arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7445 wxConfigBase
*arg2
= 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "config", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7457 if (SWIG_arg_fail(2)) SWIG_fail
;
7459 SWIG_null_ref("wxConfigBase");
7461 if (SWIG_arg_fail(2)) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->Load(*arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7480 wxConfigBase
*arg2
= 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 (char *) "self",(char *) "config", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail
;
7491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(2)) SWIG_fail
;
7494 SWIG_null_ref("wxConfigBase");
7496 if (SWIG_arg_fail(2)) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 (arg1
)->Save(*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->AddFilesToMenu();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7540 wxMenu
*arg2
= (wxMenu
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "menu", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->AddFilesToMenu(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "i", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7604 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_From_int((int)(result
));
7632 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7637 return Py_BuildValue((char *)"");
7639 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxString
*arg1
= 0 ;
7642 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7643 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7644 wxSingleInstanceChecker
*result
;
7645 bool temp1
= false ;
7646 bool temp2
= false ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "name",(char *) "path", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 arg1
= wxString_in_helper(obj0
);
7656 if (arg1
== NULL
) SWIG_fail
;
7661 arg2
= wxString_in_helper(obj1
);
7662 if (arg2
== NULL
) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7696 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxSingleInstanceChecker
*result
;
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7718 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7746 wxString
*arg2
= 0 ;
7747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7750 bool temp2
= false ;
7751 bool temp3
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7756 (char *) "self",(char *) "name",(char *) "path", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 arg2
= wxString_in_helper(obj1
);
7764 if (arg2
== NULL
) SWIG_fail
;
7769 arg3
= wxString_in_helper(obj2
);
7770 if (arg3
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7834 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxWindow
*arg1
= (wxWindow
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "window",(char *) "dc", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail
;
7859 SWIG_null_ref("wxDC");
7861 if (SWIG_arg_fail(2)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (arg1
)->GetTip();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7936 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (size_t)(arg1
)->GetCurrentTip();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7964 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7967 wxString
*arg2
= 0 ;
7969 bool temp2
= false ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7973 (char *) "self",(char *) "tip", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7978 if (SWIG_arg_fail(1)) SWIG_fail
;
7980 arg2
= wxString_in_helper(obj1
);
7981 if (arg2
== NULL
) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8012 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8015 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8017 return Py_BuildValue((char *)"");
8019 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8022 wxPyTipProvider
*result
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "currentTip", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8030 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8031 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8047 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8050 PyObject
*arg2
= (PyObject
*) 0 ;
8051 PyObject
*arg3
= (PyObject
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "self",(char *) "self",(char *) "_class", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8081 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8083 return Py_BuildValue((char *)"");
8085 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxWindow
*arg1
= (wxWindow
*) 0 ;
8088 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8089 bool arg3
= (bool) true ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8095 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8102 if (SWIG_arg_fail(2)) SWIG_fail
;
8105 arg3
= (bool)(SWIG_As_bool(obj2
));
8106 if (SWIG_arg_fail(3)) SWIG_fail
;
8110 if (!wxPyCheckForApp()) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8126 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxString
*arg1
= 0 ;
8130 wxTipProvider
*result
;
8131 bool temp1
= false ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "filename",(char *) "currentTip", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8140 arg1
= wxString_in_helper(obj0
);
8141 if (arg1
== NULL
) SWIG_fail
;
8145 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8146 if (SWIG_arg_fail(2)) SWIG_fail
;
8149 if (!wxPyCheckForApp()) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8171 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8174 int arg2
= (int) -1 ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 (char *) "owner",(char *) "id", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8189 arg2
= (int)(SWIG_As_int(obj1
));
8190 if (SWIG_arg_fail(2)) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8208 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8236 PyObject
*arg2
= (PyObject
*) 0 ;
8237 PyObject
*arg3
= (PyObject
*) 0 ;
8238 int arg4
= (int) 1 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8244 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 arg4
= (int)(SWIG_As_int(obj3
));
8255 if (SWIG_arg_fail(4)) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8275 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8276 int arg3
= (int) -1 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "owner",(char *) "id", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8286 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(2)) SWIG_fail
;
8291 arg3
= (int)(SWIG_As_int(obj2
));
8292 if (SWIG_arg_fail(3)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 (arg1
)->SetOwner(arg2
,arg3
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8312 wxEvtHandler
*result
;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= wxPyMake_wxObject(result
, 0);
8337 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8340 int arg2
= (int) -1 ;
8341 bool arg3
= (bool) false ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8345 PyObject
* obj2
= 0 ;
8347 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 arg2
= (int)(SWIG_As_int(obj1
));
8356 if (SWIG_arg_fail(2)) SWIG_fail
;
8361 arg3
= (bool)(SWIG_As_bool(obj2
));
8362 if (SWIG_arg_fail(3)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_From_int((int)(result
));
8462 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_From_int((int)(result
));
8518 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8523 return Py_BuildValue((char *)"");
8525 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 int arg1
= (int) 0 ;
8528 int arg2
= (int) 0 ;
8529 wxTimerEvent
*result
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "timerid",(char *) "interval", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8539 arg1
= (int)(SWIG_As_int(obj0
));
8540 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 arg2
= (int)(SWIG_As_int(obj1
));
8546 if (SWIG_arg_fail(2)) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8563 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_From_int((int)(result
));
8591 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8594 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8596 return Py_BuildValue((char *)"");
8598 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8599 PyObject
*resultobj
;
8601 wxTimerRunner
*result
;
8602 PyObject
* obj0
= 0 ;
8604 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 SWIG_null_ref("wxTimer");
8611 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 if (!wxPyCheckForApp()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8628 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8629 PyObject
*resultobj
;
8632 bool arg3
= (bool) false ;
8633 wxTimerRunner
*result
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8641 if (SWIG_arg_fail(1)) SWIG_fail
;
8643 SWIG_null_ref("wxTimer");
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8648 arg2
= (int)(SWIG_As_int(obj1
));
8649 if (SWIG_arg_fail(2)) SWIG_fail
;
8653 arg3
= (bool)(SWIG_As_bool(obj2
));
8654 if (SWIG_arg_fail(3)) SWIG_fail
;
8658 if (!wxPyCheckForApp()) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8672 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8677 argc
= PyObject_Length(args
);
8678 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8693 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8696 if ((argc
>= 2) && (argc
<= 3)) {
8700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8708 _v
= SWIG_Check_int(argv
[1]);
8711 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8713 _v
= SWIG_Check_bool(argv
[2]);
8715 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8721 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8726 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8755 bool arg3
= (bool) false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail
;
8767 arg2
= (int)(SWIG_As_int(obj1
));
8768 if (SWIG_arg_fail(2)) SWIG_fail
;
8772 arg3
= (bool)(SWIG_As_bool(obj2
));
8773 if (SWIG_arg_fail(3)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Start(arg2
,arg3
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8793 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8795 return Py_BuildValue((char *)"");
8797 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxLog
*)new wxLog();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8819 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)wxLog::IsEnabled();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 bool arg1
= (bool) true ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "doIt", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8855 arg1
= (bool)(SWIG_As_bool(obj0
));
8856 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)wxLog::EnableLogging(arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8878 wxChar
*arg2
= (wxChar
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "level",(char *) "szString",(char *) "t", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8896 if (SWIG_arg_fail(3)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxLog
*arg1
= (wxLog
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxLog::FlushActive();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (wxLog
*)wxLog::GetActiveTarget();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8980 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxLog
*arg1
= (wxLog
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "pLogger", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9006 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 Py_INCREF(Py_None
); resultobj
= Py_None
;
9027 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 bool arg1
= (bool) true ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "bVerbose", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9059 arg1
= (bool)(SWIG_As_bool(obj0
));
9060 if (SWIG_arg_fail(1)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxLog::SetVerbose(arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "logLevel", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9087 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9088 if (SWIG_arg_fail(1)) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxLog::SetLogLevel(arg1
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 wxLog::DontCreateOnDemand();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "ulMask", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9135 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxLog::SetTraceMask(arg1
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxString
*arg1
= 0 ;
9155 bool temp1
= false ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "str", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9163 arg1
= wxString_in_helper(obj0
);
9164 if (arg1
== NULL
) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 wxLog::AddTraceMask((wxString
const &)*arg1
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxString
*arg1
= 0 ;
9192 bool temp1
= false ;
9193 PyObject
* obj0
= 0 ;
9195 (char *) "str", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9200 arg1
= wxString_in_helper(obj0
);
9201 if (arg1
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxLog::ClearTraceMasks();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 Py_INCREF(Py_None
); resultobj
= Py_None
;
9247 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxArrayString
*result
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9259 result
= (wxArrayString
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= wxArrayString2PyList_helper(*result
);
9274 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxChar
*arg1
= (wxChar
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxLog::SetTimestamp((wxChar
const *)arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)wxLog::GetVerbose();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (wxTraceMask
)wxLog::GetTraceMask();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9347 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxChar
*arg1
= (wxChar
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "mask", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9358 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (wxLogLevel
)wxLog::GetLogLevel();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9399 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxChar
*)wxLog::GetTimestamp();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9421 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= Log_TimeStamp();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9449 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxLog
*arg1
= (wxLog
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxLog_Destroy(arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9477 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9479 return Py_BuildValue((char *)"");
9481 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxLogStderr
*result
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxLogStderr
*)new wxLogStderr();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9503 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9508 return Py_BuildValue((char *)"");
9510 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 wxLogTextCtrl
*result
;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "pTextCtrl", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9536 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9539 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9541 return Py_BuildValue((char *)"");
9543 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxLogGui
*)new wxLogGui();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9565 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9568 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9570 return Py_BuildValue((char *)"");
9572 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxFrame
*arg1
= (wxFrame
*) 0 ;
9575 wxString
*arg2
= 0 ;
9576 bool arg3
= (bool) true ;
9577 bool arg4
= (bool) true ;
9578 wxLogWindow
*result
;
9579 bool temp2
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 PyObject
* obj2
= 0 ;
9583 PyObject
* obj3
= 0 ;
9585 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9592 arg2
= wxString_in_helper(obj1
);
9593 if (arg2
== NULL
) SWIG_fail
;
9598 arg3
= (bool)(SWIG_As_bool(obj2
));
9599 if (SWIG_arg_fail(3)) SWIG_fail
;
9604 arg4
= (bool)(SWIG_As_bool(obj3
));
9605 if (SWIG_arg_fail(4)) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9630 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9633 bool arg2
= (bool) true ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9637 (char *) "self",(char *) "bShow", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9642 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 arg2
= (bool)(SWIG_As_bool(obj1
));
9646 if (SWIG_arg_fail(2)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9663 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= wxPyMake_wxObject(result
, 0);
9691 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9717 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9745 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "self",(char *) "bDoPass", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail
;
9759 arg2
= (bool)(SWIG_As_bool(obj1
));
9760 if (SWIG_arg_fail(2)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->PassMessages(arg2
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 Py_INCREF(Py_None
); resultobj
= Py_None
;
9776 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9779 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9781 return Py_BuildValue((char *)"");
9783 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxLog
*arg1
= (wxLog
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "logger", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (wxLogChain
*)new wxLogChain(arg1
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9809 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9812 wxLog
*arg2
= (wxLog
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "logger", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(2)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetLog(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9845 (char *) "self",(char *) "bDoPass", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9850 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 arg2
= (bool)(SWIG_As_bool(obj1
));
9853 if (SWIG_arg_fail(2)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 (arg1
)->PassMessages(arg2
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 Py_INCREF(Py_None
); resultobj
= Py_None
;
9869 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (bool)(arg1
)->IsPassingMessages();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9897 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxLog
*)(arg1
)->GetOldLog();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9923 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxLogBuffer
*result
;
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxLogBuffer
*)new wxLogBuffer();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
9952 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
9962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
9963 if (SWIG_arg_fail(1)) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
9968 result
= (wxString
*) &_result_ref
;
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9987 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 Py_INCREF(Py_None
); resultobj
= Py_None
;
10012 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10015 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10017 return Py_BuildValue((char *)"");
10019 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 unsigned long result
;
10022 char *kwnames
[] = {
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (unsigned long)wxSysErrorCode();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10043 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 unsigned long arg1
= (unsigned long) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "nErrCode", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10055 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10056 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= wxSysErrorMsg(arg1
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10079 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxString
*arg1
= 0 ;
10082 bool temp1
= false ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "msg", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10090 arg1
= wxString_in_helper(obj0
);
10091 if (arg1
== NULL
) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 wxPyLogFatalError((wxString
const &)*arg1
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxString
*arg1
= 0 ;
10119 bool temp1
= false ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "msg", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10127 arg1
= wxString_in_helper(obj0
);
10128 if (arg1
== NULL
) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxPyLogError((wxString
const &)*arg1
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10153 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxString
*arg1
= 0 ;
10156 bool temp1
= false ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "msg", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10164 arg1
= wxString_in_helper(obj0
);
10165 if (arg1
== NULL
) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 wxPyLogWarning((wxString
const &)*arg1
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxString
*arg1
= 0 ;
10193 bool temp1
= false ;
10194 PyObject
* obj0
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "msg", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10201 arg1
= wxString_in_helper(obj0
);
10202 if (arg1
== NULL
) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 wxPyLogMessage((wxString
const &)*arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxString
*arg1
= 0 ;
10230 bool temp1
= false ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "msg", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10238 arg1
= wxString_in_helper(obj0
);
10239 if (arg1
== NULL
) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 wxPyLogInfo((wxString
const &)*arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxString
*arg1
= 0 ;
10267 bool temp1
= false ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "msg", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10275 arg1
= wxString_in_helper(obj0
);
10276 if (arg1
== NULL
) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 wxPyLogDebug((wxString
const &)*arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxString
*arg1
= 0 ;
10304 bool temp1
= false ;
10305 PyObject
* obj0
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "msg", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10312 arg1
= wxString_in_helper(obj0
);
10313 if (arg1
== NULL
) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 wxPyLogVerbose((wxString
const &)*arg1
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxString
*arg1
= 0 ;
10341 bool temp1
= false ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "msg", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10349 arg1
= wxString_in_helper(obj0
);
10350 if (arg1
== NULL
) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 wxPyLogStatus((wxString
const &)*arg1
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxFrame
*arg1
= (wxFrame
*) 0 ;
10378 wxString
*arg2
= 0 ;
10379 bool temp2
= false ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "pFrame",(char *) "msg", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10388 if (SWIG_arg_fail(1)) SWIG_fail
;
10390 arg2
= wxString_in_helper(obj1
);
10391 if (arg2
== NULL
) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10416 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxString
*arg1
= 0 ;
10419 bool temp1
= false ;
10420 PyObject
* obj0
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "msg", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10427 arg1
= wxString_in_helper(obj0
);
10428 if (arg1
== NULL
) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxPyLogSysError((wxString
const &)*arg1
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 unsigned long arg1
;
10456 wxString
*arg2
= 0 ;
10457 bool temp2
= false ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "level",(char *) "msg", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10466 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10467 if (SWIG_arg_fail(1)) SWIG_fail
;
10470 arg2
= wxString_in_helper(obj1
);
10471 if (arg2
== NULL
) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 Py_INCREF(Py_None
); resultobj
= Py_None
;
10496 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10497 PyObject
*resultobj
;
10498 unsigned long arg1
;
10499 wxString
*arg2
= 0 ;
10500 bool temp2
= false ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10504 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10506 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10507 if (SWIG_arg_fail(1)) SWIG_fail
;
10510 arg2
= wxString_in_helper(obj1
);
10511 if (arg2
== NULL
) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10537 PyObject
*resultobj
;
10538 wxString
*arg1
= 0 ;
10539 wxString
*arg2
= 0 ;
10540 bool temp1
= false ;
10541 bool temp2
= false ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10545 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10547 arg1
= wxString_in_helper(obj0
);
10548 if (arg1
== NULL
) SWIG_fail
;
10552 arg2
= wxString_in_helper(obj1
);
10553 if (arg2
== NULL
) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10586 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10591 argc
= PyObject_Length(args
);
10592 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10593 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10598 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10602 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10605 return _wrap_LogTrace__SWIG_1(self
,args
);
10611 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10614 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10617 return _wrap_LogTrace__SWIG_0(self
,args
);
10622 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10627 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxString
*arg1
= 0 ;
10630 wxString
*arg2
= 0 ;
10631 bool temp1
= false ;
10632 bool temp2
= false ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "title",(char *) "text", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10641 arg1
= wxString_in_helper(obj0
);
10642 if (arg1
== NULL
) SWIG_fail
;
10646 arg2
= wxString_in_helper(obj1
);
10647 if (arg2
== NULL
) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10683 char *kwnames
[] = {
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (wxLogNull
*)new wxLogNull();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10702 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
;
10704 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(1)) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10730 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10732 return Py_BuildValue((char *)"");
10734 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10737 char *kwnames
[] = {
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxPyLog
*)new wxPyLog();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10756 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10759 PyObject
*arg2
= (PyObject
*) 0 ;
10760 PyObject
*arg3
= (PyObject
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "self",(char *) "_class", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(1)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10790 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10792 return Py_BuildValue((char *)"");
10794 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10797 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10798 int arg3
= (int) wxKILL_NOCHILDREN
;
10799 wxKillError result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10809 arg1
= (int)(SWIG_As_int(obj0
));
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10814 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10815 if (SWIG_arg_fail(2)) SWIG_fail
;
10820 arg3
= (int)(SWIG_As_int(obj2
));
10821 if (SWIG_arg_fail(3)) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_From_int((result
));
10838 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "pid", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10849 arg1
= (int)(SWIG_As_int(obj0
));
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)wxPyProcess::Exists(arg1
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10868 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxString
*arg1
= 0 ;
10871 int arg2
= (int) wxEXEC_ASYNC
;
10872 wxPyProcess
*result
;
10873 bool temp1
= false ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "cmd",(char *) "flags", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 arg1
= wxString_in_helper(obj0
);
10883 if (arg1
== NULL
) SWIG_fail
;
10888 arg2
= (int)(SWIG_As_int(obj1
));
10889 if (SWIG_arg_fail(2)) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10914 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10917 int arg2
= (int) -1 ;
10918 wxPyProcess
*result
;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "parent",(char *) "id", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10928 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 arg2
= (int)(SWIG_As_int(obj1
));
10933 if (SWIG_arg_fail(2)) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10950 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10953 PyObject
*arg2
= (PyObject
*) 0 ;
10954 PyObject
*arg3
= (PyObject
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 PyObject
* obj2
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "self",(char *) "_class", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10964 if (SWIG_arg_fail(1)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 Py_INCREF(Py_None
); resultobj
= Py_None
;
10981 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 PyObject
* obj2
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "pid",(char *) "status", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10995 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 arg2
= (int)(SWIG_As_int(obj1
));
10998 if (SWIG_arg_fail(2)) SWIG_fail
;
11001 arg3
= (int)(SWIG_As_int(obj2
));
11002 if (SWIG_arg_fail(3)) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->base_OnTerminate(arg2
,arg3
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11018 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11028 if (SWIG_arg_fail(1)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->Redirect();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)(arg1
)->IsRedirected();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11099 wxInputStream
*result
;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11116 wxPyInputStream
* _ptr
= NULL
;
11119 _ptr
= new wxPyInputStream(result
);
11121 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11129 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11132 wxInputStream
*result
;
11133 PyObject
* obj0
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11149 wxPyInputStream
* _ptr
= NULL
;
11152 _ptr
= new wxPyInputStream(result
);
11154 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11162 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11165 wxOutputStream
*result
;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11188 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->CloseOutput();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11300 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11302 return Py_BuildValue((char *)"");
11304 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 int arg1
= (int) 0 ;
11307 int arg2
= (int) 0 ;
11308 int arg3
= (int) 0 ;
11309 wxProcessEvent
*result
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11320 arg1
= (int)(SWIG_As_int(obj0
));
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (int)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 arg3
= (int)(SWIG_As_int(obj2
));
11333 if (SWIG_arg_fail(3)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11350 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11361 if (SWIG_arg_fail(1)) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (int)(arg1
)->GetPid();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_From_int((int)(result
));
11378 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)(arg1
)->GetExitCode();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_From_int((int)(result
));
11406 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "m_pid", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11418 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg2
= (int)(SWIG_As_int(obj1
));
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11423 if (arg1
) (arg1
)->m_pid
= arg2
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11443 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 result
= (int) ((arg1
)->m_pid
);
11447 resultobj
= SWIG_From_int((int)(result
));
11455 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "m_exitcode", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 arg2
= (int)(SWIG_As_int(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11472 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11492 if (SWIG_arg_fail(1)) SWIG_fail
;
11493 result
= (int) ((arg1
)->m_exitcode
);
11496 resultobj
= SWIG_From_int((int)(result
));
11504 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11507 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11509 return Py_BuildValue((char *)"");
11511 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxString
*arg1
= 0 ;
11514 int arg2
= (int) wxEXEC_ASYNC
;
11515 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11517 bool temp1
= false ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "command",(char *) "flags",(char *) "process", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11527 arg1
= wxString_in_helper(obj0
);
11528 if (arg1
== NULL
) SWIG_fail
;
11533 arg2
= (int)(SWIG_As_int(obj1
));
11534 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11539 if (SWIG_arg_fail(3)) SWIG_fail
;
11542 if (!wxPyCheckForApp()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_long((long)(result
));
11566 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11569 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11570 wxKillError
*arg3
= (wxKillError
*) 0 ;
11571 int arg4
= (int) wxKILL_NOCHILDREN
;
11573 wxKillError temp3
;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 PyObject
* obj2
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11586 arg1
= (long)(SWIG_As_long(obj0
));
11587 if (SWIG_arg_fail(1)) SWIG_fail
;
11591 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11592 if (SWIG_arg_fail(2)) SWIG_fail
;
11597 arg4
= (int)(SWIG_As_int(obj2
));
11598 if (SWIG_arg_fail(4)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_From_int((int)(result
));
11613 o
= PyInt_FromLong((long) (*arg3
));
11614 resultobj
= t_output_helper(resultobj
, o
);
11622 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 int arg1
= (int) wxJOYSTICK1
;
11625 wxJoystick
*result
;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "joystick", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11634 arg1
= (int)(SWIG_As_int(obj0
));
11635 if (SWIG_arg_fail(1)) SWIG_fail
;
11639 if (!wxPyCheckForApp()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxJoystick
*)new wxJoystick(arg1
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11653 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (arg1
)->GetPosition();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 wxPoint
* resultptr
;
11699 resultptr
= new wxPoint((wxPoint
&)(result
));
11700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11708 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11719 if (SWIG_arg_fail(1)) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (int)(arg1
)->GetZPosition();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_From_int((int)(result
));
11736 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11740 PyObject
* obj0
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (int)(arg1
)->GetButtonState();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int((int)(result
));
11764 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11775 if (SWIG_arg_fail(1)) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (int)(arg1
)->GetPOVPosition();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int((int)(result
));
11792 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (int)(arg1
)->GetPOVCTSPosition();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int((int)(result
));
11820 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (int)(arg1
)->GetRudderPosition();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int((int)(result
));
11848 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (int)(arg1
)->GetUPosition();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int((int)(result
));
11876 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)(arg1
)->GetVPosition();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int((int)(result
));
11904 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)(arg1
)->GetMovementThreshold();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int((int)(result
));
11932 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "threshold", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail
;
11946 arg2
= (int)(SWIG_As_int(obj1
));
11947 if (SWIG_arg_fail(2)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->SetMovementThreshold(arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)(arg1
)->IsOk();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (int)(arg1
)->GetNumberJoysticks();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_From_int((int)(result
));
12019 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (int)(arg1
)->GetManufacturerId();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_From_int((int)(result
));
12047 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12058 if (SWIG_arg_fail(1)) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)(arg1
)->GetProductId();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_From_int((int)(result
));
12075 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (arg1
)->GetProductName();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12107 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)(arg1
)->GetXMin();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int((int)(result
));
12135 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)(arg1
)->GetYMin();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_From_int((int)(result
));
12163 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (int)(arg1
)->GetZMin();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_From_int((int)(result
));
12191 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (int)(arg1
)->GetXMax();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int((int)(result
));
12219 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (int)(arg1
)->GetYMax();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int((int)(result
));
12247 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)(arg1
)->GetZMax();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_int((int)(result
));
12275 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)(arg1
)->GetNumberButtons();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int((int)(result
));
12303 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (int)(arg1
)->GetNumberAxes();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_From_int((int)(result
));
12331 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12342 if (SWIG_arg_fail(1)) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (int)(arg1
)->GetMaxButtons();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_int((int)(result
));
12359 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (int)(arg1
)->GetMaxAxes();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_From_int((int)(result
));
12387 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12398 if (SWIG_arg_fail(1)) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (int)(arg1
)->GetPollingMin();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_From_int((int)(result
));
12415 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)(arg1
)->GetPollingMax();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_From_int((int)(result
));
12443 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (int)(arg1
)->GetRudderMin();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_From_int((int)(result
));
12471 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12482 if (SWIG_arg_fail(1)) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (int)(arg1
)->GetRudderMax();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_From_int((int)(result
));
12499 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12510 if (SWIG_arg_fail(1)) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)(arg1
)->GetUMin();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_From_int((int)(result
));
12527 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12538 if (SWIG_arg_fail(1)) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (int)(arg1
)->GetUMax();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_From_int((int)(result
));
12555 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12566 if (SWIG_arg_fail(1)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (int)(arg1
)->GetVMin();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_From_int((int)(result
));
12583 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (int)(arg1
)->GetVMax();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_From_int((int)(result
));
12611 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->HasRudder();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (bool)(arg1
)->HasZ();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12667 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)(arg1
)->HasU();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->HasV();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (bool)(arg1
)->HasPOV();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12762 if (SWIG_arg_fail(1)) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (bool)(arg1
)->HasPOV4Dir();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12779 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12790 if (SWIG_arg_fail(1)) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (bool)(arg1
)->HasPOVCTS();
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12810 wxWindow
*arg2
= (wxWindow
*) 0 ;
12811 int arg3
= (int) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12822 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12824 if (SWIG_arg_fail(2)) SWIG_fail
;
12827 arg3
= (int)(SWIG_As_int(obj2
));
12828 if (SWIG_arg_fail(3)) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)(arg1
)->ReleaseCapture();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12875 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12878 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12880 return Py_BuildValue((char *)"");
12882 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12885 int arg2
= (int) 0 ;
12886 int arg3
= (int) wxJOYSTICK1
;
12887 int arg4
= (int) 0 ;
12888 wxJoystickEvent
*result
;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 PyObject
* obj2
= 0 ;
12892 PyObject
* obj3
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12900 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12901 if (SWIG_arg_fail(1)) SWIG_fail
;
12906 arg2
= (int)(SWIG_As_int(obj1
));
12907 if (SWIG_arg_fail(2)) SWIG_fail
;
12912 arg3
= (int)(SWIG_As_int(obj2
));
12913 if (SWIG_arg_fail(3)) SWIG_fail
;
12918 arg4
= (int)(SWIG_As_int(obj3
));
12919 if (SWIG_arg_fail(4)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12936 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12947 if (SWIG_arg_fail(1)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 wxPoint
* resultptr
;
12957 resultptr
= new wxPoint((wxPoint
&)(result
));
12958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12966 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_int((int)(result
));
12994 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int((int)(result
));
13022 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_From_int((int)(result
));
13050 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_From_int((int)(result
));
13078 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "stick", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(1)) SWIG_fail
;
13092 arg2
= (int)(SWIG_As_int(obj1
));
13093 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->SetJoystick(arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self",(char *) "state", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail
;
13123 arg2
= (int)(SWIG_As_int(obj1
));
13124 if (SWIG_arg_fail(2)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetButtonState(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "change", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 arg2
= (int)(SWIG_As_int(obj1
));
13155 if (SWIG_arg_fail(2)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->SetButtonChange(arg2
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13174 wxPoint
*arg2
= 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "pos", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "zPos", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 arg2
= (int)(SWIG_As_int(obj1
));
13218 if (SWIG_arg_fail(2)) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->SetZPosition(arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13245 if (SWIG_arg_fail(1)) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13262 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13273 if (SWIG_arg_fail(1)) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13290 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13294 PyObject
* obj0
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13318 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13321 int arg2
= (int) wxJOY_BUTTON_ANY
;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self",(char *) "but", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13331 if (SWIG_arg_fail(1)) SWIG_fail
;
13334 arg2
= (int)(SWIG_As_int(obj1
));
13335 if (SWIG_arg_fail(2)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13357 int arg2
= (int) wxJOY_BUTTON_ANY
;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "but", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13367 if (SWIG_arg_fail(1)) SWIG_fail
;
13370 arg2
= (int)(SWIG_As_int(obj1
));
13371 if (SWIG_arg_fail(2)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13393 int arg2
= (int) wxJOY_BUTTON_ANY
;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "but", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 arg2
= (int)(SWIG_As_int(obj1
));
13407 if (SWIG_arg_fail(2)) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13431 return Py_BuildValue((char *)"");
13433 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13436 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13438 bool temp1
= false ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "fileName", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13447 arg1
= wxString_in_helper(obj0
);
13448 if (arg1
== NULL
) SWIG_fail
;
13453 if (!wxPyCheckForApp()) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13475 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 PyObject
*arg1
= (PyObject
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "data", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13487 if (!wxPyCheckForApp()) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxSound
*)new_wxSound(arg1
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13501 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxSound
*arg1
= (wxSound
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxSound
*arg1
= (wxSound
*) 0 ;
13529 wxString
*arg2
= 0 ;
13531 bool temp2
= false ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "fileName", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 arg2
= wxString_in_helper(obj1
);
13543 if (arg2
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13570 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxSound
*arg1
= (wxSound
*) 0 ;
13573 PyObject
*arg2
= (PyObject
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self",(char *) "data", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13583 if (SWIG_arg_fail(1)) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxSound
*arg1
= (wxSound
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13612 if (SWIG_arg_fail(1)) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)(arg1
)->IsOk();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13629 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxSound
*arg1
= (wxSound
*) 0 ;
13632 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "flags", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail
;
13645 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13646 if (SWIG_arg_fail(2)) SWIG_fail
;
13650 if (!wxPyCheckForApp()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13666 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxString
*arg1
= 0 ;
13669 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13671 bool temp1
= false ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "filename",(char *) "flags", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 arg1
= wxString_in_helper(obj0
);
13681 if (arg1
== NULL
) SWIG_fail
;
13686 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13687 if (SWIG_arg_fail(2)) SWIG_fail
;
13691 if (!wxPyCheckForApp()) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13723 if (!wxPyCheckForApp()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13740 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13742 return Py_BuildValue((char *)"");
13744 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxString
*arg1
= 0 ;
13747 wxString
*arg2
= 0 ;
13748 wxString
*arg3
= 0 ;
13749 wxString
*arg4
= 0 ;
13750 wxFileTypeInfo
*result
;
13751 bool temp1
= false ;
13752 bool temp2
= false ;
13753 bool temp3
= false ;
13754 bool temp4
= false ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 PyObject
* obj3
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13765 arg1
= wxString_in_helper(obj0
);
13766 if (arg1
== NULL
) SWIG_fail
;
13770 arg2
= wxString_in_helper(obj1
);
13771 if (arg2
== NULL
) SWIG_fail
;
13775 arg3
= wxString_in_helper(obj2
);
13776 if (arg3
== NULL
) SWIG_fail
;
13780 arg4
= wxString_in_helper(obj3
);
13781 if (arg4
== NULL
) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13830 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxArrayString
*arg1
= 0 ;
13833 wxFileTypeInfo
*result
;
13834 bool temp1
= false ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "sArray", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13842 if (! PySequence_Check(obj0
)) {
13843 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13846 arg1
= new wxArrayString
;
13848 int i
, len
=PySequence_Length(obj0
);
13849 for (i
=0; i
<len
; i
++) {
13850 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13851 wxString
* s
= wxString_in_helper(item
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13867 if (temp1
) delete arg1
;
13872 if (temp1
) delete arg1
;
13878 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxFileTypeInfo
*result
;
13881 char *kwnames
[] = {
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13900 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13931 wxString
*arg2
= 0 ;
13932 int arg3
= (int) 0 ;
13933 bool temp2
= false ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 PyObject
* obj2
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13951 arg3
= (int)(SWIG_As_int(obj2
));
13952 if (SWIG_arg_fail(3)) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 Py_INCREF(Py_None
); resultobj
= Py_None
;
13977 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13980 wxString
*arg2
= 0 ;
13981 bool temp2
= false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "shortDesc", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13990 if (SWIG_arg_fail(1)) SWIG_fail
;
13992 arg2
= wxString_in_helper(obj1
);
13993 if (arg2
== NULL
) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14034 result
= (wxString
*) &_result_ref
;
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14044 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14053 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14069 result
= (wxString
*) &_result_ref
;
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14079 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14088 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14104 result
= (wxString
*) &_result_ref
;
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14114 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14123 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14139 result
= (wxString
*) &_result_ref
;
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14158 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14174 result
= (wxString
*) &_result_ref
;
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14193 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14196 wxArrayString
*result
;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14209 result
= (wxArrayString
*) &_result_ref
;
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= wxArrayString2PyList_helper(*result
);
14224 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_From_int((int)(result
));
14252 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14268 result
= (wxString
*) &_result_ref
;
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14278 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14287 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_int((int)(result
));
14315 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14318 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14320 return Py_BuildValue((char *)"");
14322 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxFileTypeInfo
*arg1
= 0 ;
14325 wxFileType
*result
;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "ftInfo", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 if (arg1
== NULL
) {
14336 SWIG_null_ref("wxFileTypeInfo");
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14354 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxFileType
*arg1
= (wxFileType
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxFileType
*arg1
= (wxFileType
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14405 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxFileType
*arg1
= (wxFileType
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
;
14431 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFileType
*arg1
= (wxFileType
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
;
14457 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxFileType
*arg1
= (wxFileType
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14483 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxFileType
*arg1
= (wxFileType
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= result
;
14509 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxFileType
*arg1
= (wxFileType
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
;
14535 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxFileType
*arg1
= (wxFileType
*) 0 ;
14538 wxString
*arg2
= 0 ;
14539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14542 bool temp2
= false ;
14543 bool temp3
= false ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14555 arg2
= wxString_in_helper(obj1
);
14556 if (arg2
== NULL
) SWIG_fail
;
14561 arg3
= wxString_in_helper(obj2
);
14562 if (arg3
== NULL
) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
;
14596 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxFileType
*arg1
= (wxFileType
*) 0 ;
14599 wxString
*arg2
= 0 ;
14600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14603 bool temp2
= false ;
14604 bool temp3
= false ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 arg2
= wxString_in_helper(obj1
);
14617 if (arg2
== NULL
) SWIG_fail
;
14622 arg3
= wxString_in_helper(obj2
);
14623 if (arg3
== NULL
) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
;
14657 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxFileType
*arg1
= (wxFileType
*) 0 ;
14660 wxString
*arg2
= 0 ;
14661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14664 bool temp2
= false ;
14665 bool temp3
= false ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 PyObject
* obj2
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14677 arg2
= wxString_in_helper(obj1
);
14678 if (arg2
== NULL
) SWIG_fail
;
14683 arg3
= wxString_in_helper(obj2
);
14684 if (arg3
== NULL
) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
;
14718 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxFileType
*arg1
= (wxFileType
*) 0 ;
14721 wxString
*arg2
= 0 ;
14722 wxString
*arg3
= 0 ;
14723 bool arg4
= (bool) true ;
14725 bool temp2
= false ;
14726 bool temp3
= false ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 PyObject
* obj2
= 0 ;
14730 PyObject
* obj3
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 arg2
= wxString_in_helper(obj1
);
14740 if (arg2
== NULL
) SWIG_fail
;
14744 arg3
= wxString_in_helper(obj2
);
14745 if (arg3
== NULL
) SWIG_fail
;
14750 arg4
= (bool)(SWIG_As_bool(obj3
));
14751 if (SWIG_arg_fail(4)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxFileType
*arg1
= (wxFileType
*) 0 ;
14789 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14790 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14791 int arg3
= (int) 0 ;
14793 bool temp2
= false ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 PyObject
* obj2
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "cmd",(char *) "index", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 arg2
= wxString_in_helper(obj1
);
14807 if (arg2
== NULL
) SWIG_fail
;
14813 arg3
= (int)(SWIG_As_int(obj2
));
14814 if (SWIG_arg_fail(3)) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxFileType
*arg1
= (wxFileType
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)(arg1
)->Unassociate();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14869 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxString
*arg1
= 0 ;
14872 wxString
*arg2
= 0 ;
14873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14876 bool temp1
= false ;
14877 bool temp2
= false ;
14878 bool temp3
= false ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 PyObject
* obj2
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14888 arg1
= wxString_in_helper(obj0
);
14889 if (arg1
== NULL
) SWIG_fail
;
14893 arg2
= wxString_in_helper(obj1
);
14894 if (arg2
== NULL
) SWIG_fail
;
14899 arg3
= wxString_in_helper(obj2
);
14900 if (arg3
== NULL
) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14948 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14951 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14953 return Py_BuildValue((char *)"");
14955 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14956 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14961 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14964 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14969 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxString
*arg1
= 0 ;
14972 wxString
*arg2
= 0 ;
14974 bool temp1
= false ;
14975 bool temp2
= false ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "mimeType",(char *) "wildcard", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14984 arg1
= wxString_in_helper(obj0
);
14985 if (arg1
== NULL
) SWIG_fail
;
14989 arg2
= wxString_in_helper(obj1
);
14990 if (arg2
== NULL
) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMimeTypesManager
*result
;
15028 char *kwnames
[] = {
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15047 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15050 int arg2
= (int) wxMAILCAP_ALL
;
15051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15053 bool temp3
= false ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 arg2
= (int)(SWIG_As_int(obj1
));
15067 if (SWIG_arg_fail(2)) SWIG_fail
;
15072 arg3
= wxString_in_helper(obj2
);
15073 if (arg3
== NULL
) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(1)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->ClearData();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15127 wxString
*arg2
= 0 ;
15128 wxFileType
*result
;
15129 bool temp2
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self",(char *) "ext", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15166 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15169 wxString
*arg2
= 0 ;
15170 wxFileType
*result
;
15171 bool temp2
= false ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "mimeType", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 arg2
= wxString_in_helper(obj1
);
15183 if (arg2
== NULL
) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15208 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15211 wxString
*arg2
= 0 ;
15212 bool arg3
= (bool) false ;
15214 bool temp2
= false ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 PyObject
* obj2
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail
;
15226 arg2
= wxString_in_helper(obj1
);
15227 if (arg2
== NULL
) SWIG_fail
;
15232 arg3
= (bool)(SWIG_As_bool(obj2
));
15233 if (SWIG_arg_fail(3)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15260 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15263 wxString
*arg2
= 0 ;
15265 bool temp2
= false ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "filename", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 arg2
= wxString_in_helper(obj1
);
15277 if (arg2
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
;
15330 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15333 wxFileTypeInfo
*arg2
= 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "ft", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15342 if (SWIG_arg_fail(1)) SWIG_fail
;
15344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(2)) SWIG_fail
;
15346 if (arg2
== NULL
) {
15347 SWIG_null_ref("wxFileTypeInfo");
15349 if (SWIG_arg_fail(2)) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 Py_INCREF(Py_None
); resultobj
= Py_None
;
15365 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15368 wxFileTypeInfo
*arg2
= 0 ;
15369 wxFileType
*result
;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "ftInfo", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(2)) SWIG_fail
;
15382 if (arg2
== NULL
) {
15383 SWIG_null_ref("wxFileTypeInfo");
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15401 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15404 wxFileType
*arg2
= (wxFileType
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "ft", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15416 if (SWIG_arg_fail(2)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->Unassociate(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15466 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15471 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15476 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15478 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15485 static int _wrap_ART_MENU_set(PyObject
*) {
15486 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15491 static PyObject
*_wrap_ART_MENU_get(void) {
15496 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15498 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15505 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15506 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15511 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15516 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15518 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15525 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15526 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15531 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15536 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15538 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15545 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15546 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15551 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15565 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15566 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15571 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15576 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15578 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15585 static int _wrap_ART_BUTTON_set(PyObject
*) {
15586 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15591 static PyObject
*_wrap_ART_BUTTON_get(void) {
15596 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15598 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15605 static int _wrap_ART_OTHER_set(PyObject
*) {
15606 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15611 static PyObject
*_wrap_ART_OTHER_get(void) {
15616 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15618 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15625 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15626 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15631 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15636 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15638 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15645 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15646 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15651 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15656 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15658 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15665 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15666 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15671 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15676 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15678 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15685 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15686 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15691 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15696 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15698 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15705 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15706 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15711 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15716 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15718 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15725 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15726 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15731 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15736 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15738 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15745 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15746 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15751 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15756 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15758 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15765 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15766 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15771 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15776 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15778 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15785 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15786 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15791 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15796 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15798 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15805 static int _wrap_ART_GO_UP_set(PyObject
*) {
15806 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15811 static PyObject
*_wrap_ART_GO_UP_get(void) {
15816 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15818 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15825 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15826 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15831 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15836 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15838 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15845 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15846 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15851 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15856 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15858 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15865 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15866 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15871 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15876 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15878 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15885 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15886 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15891 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15896 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15898 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15905 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15906 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15911 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15916 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15918 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15925 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15926 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15931 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15936 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15938 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15945 static int _wrap_ART_PRINT_set(PyObject
*) {
15946 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15951 static PyObject
*_wrap_ART_PRINT_get(void) {
15956 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15958 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15965 static int _wrap_ART_HELP_set(PyObject
*) {
15966 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15971 static PyObject
*_wrap_ART_HELP_get(void) {
15976 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15978 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15985 static int _wrap_ART_TIP_set(PyObject
*) {
15986 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15991 static PyObject
*_wrap_ART_TIP_get(void) {
15996 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15998 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16005 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16006 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16011 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16016 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16018 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16025 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16026 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16031 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16036 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16038 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16045 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16046 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16051 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16056 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16058 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16065 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16066 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16071 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16076 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16078 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16085 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16086 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16091 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16096 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16098 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16105 static int _wrap_ART_CDROM_set(PyObject
*) {
16106 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16111 static PyObject
*_wrap_ART_CDROM_get(void) {
16116 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16118 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16125 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16126 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16131 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16136 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16138 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16145 static int _wrap_ART_FOLDER_set(PyObject
*) {
16146 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16151 static PyObject
*_wrap_ART_FOLDER_get(void) {
16156 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16158 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16165 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16166 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16171 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16176 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16178 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16185 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16186 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16191 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16196 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16198 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16205 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16206 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16211 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16216 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16218 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16225 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16226 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16231 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16236 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16238 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16245 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16246 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16251 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16256 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16258 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16265 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16266 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16271 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16276 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16278 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16285 static int _wrap_ART_ERROR_set(PyObject
*) {
16286 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16291 static PyObject
*_wrap_ART_ERROR_get(void) {
16296 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16298 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16305 static int _wrap_ART_QUESTION_set(PyObject
*) {
16306 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16311 static PyObject
*_wrap_ART_QUESTION_get(void) {
16316 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16318 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16325 static int _wrap_ART_WARNING_set(PyObject
*) {
16326 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16331 static PyObject
*_wrap_ART_WARNING_get(void) {
16336 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16338 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16345 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16351 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16356 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16358 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16365 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16366 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16371 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16376 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16378 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16385 static int _wrap_ART_COPY_set(PyObject
*) {
16386 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16391 static PyObject
*_wrap_ART_COPY_get(void) {
16396 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16398 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16405 static int _wrap_ART_CUT_set(PyObject
*) {
16406 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16411 static PyObject
*_wrap_ART_CUT_get(void) {
16416 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16418 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16425 static int _wrap_ART_PASTE_set(PyObject
*) {
16426 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16431 static PyObject
*_wrap_ART_PASTE_get(void) {
16436 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16445 static int _wrap_ART_DELETE_set(PyObject
*) {
16446 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16451 static PyObject
*_wrap_ART_DELETE_get(void) {
16456 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16465 static int _wrap_ART_NEW_set(PyObject
*) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16471 static PyObject
*_wrap_ART_NEW_get(void) {
16476 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16485 static int _wrap_ART_UNDO_set(PyObject
*) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16491 static PyObject
*_wrap_ART_UNDO_get(void) {
16496 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16505 static int _wrap_ART_REDO_set(PyObject
*) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16511 static PyObject
*_wrap_ART_REDO_get(void) {
16516 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16518 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16525 static int _wrap_ART_QUIT_set(PyObject
*) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16531 static PyObject
*_wrap_ART_QUIT_get(void) {
16536 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16538 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16545 static int _wrap_ART_FIND_set(PyObject
*) {
16546 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16551 static PyObject
*_wrap_ART_FIND_get(void) {
16556 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16558 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16565 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16566 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16571 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16576 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16578 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16585 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxPyArtProvider
*result
;
16588 char *kwnames
[] = {
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16594 if (!wxPyCheckForApp()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16608 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16611 PyObject
*arg2
= (PyObject
*) 0 ;
16612 PyObject
*arg3
= (PyObject
*) 0 ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "self",(char *) "_class", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16639 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "provider", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxPyArtProvider::PushProvider(arg1
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16667 char *kwnames
[] = {
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (bool)wxPyArtProvider::PopProvider();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16688 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "provider", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16716 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxString
*arg1
= 0 ;
16719 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16720 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16721 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16722 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16724 bool temp1
= false ;
16725 bool temp2
= false ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "id",(char *) "client",(char *) "size", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16736 arg1
= wxString_in_helper(obj0
);
16737 if (arg1
== NULL
) SWIG_fail
;
16742 arg2
= wxString_in_helper(obj1
);
16743 if (arg2
== NULL
) SWIG_fail
;
16750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16754 if (!wxPyCheckForApp()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 wxBitmap
* resultptr
;
16763 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16788 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxString
*arg1
= 0 ;
16791 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16792 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16793 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16794 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16796 bool temp1
= false ;
16797 bool temp2
= false ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "id",(char *) "client",(char *) "size", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16808 arg1
= wxString_in_helper(obj0
);
16809 if (arg1
== NULL
) SWIG_fail
;
16814 arg2
= wxString_in_helper(obj1
);
16815 if (arg2
== NULL
) SWIG_fail
;
16822 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16826 if (!wxPyCheckForApp()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 wxIcon
* resultptr
;
16835 resultptr
= new wxIcon((wxIcon
&)(result
));
16836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16860 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxString
*arg1
= 0 ;
16863 bool arg2
= (bool) false ;
16865 bool temp1
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "client",(char *) "platform_dependent", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 arg1
= wxString_in_helper(obj0
);
16875 if (arg1
== NULL
) SWIG_fail
;
16880 arg2
= (bool)(SWIG_As_bool(obj1
));
16881 if (SWIG_arg_fail(2)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 wxSize
* resultptr
;
16893 resultptr
= new wxSize((wxSize
&)(result
));
16894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16910 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 wxPyArtProvider_Destroy(arg1
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16940 return Py_BuildValue((char *)"");
16942 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16970 wxConfigBase
*result
;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "config", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16978 if (SWIG_arg_fail(1)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16993 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 bool arg1
= (bool) true ;
16996 wxConfigBase
*result
;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "createOnDemand", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17005 arg1
= (bool)(SWIG_As_bool(obj0
));
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17023 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxConfigBase
*result
;
17026 char *kwnames
[] = {
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxConfigBase
*)wxConfigBase::Create();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17045 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 char *kwnames
[] = {
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 wxConfigBase::DontCreateOnDemand();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17069 wxString
*arg2
= 0 ;
17070 bool temp2
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "path", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17081 arg2
= wxString_in_helper(obj1
);
17082 if (arg2
== NULL
) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetPath((wxString
const &)*arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17123 result
= (wxString
*) &_result_ref
;
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17142 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17153 if (SWIG_arg_fail(1)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= result
;
17168 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "index", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail
;
17183 arg2
= (long)(SWIG_As_long(obj1
));
17184 if (SWIG_arg_fail(2)) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= result
;
17200 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
;
17226 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "index", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17239 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 arg2
= (long)(SWIG_As_long(obj1
));
17242 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= result
;
17258 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17261 bool arg2
= (bool) false ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "recursive", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 arg2
= (bool)(SWIG_As_bool(obj1
));
17275 if (SWIG_arg_fail(2)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17294 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17297 bool arg2
= (bool) false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "recursive", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 arg2
= (bool)(SWIG_As_bool(obj1
));
17311 if (SWIG_arg_fail(2)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17330 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17333 wxString
*arg2
= 0 ;
17335 bool temp2
= false ;
17336 PyObject
* obj0
= 0 ;
17337 PyObject
* obj1
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self",(char *) "name", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17344 if (SWIG_arg_fail(1)) SWIG_fail
;
17346 arg2
= wxString_in_helper(obj1
);
17347 if (arg2
== NULL
) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17374 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17377 wxString
*arg2
= 0 ;
17379 bool temp2
= false ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "name", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17390 arg2
= wxString_in_helper(obj1
);
17391 if (arg2
== NULL
) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17421 wxString
*arg2
= 0 ;
17423 bool temp2
= false ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "name", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17432 if (SWIG_arg_fail(1)) SWIG_fail
;
17434 arg2
= wxString_in_helper(obj1
);
17435 if (arg2
== NULL
) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17462 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17465 wxString
*arg2
= 0 ;
17466 wxConfigBase::EntryType result
;
17467 bool temp2
= false ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "name", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 arg2
= wxString_in_helper(obj1
);
17479 if (arg2
== NULL
) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_From_int((result
));
17504 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17507 wxString
*arg2
= 0 ;
17508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17511 bool temp2
= false ;
17512 bool temp3
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail
;
17524 arg2
= wxString_in_helper(obj1
);
17525 if (arg2
== NULL
) SWIG_fail
;
17530 arg3
= wxString_in_helper(obj2
);
17531 if (arg3
== NULL
) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17571 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17574 wxString
*arg2
= 0 ;
17575 long arg3
= (long) 0 ;
17577 bool temp2
= false ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17589 arg2
= wxString_in_helper(obj1
);
17590 if (arg2
== NULL
) SWIG_fail
;
17595 arg3
= (long)(SWIG_As_long(obj2
));
17596 if (SWIG_arg_fail(3)) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_From_long((long)(result
));
17623 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17626 wxString
*arg2
= 0 ;
17627 double arg3
= (double) 0.0 ;
17629 bool temp2
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 arg2
= wxString_in_helper(obj1
);
17642 if (arg2
== NULL
) SWIG_fail
;
17647 arg3
= (double)(SWIG_As_double(obj2
));
17648 if (SWIG_arg_fail(3)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_From_double((double)(result
));
17675 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17678 wxString
*arg2
= 0 ;
17679 bool arg3
= (bool) false ;
17681 bool temp2
= false ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail
;
17693 arg2
= wxString_in_helper(obj1
);
17694 if (arg2
== NULL
) SWIG_fail
;
17699 arg3
= (bool)(SWIG_As_bool(obj2
));
17700 if (SWIG_arg_fail(3)) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17730 wxString
*arg2
= 0 ;
17731 wxString
*arg3
= 0 ;
17733 bool temp2
= false ;
17734 bool temp3
= false ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 PyObject
* obj2
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "key",(char *) "value", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 arg2
= wxString_in_helper(obj1
);
17747 if (arg2
== NULL
) SWIG_fail
;
17751 arg3
= wxString_in_helper(obj2
);
17752 if (arg3
== NULL
) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17790 wxString
*arg2
= 0 ;
17793 bool temp2
= false ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "key",(char *) "value", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 arg2
= wxString_in_helper(obj1
);
17806 if (arg2
== NULL
) SWIG_fail
;
17810 arg3
= (long)(SWIG_As_long(obj2
));
17811 if (SWIG_arg_fail(3)) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17840 wxString
*arg2
= 0 ;
17843 bool temp2
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "key",(char *) "value", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 arg2
= wxString_in_helper(obj1
);
17856 if (arg2
== NULL
) SWIG_fail
;
17860 arg3
= (double)(SWIG_As_double(obj2
));
17861 if (SWIG_arg_fail(3)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17887 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17890 wxString
*arg2
= 0 ;
17893 bool temp2
= false ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 PyObject
* obj2
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "key",(char *) "value", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 arg2
= wxString_in_helper(obj1
);
17906 if (arg2
== NULL
) SWIG_fail
;
17910 arg3
= (bool)(SWIG_As_bool(obj2
));
17911 if (SWIG_arg_fail(3)) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17937 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17940 bool arg2
= (bool) false ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "currentOnly", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 arg2
= (bool)(SWIG_As_bool(obj1
));
17954 if (SWIG_arg_fail(2)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (bool)(arg1
)->Flush(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17976 wxString
*arg2
= 0 ;
17977 wxString
*arg3
= 0 ;
17979 bool temp2
= false ;
17980 bool temp3
= false ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 PyObject
* obj2
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 arg2
= wxString_in_helper(obj1
);
17993 if (arg2
== NULL
) SWIG_fail
;
17997 arg3
= wxString_in_helper(obj2
);
17998 if (arg3
== NULL
) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18036 wxString
*arg2
= 0 ;
18037 wxString
*arg3
= 0 ;
18039 bool temp2
= false ;
18040 bool temp3
= false ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18050 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 arg2
= wxString_in_helper(obj1
);
18053 if (arg2
== NULL
) SWIG_fail
;
18057 arg3
= wxString_in_helper(obj2
);
18058 if (arg3
== NULL
) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18096 wxString
*arg2
= 0 ;
18097 bool arg3
= (bool) true ;
18099 bool temp2
= false ;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 PyObject
* obj2
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18109 if (SWIG_arg_fail(1)) SWIG_fail
;
18111 arg2
= wxString_in_helper(obj1
);
18112 if (arg2
== NULL
) SWIG_fail
;
18117 arg3
= (bool)(SWIG_As_bool(obj2
));
18118 if (SWIG_arg_fail(3)) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18148 wxString
*arg2
= 0 ;
18150 bool temp2
= false ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "key", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail
;
18161 arg2
= wxString_in_helper(obj1
);
18162 if (arg2
== NULL
) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)(arg1
)->DeleteAll();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18220 bool arg2
= (bool) true ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "doIt", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 arg2
= (bool)(SWIG_As_bool(obj1
));
18233 if (SWIG_arg_fail(2)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetExpandEnvVars(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18278 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18281 bool arg2
= (bool) true ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "doIt", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 arg2
= (bool)(SWIG_As_bool(obj1
));
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetRecordDefaults(arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18339 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18342 wxString
*arg2
= 0 ;
18344 bool temp2
= false ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "str", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18355 arg2
= wxString_in_helper(obj1
);
18356 if (arg2
== NULL
) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18387 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18419 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18451 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18454 wxString
*arg2
= 0 ;
18455 bool temp2
= false ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "appName", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 arg2
= wxString_in_helper(obj1
);
18467 if (arg2
== NULL
) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetAppName((wxString
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18495 wxString
*arg2
= 0 ;
18496 bool temp2
= false ;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self",(char *) "vendorName", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18505 if (SWIG_arg_fail(1)) SWIG_fail
;
18507 arg2
= wxString_in_helper(obj1
);
18508 if (arg2
== NULL
) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18533 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "style", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18545 if (SWIG_arg_fail(1)) SWIG_fail
;
18547 arg2
= (long)(SWIG_As_long(obj1
));
18548 if (SWIG_arg_fail(2)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 (arg1
)->SetStyle(arg2
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 Py_INCREF(Py_None
); resultobj
= Py_None
;
18564 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18575 if (SWIG_arg_fail(1)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_From_long((long)(result
));
18592 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18595 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18597 return Py_BuildValue((char *)"");
18599 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18602 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18603 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18604 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18607 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18608 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18609 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18611 bool temp1
= false ;
18612 bool temp2
= false ;
18613 bool temp3
= false ;
18614 bool temp4
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 PyObject
* obj3
= 0 ;
18619 PyObject
* obj4
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18627 arg1
= wxString_in_helper(obj0
);
18628 if (arg1
== NULL
) SWIG_fail
;
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18641 arg3
= wxString_in_helper(obj2
);
18642 if (arg3
== NULL
) SWIG_fail
;
18648 arg4
= wxString_in_helper(obj3
);
18649 if (arg4
== NULL
) SWIG_fail
;
18655 arg5
= (long)(SWIG_As_long(obj4
));
18656 if (SWIG_arg_fail(5)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18705 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxConfig
*arg1
= (wxConfig
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18733 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18735 return Py_BuildValue((char *)"");
18737 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18740 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18741 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18742 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18747 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18748 wxFileConfig
*result
;
18749 bool temp1
= false ;
18750 bool temp2
= false ;
18751 bool temp3
= false ;
18752 bool temp4
= false ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 PyObject
* obj2
= 0 ;
18756 PyObject
* obj3
= 0 ;
18757 PyObject
* obj4
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18765 arg1
= wxString_in_helper(obj0
);
18766 if (arg1
== NULL
) SWIG_fail
;
18772 arg2
= wxString_in_helper(obj1
);
18773 if (arg2
== NULL
) SWIG_fail
;
18779 arg3
= wxString_in_helper(obj2
);
18780 if (arg3
== NULL
) SWIG_fail
;
18786 arg4
= wxString_in_helper(obj3
);
18787 if (arg4
== NULL
) SWIG_fail
;
18793 arg5
= (long)(SWIG_As_long(obj4
));
18794 if (SWIG_arg_fail(5)) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18843 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18868 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18871 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18873 return Py_BuildValue((char *)"");
18875 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18878 wxString
*arg2
= 0 ;
18879 wxConfigPathChanger
*result
;
18880 bool temp2
= false ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "config",(char *) "entry", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18889 if (SWIG_arg_fail(1)) SWIG_fail
;
18891 arg2
= wxString_in_helper(obj1
);
18892 if (arg2
== NULL
) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18917 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18942 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18953 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18958 result
= (wxString
*) &_result_ref
;
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18968 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18977 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18980 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18982 return Py_BuildValue((char *)"");
18984 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxString
*arg1
= 0 ;
18988 bool temp1
= false ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "sz", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18996 arg1
= wxString_in_helper(obj0
);
18997 if (arg1
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19028 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19029 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19034 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19039 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19041 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19048 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19049 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19054 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19059 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19061 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19068 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxDateTime::Country arg1
;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "country", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19078 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxDateTime::Country result
;
19098 char *kwnames
[] = {
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_From_int((result
));
19117 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "country", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19129 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19130 if (SWIG_arg_fail(1)) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19149 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "cal", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19161 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_From_int((int)(result
));
19181 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "year", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19192 arg1
= (int)(SWIG_As_int(obj0
));
19193 if (SWIG_arg_fail(1)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_From_int((int)(result
));
19211 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19214 wxDateTime::Month result
;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "cal", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19223 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_From_int((result
));
19241 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 int arg1
= (int) wxDateTime::Inv_Year
;
19244 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "year",(char *) "cal", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 arg1
= (int)(SWIG_As_int(obj0
));
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19261 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19262 if (SWIG_arg_fail(2)) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19281 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 int arg1
= (int) wxDateTime::Inv_Year
;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "year", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19293 arg1
= (int)(SWIG_As_int(obj0
));
19294 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (int)wxDateTime::GetCentury(arg1
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_From_int((int)(result
));
19313 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19316 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "year",(char *) "cal", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19326 arg1
= (int)(SWIG_As_int(obj0
));
19327 if (SWIG_arg_fail(1)) SWIG_fail
;
19331 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19332 if (SWIG_arg_fail(2)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_From_int((int)(result
));
19351 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxDateTime::Month arg1
;
19354 int arg2
= (int) wxDateTime::Inv_Year
;
19355 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "month",(char *) "year",(char *) "cal", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19366 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19367 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 arg2
= (int)(SWIG_As_int(obj1
));
19372 if (SWIG_arg_fail(2)) SWIG_fail
;
19377 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19378 if (SWIG_arg_fail(3)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_From_int((int)(result
));
19397 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime::Month arg1
;
19400 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "month",(char *) "flags", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19415 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19416 if (SWIG_arg_fail(2)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19439 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxDateTime::WeekDay arg1
;
19442 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "weekday",(char *) "flags", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19458 if (SWIG_arg_fail(2)) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19481 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19484 char *kwnames
[] = {
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (PyObject
*)DateTime_GetAmPmStrings();
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
;
19503 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 int arg1
= (int) wxDateTime::Inv_Year
;
19506 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "year",(char *) "country", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 arg1
= (int)(SWIG_As_int(obj0
));
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19524 if (SWIG_arg_fail(2)) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19543 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 int arg1
= (int) wxDateTime::Inv_Year
;
19546 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "year",(char *) "country", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 arg1
= (int)(SWIG_As_int(obj0
));
19558 if (SWIG_arg_fail(1)) SWIG_fail
;
19563 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19564 if (SWIG_arg_fail(2)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 wxDateTime
* resultptr
;
19576 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19585 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 int arg1
= (int) wxDateTime::Inv_Year
;
19588 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "year",(char *) "country", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 arg1
= (int)(SWIG_As_int(obj0
));
19600 if (SWIG_arg_fail(1)) SWIG_fail
;
19605 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19606 if (SWIG_arg_fail(2)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 wxDateTime
* resultptr
;
19618 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19627 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19630 char *kwnames
[] = {
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= wxDateTime::Now();
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 wxDateTime
* resultptr
;
19644 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19653 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19656 char *kwnames
[] = {
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= wxDateTime::UNow();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 wxDateTime
* resultptr
;
19670 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19679 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19682 char *kwnames
[] = {
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= wxDateTime::Today();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 wxDateTime
* resultptr
;
19696 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19705 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxDateTime
*result
;
19708 char *kwnames
[] = {
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (wxDateTime
*)new wxDateTime();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19727 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19730 wxDateTime
*result
;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "timet", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19738 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19739 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxDateTime
*)new wxDateTime(arg1
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19755 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19758 wxDateTime
*result
;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "jdn", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19766 arg1
= (double)(SWIG_As_double(obj0
));
19767 if (SWIG_arg_fail(1)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (wxDateTime
*)new wxDateTime(arg1
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19783 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19786 int arg2
= (int) 0 ;
19787 int arg3
= (int) 0 ;
19788 int arg4
= (int) 0 ;
19789 wxDateTime
*result
;
19790 PyObject
* obj0
= 0 ;
19791 PyObject
* obj1
= 0 ;
19792 PyObject
* obj2
= 0 ;
19793 PyObject
* obj3
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19800 arg1
= (int)(SWIG_As_int(obj0
));
19801 if (SWIG_arg_fail(1)) SWIG_fail
;
19805 arg2
= (int)(SWIG_As_int(obj1
));
19806 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 arg3
= (int)(SWIG_As_int(obj2
));
19812 if (SWIG_arg_fail(3)) SWIG_fail
;
19817 arg4
= (int)(SWIG_As_int(obj3
));
19818 if (SWIG_arg_fail(4)) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19835 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19838 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19839 int arg3
= (int) wxDateTime::Inv_Year
;
19840 int arg4
= (int) 0 ;
19841 int arg5
= (int) 0 ;
19842 int arg6
= (int) 0 ;
19843 int arg7
= (int) 0 ;
19844 wxDateTime
*result
;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 PyObject
* obj2
= 0 ;
19848 PyObject
* obj3
= 0 ;
19849 PyObject
* obj4
= 0 ;
19850 PyObject
* obj5
= 0 ;
19851 PyObject
* obj6
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19858 arg1
= (int)(SWIG_As_int(obj0
));
19859 if (SWIG_arg_fail(1)) SWIG_fail
;
19863 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19864 if (SWIG_arg_fail(2)) SWIG_fail
;
19869 arg3
= (int)(SWIG_As_int(obj2
));
19870 if (SWIG_arg_fail(3)) SWIG_fail
;
19875 arg4
= (int)(SWIG_As_int(obj3
));
19876 if (SWIG_arg_fail(4)) SWIG_fail
;
19881 arg5
= (int)(SWIG_As_int(obj4
));
19882 if (SWIG_arg_fail(5)) SWIG_fail
;
19887 arg6
= (int)(SWIG_As_int(obj5
));
19888 if (SWIG_arg_fail(6)) SWIG_fail
;
19893 arg7
= (int)(SWIG_As_int(obj6
));
19894 if (SWIG_arg_fail(7)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19911 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19921 if (SWIG_arg_fail(1)) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 Py_INCREF(Py_None
); resultobj
= Py_None
;
19936 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19939 wxDateTime
*result
;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19952 result
= (wxDateTime
*) &_result_ref
;
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19965 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19969 wxDateTime
*result
;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "timet", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19981 if (SWIG_arg_fail(2)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19987 result
= (wxDateTime
*) &_result_ref
;
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20000 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20004 wxDateTime
*result
;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "jdn", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 arg2
= (double)(SWIG_As_double(obj1
));
20016 if (SWIG_arg_fail(2)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20022 result
= (wxDateTime
*) &_result_ref
;
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20035 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20039 int arg3
= (int) 0 ;
20040 int arg4
= (int) 0 ;
20041 int arg5
= (int) 0 ;
20042 wxDateTime
*result
;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 PyObject
* obj2
= 0 ;
20046 PyObject
* obj3
= 0 ;
20047 PyObject
* obj4
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 arg2
= (int)(SWIG_As_int(obj1
));
20057 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 arg3
= (int)(SWIG_As_int(obj2
));
20062 if (SWIG_arg_fail(3)) SWIG_fail
;
20067 arg4
= (int)(SWIG_As_int(obj3
));
20068 if (SWIG_arg_fail(4)) SWIG_fail
;
20073 arg5
= (int)(SWIG_As_int(obj4
));
20074 if (SWIG_arg_fail(5)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20081 result
= (wxDateTime
*) &_result_ref
;
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20094 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20098 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20099 int arg4
= (int) wxDateTime::Inv_Year
;
20100 int arg5
= (int) 0 ;
20101 int arg6
= (int) 0 ;
20102 int arg7
= (int) 0 ;
20103 int arg8
= (int) 0 ;
20104 wxDateTime
*result
;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 PyObject
* obj3
= 0 ;
20109 PyObject
* obj4
= 0 ;
20110 PyObject
* obj5
= 0 ;
20111 PyObject
* obj6
= 0 ;
20112 PyObject
* obj7
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20119 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 arg2
= (int)(SWIG_As_int(obj1
));
20122 if (SWIG_arg_fail(2)) SWIG_fail
;
20126 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20127 if (SWIG_arg_fail(3)) SWIG_fail
;
20132 arg4
= (int)(SWIG_As_int(obj3
));
20133 if (SWIG_arg_fail(4)) SWIG_fail
;
20138 arg5
= (int)(SWIG_As_int(obj4
));
20139 if (SWIG_arg_fail(5)) SWIG_fail
;
20144 arg6
= (int)(SWIG_As_int(obj5
));
20145 if (SWIG_arg_fail(6)) SWIG_fail
;
20150 arg7
= (int)(SWIG_As_int(obj6
));
20151 if (SWIG_arg_fail(7)) SWIG_fail
;
20156 arg8
= (int)(SWIG_As_int(obj7
));
20157 if (SWIG_arg_fail(8)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20164 result
= (wxDateTime
*) &_result_ref
;
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20177 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20180 wxDateTime
*result
;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20193 result
= (wxDateTime
*) &_result_ref
;
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20206 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20210 wxDateTime
*result
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "year", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 arg2
= (int)(SWIG_As_int(obj1
));
20222 if (SWIG_arg_fail(2)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20228 result
= (wxDateTime
*) &_result_ref
;
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20241 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20244 wxDateTime::Month arg2
;
20245 wxDateTime
*result
;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "month", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20257 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20263 result
= (wxDateTime
*) &_result_ref
;
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20276 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20280 wxDateTime
*result
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "day", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20289 if (SWIG_arg_fail(1)) SWIG_fail
;
20291 arg2
= (int)(SWIG_As_int(obj1
));
20292 if (SWIG_arg_fail(2)) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20298 result
= (wxDateTime
*) &_result_ref
;
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20311 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20315 wxDateTime
*result
;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "hour", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 arg2
= (int)(SWIG_As_int(obj1
));
20327 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20333 result
= (wxDateTime
*) &_result_ref
;
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20346 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20350 wxDateTime
*result
;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "minute", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 arg2
= (int)(SWIG_As_int(obj1
));
20362 if (SWIG_arg_fail(2)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20368 result
= (wxDateTime
*) &_result_ref
;
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20381 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20385 wxDateTime
*result
;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "second", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 arg2
= (int)(SWIG_As_int(obj1
));
20397 if (SWIG_arg_fail(2)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20403 result
= (wxDateTime
*) &_result_ref
;
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20416 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20420 wxDateTime
*result
;
20421 PyObject
* obj0
= 0 ;
20422 PyObject
* obj1
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self",(char *) "millisecond", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20429 if (SWIG_arg_fail(1)) SWIG_fail
;
20431 arg2
= (int)(SWIG_As_int(obj1
));
20432 if (SWIG_arg_fail(2)) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20438 result
= (wxDateTime
*) &_result_ref
;
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20451 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20454 wxDateTime::WeekDay arg2
;
20455 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20456 wxDateTime
*result
;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20468 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20469 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20474 if (SWIG_arg_fail(3)) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20481 result
= (wxDateTime
*) &_result_ref
;
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20494 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20497 wxDateTime::WeekDay arg2
;
20498 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20516 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20517 if (SWIG_arg_fail(3)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 wxDateTime
* resultptr
;
20529 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20538 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
;
20540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20541 wxDateTime::WeekDay arg2
;
20542 wxDateTime
*result
;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "weekday", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20554 if (SWIG_arg_fail(2)) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20560 result
= (wxDateTime
*) &_result_ref
;
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20573 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxDateTime::WeekDay arg2
;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "weekday", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20589 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20599 wxDateTime
* resultptr
;
20600 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20609 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20612 wxDateTime::WeekDay arg2
;
20613 wxDateTime
*result
;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "weekday", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20625 if (SWIG_arg_fail(2)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20631 result
= (wxDateTime
*) &_result_ref
;
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20644 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20647 wxDateTime::WeekDay arg2
;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "weekday", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20657 if (SWIG_arg_fail(1)) SWIG_fail
;
20659 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20660 if (SWIG_arg_fail(2)) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 wxDateTime
* resultptr
;
20671 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20680 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20683 wxDateTime::WeekDay arg2
;
20684 int arg3
= (int) 1 ;
20685 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20686 int arg5
= (int) wxDateTime::Inv_Year
;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 PyObject
* obj2
= 0 ;
20691 PyObject
* obj3
= 0 ;
20692 PyObject
* obj4
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20702 if (SWIG_arg_fail(2)) SWIG_fail
;
20706 arg3
= (int)(SWIG_As_int(obj2
));
20707 if (SWIG_arg_fail(3)) SWIG_fail
;
20712 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20713 if (SWIG_arg_fail(4)) SWIG_fail
;
20718 arg5
= (int)(SWIG_As_int(obj4
));
20719 if (SWIG_arg_fail(5)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20738 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20741 wxDateTime::WeekDay arg2
;
20742 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20743 int arg4
= (int) wxDateTime::Inv_Year
;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 PyObject
* obj2
= 0 ;
20748 PyObject
* obj3
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20758 if (SWIG_arg_fail(2)) SWIG_fail
;
20762 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20763 if (SWIG_arg_fail(3)) SWIG_fail
;
20768 arg4
= (int)(SWIG_As_int(obj3
));
20769 if (SWIG_arg_fail(4)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20791 wxDateTime::WeekDay arg2
;
20792 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20793 int arg4
= (int) wxDateTime::Inv_Year
;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 PyObject
* obj2
= 0 ;
20798 PyObject
* obj3
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20808 if (SWIG_arg_fail(2)) SWIG_fail
;
20812 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20813 if (SWIG_arg_fail(3)) SWIG_fail
;
20818 arg4
= (int)(SWIG_As_int(obj3
));
20819 if (SWIG_arg_fail(4)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 wxDateTime
* resultptr
;
20831 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20840 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20844 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20845 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail
;
20859 arg2
= (int)(SWIG_As_int(obj1
));
20860 if (SWIG_arg_fail(2)) SWIG_fail
;
20864 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20865 if (SWIG_arg_fail(3)) SWIG_fail
;
20870 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20871 if (SWIG_arg_fail(4)) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20894 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20895 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 PyObject
* obj3
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 arg2
= (int)(SWIG_As_int(obj1
));
20910 if (SWIG_arg_fail(2)) SWIG_fail
;
20914 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20915 if (SWIG_arg_fail(3)) SWIG_fail
;
20920 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20921 if (SWIG_arg_fail(4)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 wxDateTime
* resultptr
;
20933 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20942 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20946 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 PyObject
* obj2
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20957 arg1
= (int)(SWIG_As_int(obj0
));
20958 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 arg2
= (int)(SWIG_As_int(obj1
));
20962 if (SWIG_arg_fail(2)) SWIG_fail
;
20966 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20967 if (SWIG_arg_fail(3)) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20978 wxDateTime
* resultptr
;
20979 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20988 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20991 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20992 int arg3
= (int) wxDateTime::Inv_Year
;
20993 wxDateTime
*result
;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 PyObject
* obj2
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self",(char *) "month",(char *) "year", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21003 if (SWIG_arg_fail(1)) SWIG_fail
;
21006 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21007 if (SWIG_arg_fail(2)) SWIG_fail
;
21012 arg3
= (int)(SWIG_As_int(obj2
));
21013 if (SWIG_arg_fail(3)) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21020 result
= (wxDateTime
*) &_result_ref
;
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21033 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21036 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21037 int arg3
= (int) wxDateTime::Inv_Year
;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "month",(char *) "year", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(1)) SWIG_fail
;
21051 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21052 if (SWIG_arg_fail(2)) SWIG_fail
;
21057 arg3
= (int)(SWIG_As_int(obj2
));
21058 if (SWIG_arg_fail(3)) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21069 wxDateTime
* resultptr
;
21070 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21079 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21083 wxDateTime
*result
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "yday", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21092 if (SWIG_arg_fail(1)) SWIG_fail
;
21094 arg2
= (int)(SWIG_As_int(obj1
));
21095 if (SWIG_arg_fail(2)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21101 result
= (wxDateTime
*) &_result_ref
;
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21114 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self",(char *) "yday", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21127 if (SWIG_arg_fail(1)) SWIG_fail
;
21129 arg2
= (int)(SWIG_As_int(obj1
));
21130 if (SWIG_arg_fail(2)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (arg1
)->GetYearDay(arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 wxDateTime
* resultptr
;
21141 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21150 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21161 if (SWIG_arg_fail(1)) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (double)(arg1
)->GetJulianDayNumber();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_From_double((double)(result
));
21178 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (double)(arg1
)->GetJDN();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_From_double((double)(result
));
21206 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_double((double)(result
));
21234 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (double)(arg1
)->GetMJD();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_double((double)(result
));
21262 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (double)(arg1
)->GetRataDie();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_From_double((double)(result
));
21290 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21293 wxDateTime::TimeZone
*arg2
= 0 ;
21294 bool arg3
= (bool) false ;
21296 bool temp2
= false ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 PyObject
* obj2
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21313 arg3
= (bool)(SWIG_As_bool(obj2
));
21314 if (SWIG_arg_fail(3)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 wxDateTime
* resultptr
;
21326 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21330 if (temp2
) delete arg2
;
21335 if (temp2
) delete arg2
;
21341 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21344 wxDateTime::TimeZone
*arg2
= 0 ;
21345 bool arg3
= (bool) false ;
21346 wxDateTime
*result
;
21347 bool temp2
= false ;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 PyObject
* obj2
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21357 if (SWIG_arg_fail(1)) SWIG_fail
;
21359 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21364 arg3
= (bool)(SWIG_As_bool(obj2
));
21365 if (SWIG_arg_fail(3)) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21372 result
= (wxDateTime
*) &_result_ref
;
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21380 if (temp2
) delete arg2
;
21385 if (temp2
) delete arg2
;
21391 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21394 wxDateTime::TimeZone
*arg2
= 0 ;
21395 bool arg3
= (bool) false ;
21397 bool temp2
= false ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21407 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21414 arg3
= (bool)(SWIG_As_bool(obj2
));
21415 if (SWIG_arg_fail(3)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 wxDateTime
* resultptr
;
21427 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21431 if (temp2
) delete arg2
;
21436 if (temp2
) delete arg2
;
21442 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21445 wxDateTime::TimeZone
*arg2
= 0 ;
21446 bool arg3
= (bool) false ;
21447 wxDateTime
*result
;
21448 bool temp2
= false ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21465 arg3
= (bool)(SWIG_As_bool(obj2
));
21466 if (SWIG_arg_fail(3)) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21473 result
= (wxDateTime
*) &_result_ref
;
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21481 if (temp2
) delete arg2
;
21486 if (temp2
) delete arg2
;
21492 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21495 bool arg2
= (bool) false ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "noDST", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21508 arg2
= (bool)(SWIG_As_bool(obj1
));
21509 if (SWIG_arg_fail(2)) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxDateTime
* resultptr
;
21521 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21530 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21533 bool arg2
= (bool) false ;
21534 wxDateTime
*result
;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "noDST", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21546 arg2
= (bool)(SWIG_As_bool(obj1
));
21547 if (SWIG_arg_fail(2)) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
21554 result
= (wxDateTime
*) &_result_ref
;
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21567 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21570 bool arg2
= (bool) false ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self",(char *) "noDST", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21580 if (SWIG_arg_fail(1)) SWIG_fail
;
21583 arg2
= (bool)(SWIG_As_bool(obj1
));
21584 if (SWIG_arg_fail(2)) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 wxDateTime
* resultptr
;
21596 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21605 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21608 bool arg2
= (bool) false ;
21609 wxDateTime
*result
;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "noDST", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21618 if (SWIG_arg_fail(1)) SWIG_fail
;
21621 arg2
= (bool)(SWIG_As_bool(obj1
));
21622 if (SWIG_arg_fail(2)) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21629 result
= (wxDateTime
*) &_result_ref
;
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21642 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21645 bool arg2
= (bool) false ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "noDST", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21658 arg2
= (bool)(SWIG_As_bool(obj1
));
21659 if (SWIG_arg_fail(2)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 wxDateTime
* resultptr
;
21671 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21680 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21683 bool arg2
= (bool) false ;
21684 wxDateTime
*result
;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "noDST", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 arg2
= (bool)(SWIG_As_bool(obj1
));
21697 if (SWIG_arg_fail(2)) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
21704 result
= (wxDateTime
*) &_result_ref
;
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21717 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21720 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self",(char *) "country", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail
;
21733 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21734 if (SWIG_arg_fail(2)) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_From_int((int)(result
));
21753 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21792 if (SWIG_arg_fail(1)) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21809 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21812 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21813 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21815 bool temp2
= false ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "tz", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail
;
21827 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_From_int((int)(result
));
21842 if (temp2
) delete arg2
;
21847 if (temp2
) delete arg2
;
21853 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21856 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21857 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21858 wxDateTime::Month result
;
21859 bool temp2
= false ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "tz", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21868 if (SWIG_arg_fail(1)) SWIG_fail
;
21871 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_From_int((result
));
21884 if (temp2
) delete arg2
;
21889 if (temp2
) delete arg2
;
21895 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21898 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21899 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21901 bool temp2
= false ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self",(char *) "tz", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_From_int((int)(result
));
21928 if (temp2
) delete arg2
;
21933 if (temp2
) delete arg2
;
21939 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
;
21941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21942 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21943 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21944 wxDateTime::WeekDay result
;
21945 bool temp2
= false ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "tz", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_From_int((result
));
21970 if (temp2
) delete arg2
;
21975 if (temp2
) delete arg2
;
21981 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21984 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21985 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21987 bool temp2
= false ;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "tz", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21996 if (SWIG_arg_fail(1)) SWIG_fail
;
21999 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= SWIG_From_int((int)(result
));
22014 if (temp2
) delete arg2
;
22019 if (temp2
) delete arg2
;
22025 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22028 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22029 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22031 bool temp2
= false ;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "tz", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22043 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_From_int((int)(result
));
22058 if (temp2
) delete arg2
;
22063 if (temp2
) delete arg2
;
22069 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22072 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22073 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22075 bool temp2
= false ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "tz", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) 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
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= SWIG_From_int((int)(result
));
22102 if (temp2
) delete arg2
;
22107 if (temp2
) delete arg2
;
22113 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22116 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22117 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22119 bool temp2
= false ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "tz", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_From_int((int)(result
));
22146 if (temp2
) delete arg2
;
22151 if (temp2
) delete arg2
;
22157 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22160 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22161 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22163 bool temp2
= false ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "tz", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22175 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_From_int((int)(result
));
22190 if (temp2
) delete arg2
;
22195 if (temp2
) delete arg2
;
22201 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22204 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22205 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22206 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22208 bool temp3
= false ;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 PyObject
* obj2
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self",(char *) "flags",(char *) "tz", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22218 if (SWIG_arg_fail(1)) SWIG_fail
;
22221 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22222 if (SWIG_arg_fail(2)) SWIG_fail
;
22227 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_From_int((int)(result
));
22242 if (temp3
) delete arg3
;
22247 if (temp3
) delete arg3
;
22253 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22256 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22257 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22258 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22260 bool temp3
= false ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "flags",(char *) "tz", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22274 if (SWIG_arg_fail(2)) SWIG_fail
;
22279 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_From_int((int)(result
));
22294 if (temp3
) delete arg3
;
22299 if (temp3
) delete arg3
;
22305 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22308 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "country", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22321 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22322 if (SWIG_arg_fail(2)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22341 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22344 wxDateTime
*arg2
= 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self",(char *) "datetime", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22357 if (SWIG_arg_fail(2)) SWIG_fail
;
22358 if (arg2
== NULL
) {
22359 SWIG_null_ref("wxDateTime");
22361 if (SWIG_arg_fail(2)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22379 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22382 wxDateTime
*arg2
= 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self",(char *) "datetime", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22392 if (SWIG_arg_fail(1)) SWIG_fail
;
22394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22395 if (SWIG_arg_fail(2)) SWIG_fail
;
22396 if (arg2
== NULL
) {
22397 SWIG_null_ref("wxDateTime");
22399 if (SWIG_arg_fail(2)) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22417 static PyObject
*_wrap_DateTime_IsLaterThan(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 *) "datetime", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",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
)->IsLaterThan((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_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22458 wxDateTime
*arg2
= 0 ;
22459 wxDateTime
*arg3
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "t1",(char *) "t2", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail
;
22472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(2)) SWIG_fail
;
22474 if (arg2
== NULL
) {
22475 SWIG_null_ref("wxDateTime");
22477 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22481 if (SWIG_arg_fail(3)) SWIG_fail
;
22482 if (arg3
== NULL
) {
22483 SWIG_null_ref("wxDateTime");
22485 if (SWIG_arg_fail(3)) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22503 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22506 wxDateTime
*arg2
= 0 ;
22507 wxDateTime
*arg3
= 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 PyObject
* obj2
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "t1",(char *) "t2", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22518 if (SWIG_arg_fail(1)) SWIG_fail
;
22520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(2)) SWIG_fail
;
22522 if (arg2
== NULL
) {
22523 SWIG_null_ref("wxDateTime");
22525 if (SWIG_arg_fail(2)) SWIG_fail
;
22528 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(3)) SWIG_fail
;
22530 if (arg3
== NULL
) {
22531 SWIG_null_ref("wxDateTime");
22533 if (SWIG_arg_fail(3)) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22551 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22554 wxDateTime
*arg2
= 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "dt", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22564 if (SWIG_arg_fail(1)) SWIG_fail
;
22566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22567 if (SWIG_arg_fail(2)) SWIG_fail
;
22568 if (arg2
== NULL
) {
22569 SWIG_null_ref("wxDateTime");
22571 if (SWIG_arg_fail(2)) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22589 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22592 wxDateTime
*arg2
= 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "dt", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22605 if (SWIG_arg_fail(2)) SWIG_fail
;
22606 if (arg2
== NULL
) {
22607 SWIG_null_ref("wxDateTime");
22609 if (SWIG_arg_fail(2)) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22627 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22630 wxDateTime
*arg2
= 0 ;
22631 wxTimeSpan
*arg3
= 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "dt",(char *) "ts", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22642 if (SWIG_arg_fail(1)) SWIG_fail
;
22644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(2)) SWIG_fail
;
22646 if (arg2
== NULL
) {
22647 SWIG_null_ref("wxDateTime");
22649 if (SWIG_arg_fail(2)) SWIG_fail
;
22652 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22653 if (SWIG_arg_fail(3)) SWIG_fail
;
22654 if (arg3
== NULL
) {
22655 SWIG_null_ref("wxTimeSpan");
22657 if (SWIG_arg_fail(3)) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22675 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22678 wxTimeSpan
*arg2
= 0 ;
22679 wxDateTime
*result
;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "diff", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(2)) SWIG_fail
;
22692 if (arg2
== NULL
) {
22693 SWIG_null_ref("wxTimeSpan");
22695 if (SWIG_arg_fail(2)) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22701 result
= (wxDateTime
*) &_result_ref
;
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22714 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22717 wxDateSpan
*arg2
= 0 ;
22718 wxDateTime
*result
;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self",(char *) "diff", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22727 if (SWIG_arg_fail(1)) SWIG_fail
;
22729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22730 if (SWIG_arg_fail(2)) SWIG_fail
;
22731 if (arg2
== NULL
) {
22732 SWIG_null_ref("wxDateSpan");
22734 if (SWIG_arg_fail(2)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22740 result
= (wxDateTime
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22753 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22756 wxTimeSpan
*arg2
= 0 ;
22757 wxDateTime
*result
;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "diff", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22766 if (SWIG_arg_fail(1)) SWIG_fail
;
22768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(2)) SWIG_fail
;
22770 if (arg2
== NULL
) {
22771 SWIG_null_ref("wxTimeSpan");
22773 if (SWIG_arg_fail(2)) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22779 result
= (wxDateTime
*) &_result_ref
;
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22792 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22795 wxDateSpan
*arg2
= 0 ;
22796 wxDateTime
*result
;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self",(char *) "diff", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(2)) SWIG_fail
;
22809 if (arg2
== NULL
) {
22810 SWIG_null_ref("wxDateSpan");
22812 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22818 result
= (wxDateTime
*) &_result_ref
;
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22831 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22834 wxDateTime
*arg2
= 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "dt", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22847 if (SWIG_arg_fail(2)) SWIG_fail
;
22848 if (arg2
== NULL
) {
22849 SWIG_null_ref("wxDateTime");
22851 if (SWIG_arg_fail(2)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxTimeSpan
* resultptr
;
22862 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22871 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22872 PyObject
*resultobj
;
22873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22874 wxTimeSpan
*arg2
= 0 ;
22875 wxDateTime
*result
;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22879 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22884 if (SWIG_arg_fail(2)) SWIG_fail
;
22885 if (arg2
== NULL
) {
22886 SWIG_null_ref("wxTimeSpan");
22888 if (SWIG_arg_fail(2)) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22894 result
= (wxDateTime
*) &_result_ref
;
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22907 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22908 PyObject
*resultobj
;
22909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22910 wxDateSpan
*arg2
= 0 ;
22911 wxDateTime
*result
;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22915 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(2)) SWIG_fail
;
22921 if (arg2
== NULL
) {
22922 SWIG_null_ref("wxDateSpan");
22924 if (SWIG_arg_fail(2)) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22930 result
= (wxDateTime
*) &_result_ref
;
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22943 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22948 argc
= PyObject_Length(args
);
22949 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22950 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22956 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22966 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22974 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22982 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22992 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23000 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23005 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23010 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23011 PyObject
*resultobj
;
23012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23013 wxTimeSpan
*arg2
= 0 ;
23014 wxDateTime
*result
;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23018 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23020 if (SWIG_arg_fail(1)) SWIG_fail
;
23022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23023 if (SWIG_arg_fail(2)) SWIG_fail
;
23024 if (arg2
== NULL
) {
23025 SWIG_null_ref("wxTimeSpan");
23027 if (SWIG_arg_fail(2)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23033 result
= (wxDateTime
*) &_result_ref
;
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23046 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23047 PyObject
*resultobj
;
23048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23049 wxDateSpan
*arg2
= 0 ;
23050 wxDateTime
*result
;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23054 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23056 if (SWIG_arg_fail(1)) SWIG_fail
;
23058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23059 if (SWIG_arg_fail(2)) SWIG_fail
;
23060 if (arg2
== NULL
) {
23061 SWIG_null_ref("wxDateSpan");
23063 if (SWIG_arg_fail(2)) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23069 result
= (wxDateTime
*) &_result_ref
;
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23082 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
23087 argc
= PyObject_Length(args
);
23088 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23089 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23095 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23105 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23113 return _wrap_DateTime___isub____SWIG_0(self
,args
);
23121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23131 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23139 return _wrap_DateTime___isub____SWIG_1(self
,args
);
23144 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
23149 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
23150 PyObject
*resultobj
;
23151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23152 wxTimeSpan
*arg2
= 0 ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23157 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23159 if (SWIG_arg_fail(1)) SWIG_fail
;
23161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23162 if (SWIG_arg_fail(2)) SWIG_fail
;
23163 if (arg2
== NULL
) {
23164 SWIG_null_ref("wxTimeSpan");
23166 if (SWIG_arg_fail(2)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 wxDateTime
* resultptr
;
23177 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23186 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
23187 PyObject
*resultobj
;
23188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23189 wxDateSpan
*arg2
= 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23194 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail
;
23198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23199 if (SWIG_arg_fail(2)) SWIG_fail
;
23200 if (arg2
== NULL
) {
23201 SWIG_null_ref("wxDateSpan");
23203 if (SWIG_arg_fail(2)) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 wxDateTime
* resultptr
;
23214 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23223 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
23228 argc
= PyObject_Length(args
);
23229 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23230 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23246 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23254 return _wrap_DateTime___add____SWIG_0(self
,args
);
23262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23280 return _wrap_DateTime___add____SWIG_1(self
,args
);
23285 Py_INCREF(Py_NotImplemented
);
23286 return Py_NotImplemented
;
23290 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23291 PyObject
*resultobj
;
23292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23293 wxDateTime
*arg2
= 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23298 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail
;
23302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23303 if (SWIG_arg_fail(2)) SWIG_fail
;
23304 if (arg2
== NULL
) {
23305 SWIG_null_ref("wxDateTime");
23307 if (SWIG_arg_fail(2)) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23317 wxTimeSpan
* resultptr
;
23318 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23327 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23328 PyObject
*resultobj
;
23329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23330 wxTimeSpan
*arg2
= 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23335 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23340 if (SWIG_arg_fail(2)) SWIG_fail
;
23341 if (arg2
== NULL
) {
23342 SWIG_null_ref("wxTimeSpan");
23344 if (SWIG_arg_fail(2)) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 wxDateTime
* resultptr
;
23355 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23364 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23365 PyObject
*resultobj
;
23366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23367 wxDateSpan
*arg2
= 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23372 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(2)) SWIG_fail
;
23378 if (arg2
== NULL
) {
23379 SWIG_null_ref("wxDateSpan");
23381 if (SWIG_arg_fail(2)) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 wxDateTime
* resultptr
;
23392 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23401 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23406 argc
= PyObject_Length(args
);
23407 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23408 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23414 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23424 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23432 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23440 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23450 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23458 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23466 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23476 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23484 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23489 Py_INCREF(Py_NotImplemented
);
23490 return Py_NotImplemented
;
23494 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23497 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "other", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail
;
23508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23509 if (SWIG_arg_fail(2)) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23526 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23529 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 PyObject
* obj1
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self",(char *) "other", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23539 if (SWIG_arg_fail(1)) SWIG_fail
;
23540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(2)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23558 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23561 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self",(char *) "other", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23571 if (SWIG_arg_fail(1)) SWIG_fail
;
23572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23573 if (SWIG_arg_fail(2)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23590 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23593 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "other", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail
;
23604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23605 if (SWIG_arg_fail(2)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23625 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "other", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail
;
23636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23637 if (SWIG_arg_fail(2)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23654 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23657 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self",(char *) "other", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23667 if (SWIG_arg_fail(1)) SWIG_fail
;
23668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(2)) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23689 wxString
*arg2
= 0 ;
23691 bool temp2
= false ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "date", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail
;
23702 arg2
= wxString_in_helper(obj1
);
23703 if (arg2
== NULL
) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_From_int((int)(result
));
23730 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23733 wxString
*arg2
= 0 ;
23734 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23736 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23737 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23739 bool temp2
= false ;
23740 bool temp3
= false ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 PyObject
* obj2
= 0 ;
23744 PyObject
* obj3
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23753 arg2
= wxString_in_helper(obj1
);
23754 if (arg2
== NULL
) SWIG_fail
;
23759 arg3
= wxString_in_helper(obj2
);
23760 if (arg3
== NULL
) SWIG_fail
;
23766 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(4)) SWIG_fail
;
23768 if (arg4
== NULL
) {
23769 SWIG_null_ref("wxDateTime");
23771 if (SWIG_arg_fail(4)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int((int)(result
));
23806 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23809 wxString
*arg2
= 0 ;
23811 bool temp2
= false ;
23812 PyObject
* obj0
= 0 ;
23813 PyObject
* obj1
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self",(char *) "datetime", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23820 if (SWIG_arg_fail(1)) SWIG_fail
;
23822 arg2
= wxString_in_helper(obj1
);
23823 if (arg2
== NULL
) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_From_int((int)(result
));
23850 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23853 wxString
*arg2
= 0 ;
23855 bool temp2
= false ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self",(char *) "date", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23864 if (SWIG_arg_fail(1)) SWIG_fail
;
23866 arg2
= wxString_in_helper(obj1
);
23867 if (arg2
== NULL
) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_From_int((int)(result
));
23894 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23897 wxString
*arg2
= 0 ;
23899 bool temp2
= false ;
23900 PyObject
* obj0
= 0 ;
23901 PyObject
* obj1
= 0 ;
23902 char *kwnames
[] = {
23903 (char *) "self",(char *) "time", NULL
23906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23908 if (SWIG_arg_fail(1)) SWIG_fail
;
23910 arg2
= wxString_in_helper(obj1
);
23911 if (arg2
== NULL
) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_From_int((int)(result
));
23938 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23941 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23942 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23943 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23944 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23946 bool temp2
= false ;
23947 bool temp3
= false ;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23950 PyObject
* obj2
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "format",(char *) "tz", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23957 if (SWIG_arg_fail(1)) SWIG_fail
;
23960 arg2
= wxString_in_helper(obj1
);
23961 if (arg2
== NULL
) SWIG_fail
;
23967 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23990 if (temp3
) delete arg3
;
23999 if (temp3
) delete arg3
;
24005 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24016 if (SWIG_arg_fail(1)) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24037 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24048 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24069 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
24079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24080 if (SWIG_arg_fail(1)) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24101 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24105 PyObject
* obj0
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
24111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24112 if (SWIG_arg_fail(1)) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24133 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
24135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24136 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
24138 return Py_BuildValue((char *)"");
24140 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "sec", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
24151 arg1
= (long)(SWIG_As_long(obj0
));
24152 if (SWIG_arg_fail(1)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= wxTimeSpan::Seconds(arg1
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 wxTimeSpan
* resultptr
;
24163 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24172 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24175 char *kwnames
[] = {
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= wxTimeSpan::Second();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 wxTimeSpan
* resultptr
;
24189 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24198 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "min", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
24209 arg1
= (long)(SWIG_As_long(obj0
));
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= wxTimeSpan::Minutes(arg1
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 wxTimeSpan
* resultptr
;
24221 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24230 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24233 char *kwnames
[] = {
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= wxTimeSpan::Minute();
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24246 wxTimeSpan
* resultptr
;
24247 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24256 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "hours", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24267 arg1
= (long)(SWIG_As_long(obj0
));
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= wxTimeSpan::Hours(arg1
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24278 wxTimeSpan
* resultptr
;
24279 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24288 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
;
24291 char *kwnames
[] = {
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= wxTimeSpan::Hour();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 wxTimeSpan
* resultptr
;
24305 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24314 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24318 PyObject
* obj0
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "days", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24325 arg1
= (long)(SWIG_As_long(obj0
));
24326 if (SWIG_arg_fail(1)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= wxTimeSpan::Days(arg1
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 wxTimeSpan
* resultptr
;
24337 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24346 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24349 char *kwnames
[] = {
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= wxTimeSpan::Day();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 wxTimeSpan
* resultptr
;
24363 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24372 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "days", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24383 arg1
= (long)(SWIG_As_long(obj0
));
24384 if (SWIG_arg_fail(1)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= wxTimeSpan::Weeks(arg1
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24394 wxTimeSpan
* resultptr
;
24395 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24404 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24407 char *kwnames
[] = {
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= wxTimeSpan::Week();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 wxTimeSpan
* resultptr
;
24421 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24430 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 long arg1
= (long) 0 ;
24433 long arg2
= (long) 0 ;
24434 long arg3
= (long) 0 ;
24435 long arg4
= (long) 0 ;
24436 wxTimeSpan
*result
;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 PyObject
* obj3
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24448 arg1
= (long)(SWIG_As_long(obj0
));
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24454 arg2
= (long)(SWIG_As_long(obj1
));
24455 if (SWIG_arg_fail(2)) SWIG_fail
;
24460 arg3
= (long)(SWIG_As_long(obj2
));
24461 if (SWIG_arg_fail(3)) SWIG_fail
;
24466 arg4
= (long)(SWIG_As_long(obj3
));
24467 if (SWIG_arg_fail(4)) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24484 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24494 if (SWIG_arg_fail(1)) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 Py_INCREF(Py_None
); resultobj
= Py_None
;
24509 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24512 wxTimeSpan
*arg2
= 0 ;
24513 wxTimeSpan
*result
;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "diff", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail
;
24524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(2)) SWIG_fail
;
24526 if (arg2
== NULL
) {
24527 SWIG_null_ref("wxTimeSpan");
24529 if (SWIG_arg_fail(2)) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24535 result
= (wxTimeSpan
*) &_result_ref
;
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24548 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24551 wxTimeSpan
*arg2
= 0 ;
24552 wxTimeSpan
*result
;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "diff", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail
;
24563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24564 if (SWIG_arg_fail(2)) SWIG_fail
;
24565 if (arg2
== NULL
) {
24566 SWIG_null_ref("wxTimeSpan");
24568 if (SWIG_arg_fail(2)) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24574 result
= (wxTimeSpan
*) &_result_ref
;
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24587 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24591 wxTimeSpan
*result
;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "n", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24602 arg2
= (int)(SWIG_As_int(obj1
));
24603 if (SWIG_arg_fail(2)) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24609 result
= (wxTimeSpan
*) &_result_ref
;
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24622 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24625 wxTimeSpan
*result
;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24633 if (SWIG_arg_fail(1)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24638 result
= (wxTimeSpan
*) &_result_ref
;
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24651 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24655 PyObject
* obj0
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24662 if (SWIG_arg_fail(1)) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 wxTimeSpan
* resultptr
;
24672 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24681 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24684 wxTimeSpan
*arg2
= 0 ;
24685 wxTimeSpan
*result
;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "diff", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(2)) SWIG_fail
;
24698 if (arg2
== NULL
) {
24699 SWIG_null_ref("wxTimeSpan");
24701 if (SWIG_arg_fail(2)) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24707 result
= (wxTimeSpan
*) &_result_ref
;
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24720 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24723 wxTimeSpan
*arg2
= 0 ;
24724 wxTimeSpan
*result
;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "diff", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24736 if (SWIG_arg_fail(2)) SWIG_fail
;
24737 if (arg2
== NULL
) {
24738 SWIG_null_ref("wxTimeSpan");
24740 if (SWIG_arg_fail(2)) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24746 result
= (wxTimeSpan
*) &_result_ref
;
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24759 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24763 wxTimeSpan
*result
;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "n", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24772 if (SWIG_arg_fail(1)) SWIG_fail
;
24774 arg2
= (int)(SWIG_As_int(obj1
));
24775 if (SWIG_arg_fail(2)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24781 result
= (wxTimeSpan
*) &_result_ref
;
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24794 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24797 wxTimeSpan
*result
;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24810 result
= (wxTimeSpan
*) &_result_ref
;
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24823 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24826 wxTimeSpan
*arg2
= 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char *kwnames
[] = {
24831 (char *) "self",(char *) "other", NULL
24834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24836 if (SWIG_arg_fail(1)) SWIG_fail
;
24838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(2)) SWIG_fail
;
24840 if (arg2
== NULL
) {
24841 SWIG_null_ref("wxTimeSpan");
24843 if (SWIG_arg_fail(2)) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 wxTimeSpan
* resultptr
;
24854 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24863 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24866 wxTimeSpan
*arg2
= 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "other", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(2)) SWIG_fail
;
24880 if (arg2
== NULL
) {
24881 SWIG_null_ref("wxTimeSpan");
24883 if (SWIG_arg_fail(2)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 wxTimeSpan
* resultptr
;
24894 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24903 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "n", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail
;
24918 arg2
= (int)(SWIG_As_int(obj1
));
24919 if (SWIG_arg_fail(2)) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= wxTimeSpan___mul__(arg1
,arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 wxTimeSpan
* resultptr
;
24930 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24939 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "n", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24954 arg2
= (int)(SWIG_As_int(obj1
));
24955 if (SWIG_arg_fail(2)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 wxTimeSpan
* resultptr
;
24966 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24975 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24978 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "other", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24988 if (SWIG_arg_fail(1)) SWIG_fail
;
24989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24990 if (SWIG_arg_fail(2)) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25007 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25010 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self",(char *) "other", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25022 if (SWIG_arg_fail(2)) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25039 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25042 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self",(char *) "other", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25052 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(2)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25071 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25074 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "other", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
25083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25084 if (SWIG_arg_fail(1)) SWIG_fail
;
25085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(2)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25103 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25106 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "other", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25116 if (SWIG_arg_fail(1)) SWIG_fail
;
25117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25118 if (SWIG_arg_fail(2)) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25135 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25138 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self",(char *) "other", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25148 if (SWIG_arg_fail(1)) SWIG_fail
;
25149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25150 if (SWIG_arg_fail(2)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25167 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25171 PyObject
* obj0
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
25177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25178 if (SWIG_arg_fail(1)) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25195 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25223 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
25233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25234 if (SWIG_arg_fail(1)) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25251 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25254 wxTimeSpan
*arg2
= 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "ts", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(2)) SWIG_fail
;
25268 if (arg2
== NULL
) {
25269 SWIG_null_ref("wxTimeSpan");
25271 if (SWIG_arg_fail(2)) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25289 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25292 wxTimeSpan
*arg2
= 0 ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "ts", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25302 if (SWIG_arg_fail(1)) SWIG_fail
;
25304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25305 if (SWIG_arg_fail(2)) SWIG_fail
;
25306 if (arg2
== NULL
) {
25307 SWIG_null_ref("wxTimeSpan");
25309 if (SWIG_arg_fail(2)) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25327 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25330 wxTimeSpan
*arg2
= 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "t", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail
;
25342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25343 if (SWIG_arg_fail(2)) SWIG_fail
;
25344 if (arg2
== NULL
) {
25345 SWIG_null_ref("wxTimeSpan");
25347 if (SWIG_arg_fail(2)) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25365 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25376 if (SWIG_arg_fail(1)) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_From_int((int)(result
));
25393 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_From_int((int)(result
));
25421 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_From_int((int)(result
));
25449 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25453 PyObject
* obj0
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_From_int((int)(result
));
25477 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25498 hi
= PyLong_FromLong( (&result
)->GetHi() );
25499 lo
= PyLong_FromLong( (&result
)->GetLo() );
25500 shifter
= PyLong_FromLong(32);
25501 shifted
= PyNumber_Lshift(hi
, shifter
);
25502 resultobj
= PyNumber_Or(shifted
, lo
);
25505 Py_DECREF(shifter
);
25506 Py_DECREF(shifted
);
25514 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25525 if (SWIG_arg_fail(1)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25535 hi
= PyLong_FromLong( (&result
)->GetHi() );
25536 lo
= PyLong_FromLong( (&result
)->GetLo() );
25537 shifter
= PyLong_FromLong(32);
25538 shifted
= PyNumber_Lshift(hi
, shifter
);
25539 resultobj
= PyNumber_Or(shifted
, lo
);
25542 Py_DECREF(shifter
);
25543 Py_DECREF(shifted
);
25551 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25554 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25555 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25557 bool temp2
= false ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "format", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 arg2
= wxString_in_helper(obj1
);
25570 if (arg2
== NULL
) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25602 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25605 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25607 return Py_BuildValue((char *)"");
25609 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 int arg1
= (int) 0 ;
25612 int arg2
= (int) 0 ;
25613 int arg3
= (int) 0 ;
25614 int arg4
= (int) 0 ;
25615 wxDateSpan
*result
;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 PyObject
* obj2
= 0 ;
25619 PyObject
* obj3
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25627 arg1
= (int)(SWIG_As_int(obj0
));
25628 if (SWIG_arg_fail(1)) SWIG_fail
;
25633 arg2
= (int)(SWIG_As_int(obj1
));
25634 if (SWIG_arg_fail(2)) SWIG_fail
;
25639 arg3
= (int)(SWIG_As_int(obj2
));
25640 if (SWIG_arg_fail(3)) SWIG_fail
;
25645 arg4
= (int)(SWIG_As_int(obj3
));
25646 if (SWIG_arg_fail(4)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25663 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 Py_INCREF(Py_None
); resultobj
= Py_None
;
25688 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25692 PyObject
* obj0
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "days", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25699 arg1
= (int)(SWIG_As_int(obj0
));
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= wxDateSpan::Days(arg1
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25710 wxDateSpan
* resultptr
;
25711 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25720 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25723 char *kwnames
[] = {
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= wxDateSpan::Day();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 wxDateSpan
* resultptr
;
25737 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25746 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25750 PyObject
* obj0
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "weeks", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25757 arg1
= (int)(SWIG_As_int(obj0
));
25758 if (SWIG_arg_fail(1)) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= wxDateSpan::Weeks(arg1
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 wxDateSpan
* resultptr
;
25769 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25778 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25781 char *kwnames
[] = {
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= wxDateSpan::Week();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxDateSpan
* resultptr
;
25795 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25804 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25808 PyObject
* obj0
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "mon", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25815 arg1
= (int)(SWIG_As_int(obj0
));
25816 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= wxDateSpan::Months(arg1
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 wxDateSpan
* resultptr
;
25827 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25836 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25839 char *kwnames
[] = {
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= wxDateSpan::Month();
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 wxDateSpan
* resultptr
;
25853 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25862 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25866 PyObject
* obj0
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "years", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25873 arg1
= (int)(SWIG_As_int(obj0
));
25874 if (SWIG_arg_fail(1)) SWIG_fail
;
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= wxDateSpan::Years(arg1
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25884 wxDateSpan
* resultptr
;
25885 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25894 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25897 char *kwnames
[] = {
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= wxDateSpan::Year();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 wxDateSpan
* resultptr
;
25911 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25920 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25924 wxDateSpan
*result
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "n", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 arg2
= (int)(SWIG_As_int(obj1
));
25936 if (SWIG_arg_fail(2)) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25942 result
= (wxDateSpan
*) &_result_ref
;
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25955 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25959 wxDateSpan
*result
;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "n", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail
;
25970 arg2
= (int)(SWIG_As_int(obj1
));
25971 if (SWIG_arg_fail(2)) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25977 result
= (wxDateSpan
*) &_result_ref
;
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25990 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25994 wxDateSpan
*result
;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "n", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 arg2
= (int)(SWIG_As_int(obj1
));
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26012 result
= (wxDateSpan
*) &_result_ref
;
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26025 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26029 wxDateSpan
*result
;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "n", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 arg2
= (int)(SWIG_As_int(obj1
));
26041 if (SWIG_arg_fail(2)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26047 result
= (wxDateSpan
*) &_result_ref
;
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26060 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
26070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_From_int((int)(result
));
26088 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_From_int((int)(result
));
26116 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26127 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_From_int((int)(result
));
26144 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",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();
26158 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_From_int((int)(result
));
26172 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
26182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_From_int((int)(result
));
26200 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26203 wxDateSpan
*arg2
= 0 ;
26204 wxDateSpan
*result
;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self",(char *) "other", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 if (arg2
== NULL
) {
26218 SWIG_null_ref("wxDateSpan");
26220 if (SWIG_arg_fail(2)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26226 result
= (wxDateSpan
*) &_result_ref
;
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26239 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26242 wxDateSpan
*arg2
= 0 ;
26243 wxDateSpan
*result
;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self",(char *) "other", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26252 if (SWIG_arg_fail(1)) SWIG_fail
;
26254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26255 if (SWIG_arg_fail(2)) SWIG_fail
;
26256 if (arg2
== NULL
) {
26257 SWIG_null_ref("wxDateSpan");
26259 if (SWIG_arg_fail(2)) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26265 result
= (wxDateSpan
*) &_result_ref
;
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26278 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26281 wxDateSpan
*result
;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(1)) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26294 result
= (wxDateSpan
*) &_result_ref
;
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26307 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26311 wxDateSpan
*result
;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "factor", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 arg2
= (int)(SWIG_As_int(obj1
));
26323 if (SWIG_arg_fail(2)) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26329 result
= (wxDateSpan
*) &_result_ref
;
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26342 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26345 wxDateSpan
*arg2
= 0 ;
26346 wxDateSpan
*result
;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "other", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26355 if (SWIG_arg_fail(1)) SWIG_fail
;
26357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(2)) SWIG_fail
;
26359 if (arg2
== NULL
) {
26360 SWIG_null_ref("wxDateSpan");
26362 if (SWIG_arg_fail(2)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26368 result
= (wxDateSpan
*) &_result_ref
;
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26381 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26384 wxDateSpan
*arg2
= 0 ;
26385 wxDateSpan
*result
;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "other", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26397 if (SWIG_arg_fail(2)) SWIG_fail
;
26398 if (arg2
== NULL
) {
26399 SWIG_null_ref("wxDateSpan");
26401 if (SWIG_arg_fail(2)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26407 result
= (wxDateSpan
*) &_result_ref
;
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26420 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26423 wxDateSpan
*result
;
26424 PyObject
* obj0
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26436 result
= (wxDateSpan
*) &_result_ref
;
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26449 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26453 wxDateSpan
*result
;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self",(char *) "factor", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 arg2
= (int)(SWIG_As_int(obj1
));
26465 if (SWIG_arg_fail(2)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26471 result
= (wxDateSpan
*) &_result_ref
;
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26484 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26487 wxDateSpan
*arg2
= 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "other", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail
;
26499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26500 if (SWIG_arg_fail(2)) SWIG_fail
;
26501 if (arg2
== NULL
) {
26502 SWIG_null_ref("wxDateSpan");
26504 if (SWIG_arg_fail(2)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 wxDateSpan
* resultptr
;
26515 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26524 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26527 wxDateSpan
*arg2
= 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "other", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26537 if (SWIG_arg_fail(1)) SWIG_fail
;
26539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(2)) SWIG_fail
;
26541 if (arg2
== NULL
) {
26542 SWIG_null_ref("wxDateSpan");
26544 if (SWIG_arg_fail(2)) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26554 wxDateSpan
* resultptr
;
26555 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26564 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "self",(char *) "n", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26577 if (SWIG_arg_fail(1)) SWIG_fail
;
26579 arg2
= (int)(SWIG_As_int(obj1
));
26580 if (SWIG_arg_fail(2)) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= wxDateSpan___mul__(arg1
,arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26590 wxDateSpan
* resultptr
;
26591 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26600 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "n", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail
;
26615 arg2
= (int)(SWIG_As_int(obj1
));
26616 if (SWIG_arg_fail(2)) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= wxDateSpan___rmul__(arg1
,arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 wxDateSpan
* resultptr
;
26627 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26636 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26639 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self",(char *) "other", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26649 if (SWIG_arg_fail(1)) SWIG_fail
;
26650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(2)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26668 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26671 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self",(char *) "other", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26681 if (SWIG_arg_fail(1)) SWIG_fail
;
26682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26683 if (SWIG_arg_fail(2)) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26700 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26703 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26705 return Py_BuildValue((char *)"");
26707 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26710 char *kwnames
[] = {
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (long)wxGetLocalTime();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= SWIG_From_long((long)(result
));
26731 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26734 char *kwnames
[] = {
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (long)wxGetUTCTime();
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_From_long((long)(result
));
26755 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26758 char *kwnames
[] = {
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= (long)wxGetCurrentTime();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_From_long((long)(result
));
26779 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
;
26782 char *kwnames
[] = {
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= wxGetLocalTimeMillis();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26796 hi
= PyLong_FromLong( (&result
)->GetHi() );
26797 lo
= PyLong_FromLong( (&result
)->GetLo() );
26798 shifter
= PyLong_FromLong(32);
26799 shifted
= PyNumber_Lshift(hi
, shifter
);
26800 resultobj
= PyNumber_Or(shifted
, lo
);
26803 Py_DECREF(shifter
);
26804 Py_DECREF(shifted
);
26812 static int _wrap_DefaultDateTime_set(PyObject
*) {
26813 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26818 static PyObject
*_wrap_DefaultDateTime_get(void) {
26821 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26826 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxDataFormatId arg1
;
26829 wxDataFormat
*result
;
26830 PyObject
* obj0
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "type", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26837 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26838 if (SWIG_arg_fail(1)) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26854 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxString
*arg1
= 0 ;
26857 wxDataFormat
*result
;
26858 bool temp1
= false ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "format", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26866 arg1
= wxString_in_helper(obj0
);
26867 if (arg1
== NULL
) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26892 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26895 PyObject
* obj0
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26902 if (SWIG_arg_fail(1)) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 Py_INCREF(Py_None
); resultobj
= Py_None
;
26917 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26918 PyObject
*resultobj
;
26919 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26920 wxDataFormatId arg2
;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26925 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail
;
26929 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26930 if (SWIG_arg_fail(2)) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26948 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26949 PyObject
*resultobj
;
26950 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26951 wxDataFormatId arg2
;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26956 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26960 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26961 if (SWIG_arg_fail(2)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26979 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26980 PyObject
*resultobj
;
26981 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26982 wxDataFormat
*arg2
= 0 ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26987 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26989 if (SWIG_arg_fail(1)) SWIG_fail
;
26991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(2)) SWIG_fail
;
26993 if (arg2
== NULL
) {
26994 SWIG_null_ref("wxDataFormat");
26996 if (SWIG_arg_fail(2)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27014 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27019 argc
= PyObject_Length(args
);
27020 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27021 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27027 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27037 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27045 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27053 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27061 _v
= SWIG_Check_int(argv
[1]);
27063 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
27068 Py_INCREF(Py_NotImplemented
);
27069 return Py_NotImplemented
;
27073 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
27074 PyObject
*resultobj
;
27075 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27076 wxDataFormat
*arg2
= 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27081 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27083 if (SWIG_arg_fail(1)) SWIG_fail
;
27085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27086 if (SWIG_arg_fail(2)) SWIG_fail
;
27087 if (arg2
== NULL
) {
27088 SWIG_null_ref("wxDataFormat");
27090 if (SWIG_arg_fail(2)) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27108 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
27113 argc
= PyObject_Length(args
);
27114 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27115 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27131 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27139 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
27147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27155 _v
= SWIG_Check_int(argv
[1]);
27157 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
27162 Py_INCREF(Py_NotImplemented
);
27163 return Py_NotImplemented
;
27167 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27170 wxDataFormatId arg2
;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "format", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->SetType((wxDataFormatId
)arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27201 wxDataFormatId result
;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= SWIG_From_int((result
));
27224 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27228 PyObject
* obj0
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
27234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27235 if (SWIG_arg_fail(1)) SWIG_fail
;
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 result
= ((wxDataFormat
const *)arg1
)->GetId();
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27256 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27259 wxString
*arg2
= 0 ;
27260 bool temp2
= false ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "format", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 arg2
= wxString_in_helper(obj1
);
27272 if (arg2
== NULL
) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 (arg1
)->SetId((wxString
const &)*arg2
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27300 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27302 return Py_BuildValue((char *)"");
27304 static int _wrap_FormatInvalid_set(PyObject
*) {
27305 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27310 static PyObject
*_wrap_FormatInvalid_get(void) {
27313 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27318 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27346 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27347 SwigValueWrapper
<wxDataFormat
> result
;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "dir", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail
;
27359 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27360 if (SWIG_arg_fail(2)) SWIG_fail
;
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 wxDataFormat
* resultptr
;
27372 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27381 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27384 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self",(char *) "dir", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27397 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27398 if (SWIG_arg_fail(2)) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27417 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27420 wxDataFormat
*arg2
= 0 ;
27421 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 PyObject
* obj2
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self",(char *) "format",(char *) "dir", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27435 if (SWIG_arg_fail(2)) SWIG_fail
;
27436 if (arg2
== NULL
) {
27437 SWIG_null_ref("wxDataFormat");
27439 if (SWIG_arg_fail(2)) SWIG_fail
;
27443 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27444 if (SWIG_arg_fail(3)) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27463 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27466 wxDataFormat
*arg2
= 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "format", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail
;
27478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27479 if (SWIG_arg_fail(2)) SWIG_fail
;
27480 if (arg2
== NULL
) {
27481 SWIG_null_ref("wxDataFormat");
27483 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27501 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27504 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "dir", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27514 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27518 if (SWIG_arg_fail(2)) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
;
27535 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27538 wxDataFormat
*arg2
= 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "format", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27551 if (SWIG_arg_fail(2)) SWIG_fail
;
27552 if (arg2
== NULL
) {
27553 SWIG_null_ref("wxDataFormat");
27555 if (SWIG_arg_fail(2)) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= result
;
27571 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27574 wxDataFormat
*arg2
= 0 ;
27575 PyObject
*arg3
= (PyObject
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 PyObject
* obj2
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "format",(char *) "data", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail
;
27588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27589 if (SWIG_arg_fail(2)) SWIG_fail
;
27590 if (arg2
== NULL
) {
27591 SWIG_null_ref("wxDataFormat");
27593 if (SWIG_arg_fail(2)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27612 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27615 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27617 return Py_BuildValue((char *)"");
27619 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27622 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27623 wxDataObjectSimple
*result
;
27624 PyObject
* obj0
= 0 ;
27625 char *kwnames
[] = {
27626 (char *) "format", NULL
27629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail
;
27634 if (arg1
== NULL
) {
27635 SWIG_null_ref("wxDataFormat");
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27654 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27657 wxDataFormat
*result
;
27658 PyObject
* obj0
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27670 result
= (wxDataFormat
*) &_result_ref
;
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27683 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27686 wxDataFormat
*arg2
= 0 ;
27687 PyObject
* obj0
= 0 ;
27688 PyObject
* obj1
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self",(char *) "format", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27695 if (SWIG_arg_fail(1)) SWIG_fail
;
27697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(2)) SWIG_fail
;
27699 if (arg2
== NULL
) {
27700 SWIG_null_ref("wxDataFormat");
27702 if (SWIG_arg_fail(2)) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 Py_INCREF(Py_None
); resultobj
= Py_None
;
27718 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
;
27720 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "self", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27729 if (SWIG_arg_fail(1)) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27746 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "self", NULL
27755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27757 if (SWIG_arg_fail(1)) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= result
;
27772 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27775 PyObject
*arg2
= (PyObject
*) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "data", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27803 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27806 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27808 return Py_BuildValue((char *)"");
27810 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27813 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27814 wxPyDataObjectSimple
*result
;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "format", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail
;
27825 if (arg1
== NULL
) {
27826 SWIG_null_ref("wxDataFormat");
27828 if (SWIG_arg_fail(1)) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27845 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27848 PyObject
*arg2
= (PyObject
*) 0 ;
27849 PyObject
*arg3
= (PyObject
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 PyObject
* obj2
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self",(char *) "self",(char *) "_class", NULL
27857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27859 if (SWIG_arg_fail(1)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27879 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27881 return Py_BuildValue((char *)"");
27883 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
;
27885 wxDataObjectComposite
*result
;
27886 char *kwnames
[] = {
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27905 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27908 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27909 bool arg3
= (bool) false ;
27910 PyObject
* obj0
= 0 ;
27911 PyObject
* obj1
= 0 ;
27912 PyObject
* obj2
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27919 if (SWIG_arg_fail(1)) SWIG_fail
;
27920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27921 if (SWIG_arg_fail(2)) SWIG_fail
;
27924 arg3
= (bool)(SWIG_As_bool(obj2
));
27925 if (SWIG_arg_fail(3)) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 (arg1
)->Add(arg2
,arg3
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 Py_INCREF(Py_None
); resultobj
= Py_None
;
27942 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27945 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27947 return Py_BuildValue((char *)"");
27949 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27952 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27953 wxTextDataObject
*result
;
27954 bool temp1
= false ;
27955 PyObject
* obj0
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "text", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27963 arg1
= wxString_in_helper(obj0
);
27964 if (arg1
== NULL
) SWIG_fail
;
27969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27990 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27994 PyObject
* obj0
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28001 if (SWIG_arg_fail(1)) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (size_t)(arg1
)->GetTextLength();
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28018 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
;
28020 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 char *kwnames
[] = {
28024 (char *) "self", NULL
28027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28029 if (SWIG_arg_fail(1)) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (arg1
)->GetText();
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28050 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28053 wxString
*arg2
= 0 ;
28054 bool temp2
= false ;
28055 PyObject
* obj0
= 0 ;
28056 PyObject
* obj1
= 0 ;
28057 char *kwnames
[] = {
28058 (char *) "self",(char *) "text", NULL
28061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28063 if (SWIG_arg_fail(1)) SWIG_fail
;
28065 arg2
= wxString_in_helper(obj1
);
28066 if (arg2
== NULL
) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 (arg1
)->SetText((wxString
const &)*arg2
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 Py_INCREF(Py_None
); resultobj
= Py_None
;
28091 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28094 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
28096 return Py_BuildValue((char *)"");
28098 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28101 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28102 wxPyTextDataObject
*result
;
28103 bool temp1
= false ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "text", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
28112 arg1
= wxString_in_helper(obj0
);
28113 if (arg1
== NULL
) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
28139 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
28142 PyObject
*arg2
= (PyObject
*) 0 ;
28143 PyObject
*arg3
= (PyObject
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 PyObject
* obj2
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "self",(char *) "_class", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 Py_INCREF(Py_None
); resultobj
= Py_None
;
28170 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28173 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
28175 return Py_BuildValue((char *)"");
28177 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28180 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28181 wxBitmapDataObject
*result
;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "bitmap", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
28190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 if (arg1
== NULL
) {
28193 SWIG_null_ref("wxBitmap");
28195 if (SWIG_arg_fail(1)) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
28212 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
28222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28223 if (SWIG_arg_fail(1)) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28232 wxBitmap
* resultptr
;
28233 resultptr
= new wxBitmap((wxBitmap
&)(result
));
28234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
28242 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28245 wxBitmap
*arg2
= 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self",(char *) "bitmap", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(2)) SWIG_fail
;
28258 if (arg2
== NULL
) {
28259 SWIG_null_ref("wxBitmap");
28261 if (SWIG_arg_fail(2)) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28280 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28282 return Py_BuildValue((char *)"");
28284 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28287 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28288 wxPyBitmapDataObject
*result
;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "bitmap", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28298 if (SWIG_arg_fail(1)) SWIG_fail
;
28299 if (arg1
== NULL
) {
28300 SWIG_null_ref("wxBitmap");
28302 if (SWIG_arg_fail(1)) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28319 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28322 PyObject
*arg2
= (PyObject
*) 0 ;
28323 PyObject
*arg3
= (PyObject
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 PyObject
* obj2
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "self",(char *) "_class", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28353 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28355 return Py_BuildValue((char *)"");
28357 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxFileDataObject
*result
;
28360 char *kwnames
[] = {
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (wxFileDataObject
*)new wxFileDataObject();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28379 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
;
28381 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28382 wxArrayString
*result
;
28383 PyObject
* obj0
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28390 if (SWIG_arg_fail(1)) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28395 result
= (wxArrayString
*) &_result_ref
;
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= wxArrayString2PyList_helper(*result
);
28410 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28413 wxString
*arg2
= 0 ;
28414 bool temp2
= false ;
28415 PyObject
* obj0
= 0 ;
28416 PyObject
* obj1
= 0 ;
28417 char *kwnames
[] = {
28418 (char *) "self",(char *) "filename", NULL
28421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28423 if (SWIG_arg_fail(1)) SWIG_fail
;
28425 arg2
= wxString_in_helper(obj1
);
28426 if (arg2
== NULL
) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->AddFile((wxString
const &)*arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 Py_INCREF(Py_None
); resultobj
= Py_None
;
28451 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28454 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28456 return Py_BuildValue((char *)"");
28458 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28459 PyObject
*resultobj
;
28460 wxDataFormat
*arg1
= 0 ;
28461 wxCustomDataObject
*result
;
28462 PyObject
* obj0
= 0 ;
28464 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28468 if (arg1
== NULL
) {
28469 SWIG_null_ref("wxDataFormat");
28471 if (SWIG_arg_fail(1)) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28487 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28488 PyObject
*resultobj
;
28489 wxString
*arg1
= 0 ;
28490 wxCustomDataObject
*result
;
28491 bool temp1
= false ;
28492 PyObject
* obj0
= 0 ;
28494 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28496 arg1
= wxString_in_helper(obj0
);
28497 if (arg1
== NULL
) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28522 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28523 PyObject
*resultobj
;
28524 wxCustomDataObject
*result
;
28526 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28541 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28546 argc
= PyObject_Length(args
);
28547 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28548 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28551 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28556 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28559 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28566 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28574 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28578 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28583 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28586 PyObject
*arg2
= (PyObject
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "data", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28596 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28614 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(1)) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (size_t)(arg1
)->GetSize();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28642 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28653 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= result
;
28668 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28671 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28673 return Py_BuildValue((char *)"");
28675 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxURLDataObject
*result
;
28678 char *kwnames
[] = {
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (wxURLDataObject
*)new wxURLDataObject();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28697 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
;
28699 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28701 PyObject
* obj0
= 0 ;
28702 char *kwnames
[] = {
28703 (char *) "self", NULL
28706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28708 if (SWIG_arg_fail(1)) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (arg1
)->GetURL();
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28729 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
;
28731 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28732 wxString
*arg2
= 0 ;
28733 bool temp2
= false ;
28734 PyObject
* obj0
= 0 ;
28735 PyObject
* obj1
= 0 ;
28736 char *kwnames
[] = {
28737 (char *) "self",(char *) "url", NULL
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail
;
28744 arg2
= wxString_in_helper(obj1
);
28745 if (arg2
== NULL
) SWIG_fail
;
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 (arg1
)->SetURL((wxString
const &)*arg2
);
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28773 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28775 return Py_BuildValue((char *)"");
28777 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxMetafileDataObject
*result
;
28780 char *kwnames
[] = {
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28799 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28802 wxMetafile
*arg2
= 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self",(char *) "metafile", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail
;
28813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(2)) SWIG_fail
;
28815 if (arg2
== NULL
) {
28816 SWIG_null_ref("wxMetafile");
28818 if (SWIG_arg_fail(2)) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 Py_INCREF(Py_None
); resultobj
= Py_None
;
28834 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28845 if (SWIG_arg_fail(1)) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28854 wxMetafile
* resultptr
;
28855 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28864 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28867 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28869 return Py_BuildValue((char *)"");
28871 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxDragResult arg1
;
28875 PyObject
* obj0
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "res", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28882 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28901 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxWindow
*arg1
= (wxWindow
*) 0 ;
28904 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28905 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28906 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28907 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28908 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28909 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28910 wxPyDropSource
*result
;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 PyObject
* obj2
= 0 ;
28914 PyObject
* obj3
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail
;
28924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28925 if (SWIG_arg_fail(2)) SWIG_fail
;
28926 if (arg2
== NULL
) {
28927 SWIG_null_ref("wxCursor");
28929 if (SWIG_arg_fail(2)) SWIG_fail
;
28934 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28935 if (SWIG_arg_fail(3)) SWIG_fail
;
28936 if (arg3
== NULL
) {
28937 SWIG_null_ref("wxCursor");
28939 if (SWIG_arg_fail(3)) SWIG_fail
;
28944 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28945 if (SWIG_arg_fail(4)) SWIG_fail
;
28946 if (arg4
== NULL
) {
28947 SWIG_null_ref("wxCursor");
28949 if (SWIG_arg_fail(4)) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28966 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28969 PyObject
*arg2
= (PyObject
*) 0 ;
28970 PyObject
*arg3
= (PyObject
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 PyObject
* obj1
= 0 ;
28974 PyObject
* obj2
= 0 ;
28975 PyObject
* obj3
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28982 if (SWIG_arg_fail(1)) SWIG_fail
;
28986 arg4
= (int)(SWIG_As_int(obj3
));
28987 if (SWIG_arg_fail(4)) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 Py_INCREF(Py_None
); resultobj
= Py_None
;
29003 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
;
29005 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(1)) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 Py_INCREF(Py_None
); resultobj
= Py_None
;
29028 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29031 wxDataObject
*arg2
= 0 ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self",(char *) "data", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail
;
29042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29043 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 if (arg2
== NULL
) {
29045 SWIG_null_ref("wxDataObject");
29047 if (SWIG_arg_fail(2)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 (arg1
)->SetData(*arg2
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 Py_INCREF(Py_None
); resultobj
= Py_None
;
29063 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29066 wxDataObject
*result
;
29067 PyObject
* obj0
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29074 if (SWIG_arg_fail(1)) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29089 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29092 wxDragResult arg2
;
29093 wxCursor
*arg3
= 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 PyObject
* obj2
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self",(char *) "res",(char *) "cursor", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail
;
29105 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29106 if (SWIG_arg_fail(2)) SWIG_fail
;
29109 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29110 if (SWIG_arg_fail(3)) SWIG_fail
;
29111 if (arg3
== NULL
) {
29112 SWIG_null_ref("wxCursor");
29114 if (SWIG_arg_fail(3)) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29133 int arg2
= (int) wxDrag_CopyOnly
;
29134 wxDragResult result
;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self",(char *) "flags", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
29142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail
;
29146 arg2
= (int)(SWIG_As_int(obj1
));
29147 if (SWIG_arg_fail(2)) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_From_int((result
));
29164 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29167 wxDragResult arg2
;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self",(char *) "effect", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
29176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29177 if (SWIG_arg_fail(1)) SWIG_fail
;
29179 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29180 if (SWIG_arg_fail(2)) SWIG_fail
;
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29198 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
29200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29201 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
29203 return Py_BuildValue((char *)"");
29205 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
29208 wxPyDropTarget
*result
;
29209 PyObject
* obj0
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "dataObject", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
29216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29217 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
29233 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29236 PyObject
*arg2
= (PyObject
*) 0 ;
29237 PyObject
*arg3
= (PyObject
*) 0 ;
29238 PyObject
* obj0
= 0 ;
29239 PyObject
* obj1
= 0 ;
29240 PyObject
* obj2
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self",(char *) "self",(char *) "_class", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29247 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 Py_INCREF(Py_None
); resultobj
= Py_None
;
29264 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
;
29266 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29267 PyObject
* obj0
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29274 if (SWIG_arg_fail(1)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 Py_INCREF(Py_None
); resultobj
= Py_None
;
29289 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29292 wxDataObject
*result
;
29293 PyObject
* obj0
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29300 if (SWIG_arg_fail(1)) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29315 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29318 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self",(char *) "dataObject", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29327 if (SWIG_arg_fail(1)) SWIG_fail
;
29328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29329 if (SWIG_arg_fail(2)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->SetDataObject(arg2
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29349 wxDragResult arg4
;
29350 wxDragResult result
;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 PyObject
* obj2
= 0 ;
29354 PyObject
* obj3
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 arg2
= (int)(SWIG_As_int(obj1
));
29364 if (SWIG_arg_fail(2)) SWIG_fail
;
29367 arg3
= (int)(SWIG_As_int(obj2
));
29368 if (SWIG_arg_fail(3)) SWIG_fail
;
29371 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29372 if (SWIG_arg_fail(4)) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_From_int((result
));
29388 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29393 wxDragResult arg4
;
29394 wxDragResult result
;
29395 PyObject
* obj0
= 0 ;
29396 PyObject
* obj1
= 0 ;
29397 PyObject
* obj2
= 0 ;
29398 PyObject
* obj3
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(1)) SWIG_fail
;
29407 arg2
= (int)(SWIG_As_int(obj1
));
29408 if (SWIG_arg_fail(2)) SWIG_fail
;
29411 arg3
= (int)(SWIG_As_int(obj2
));
29412 if (SWIG_arg_fail(3)) SWIG_fail
;
29415 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29416 if (SWIG_arg_fail(4)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_From_int((result
));
29432 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29435 PyObject
* obj0
= 0 ;
29436 char *kwnames
[] = {
29437 (char *) "self", NULL
29440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29442 if (SWIG_arg_fail(1)) SWIG_fail
;
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 (arg1
)->base_OnLeave();
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29450 Py_INCREF(Py_None
); resultobj
= Py_None
;
29457 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29458 PyObject
*resultobj
;
29459 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 PyObject
* obj2
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "x",(char *) "y", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29474 arg2
= (int)(SWIG_As_int(obj1
));
29475 if (SWIG_arg_fail(2)) SWIG_fail
;
29478 arg3
= (int)(SWIG_As_int(obj2
));
29479 if (SWIG_arg_fail(3)) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29497 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(1)) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (bool)(arg1
)->GetData();
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29525 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
;
29527 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29528 wxDragResult arg2
;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "action", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 Py_INCREF(Py_None
); resultobj
= Py_None
;
29556 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29559 wxDragResult result
;
29560 PyObject
* obj0
= 0 ;
29561 char *kwnames
[] = {
29562 (char *) "self", NULL
29565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29567 if (SWIG_arg_fail(1)) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_From_int((result
));
29582 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29585 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29587 return Py_BuildValue((char *)"");
29589 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
;
29591 wxPyTextDropTarget
*result
;
29592 char *kwnames
[] = {
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29611 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29614 PyObject
*arg2
= (PyObject
*) 0 ;
29615 PyObject
*arg3
= (PyObject
*) 0 ;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 PyObject
* obj2
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self",(char *) "self",(char *) "_class", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29625 if (SWIG_arg_fail(1)) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 Py_INCREF(Py_None
); resultobj
= Py_None
;
29642 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
;
29644 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29647 wxDragResult arg4
;
29648 wxDragResult result
;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 PyObject
* obj2
= 0 ;
29652 PyObject
* obj3
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29659 if (SWIG_arg_fail(1)) SWIG_fail
;
29661 arg2
= (int)(SWIG_As_int(obj1
));
29662 if (SWIG_arg_fail(2)) SWIG_fail
;
29665 arg3
= (int)(SWIG_As_int(obj2
));
29666 if (SWIG_arg_fail(3)) SWIG_fail
;
29669 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29670 if (SWIG_arg_fail(4)) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_From_int((result
));
29686 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29687 PyObject
*resultobj
;
29688 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29691 wxDragResult arg4
;
29692 wxDragResult result
;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 PyObject
* obj2
= 0 ;
29696 PyObject
* obj3
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29703 if (SWIG_arg_fail(1)) SWIG_fail
;
29705 arg2
= (int)(SWIG_As_int(obj1
));
29706 if (SWIG_arg_fail(2)) SWIG_fail
;
29709 arg3
= (int)(SWIG_As_int(obj2
));
29710 if (SWIG_arg_fail(3)) SWIG_fail
;
29713 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29714 if (SWIG_arg_fail(4)) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_From_int((result
));
29730 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29740 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 (arg1
)->base_OnLeave();
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 Py_INCREF(Py_None
); resultobj
= Py_None
;
29755 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
;
29757 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29761 PyObject
* obj0
= 0 ;
29762 PyObject
* obj1
= 0 ;
29763 PyObject
* obj2
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self",(char *) "x",(char *) "y", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 arg2
= (int)(SWIG_As_int(obj1
));
29773 if (SWIG_arg_fail(2)) SWIG_fail
;
29776 arg3
= (int)(SWIG_As_int(obj2
));
29777 if (SWIG_arg_fail(3)) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
;
29797 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29800 wxDragResult arg4
;
29801 wxDragResult result
;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 PyObject
* obj2
= 0 ;
29805 PyObject
* obj3
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 arg2
= (int)(SWIG_As_int(obj1
));
29815 if (SWIG_arg_fail(2)) SWIG_fail
;
29818 arg3
= (int)(SWIG_As_int(obj2
));
29819 if (SWIG_arg_fail(3)) SWIG_fail
;
29822 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29823 if (SWIG_arg_fail(4)) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_From_int((result
));
29839 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29842 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29844 return Py_BuildValue((char *)"");
29846 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxPyFileDropTarget
*result
;
29849 char *kwnames
[] = {
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29868 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
;
29870 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29871 PyObject
*arg2
= (PyObject
*) 0 ;
29872 PyObject
*arg3
= (PyObject
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 char *kwnames
[] = {
29877 (char *) "self",(char *) "self",(char *) "_class", NULL
29880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29882 if (SWIG_arg_fail(1)) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 Py_INCREF(Py_None
); resultobj
= Py_None
;
29899 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29904 wxDragResult arg4
;
29905 wxDragResult result
;
29906 PyObject
* obj0
= 0 ;
29907 PyObject
* obj1
= 0 ;
29908 PyObject
* obj2
= 0 ;
29909 PyObject
* obj3
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29916 if (SWIG_arg_fail(1)) SWIG_fail
;
29918 arg2
= (int)(SWIG_As_int(obj1
));
29919 if (SWIG_arg_fail(2)) SWIG_fail
;
29922 arg3
= (int)(SWIG_As_int(obj2
));
29923 if (SWIG_arg_fail(3)) SWIG_fail
;
29926 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29927 if (SWIG_arg_fail(4)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_From_int((result
));
29943 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29948 wxDragResult arg4
;
29949 wxDragResult result
;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 PyObject
* obj2
= 0 ;
29953 PyObject
* obj3
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29960 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 arg2
= (int)(SWIG_As_int(obj1
));
29963 if (SWIG_arg_fail(2)) SWIG_fail
;
29966 arg3
= (int)(SWIG_As_int(obj2
));
29967 if (SWIG_arg_fail(3)) SWIG_fail
;
29970 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29971 if (SWIG_arg_fail(4)) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_From_int((result
));
29987 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29990 PyObject
* obj0
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(1)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 (arg1
)->base_OnLeave();
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 Py_INCREF(Py_None
); resultobj
= Py_None
;
30012 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 PyObject
* obj2
= 0 ;
30021 char *kwnames
[] = {
30022 (char *) "self",(char *) "x",(char *) "y", NULL
30025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail
;
30029 arg2
= (int)(SWIG_As_int(obj1
));
30030 if (SWIG_arg_fail(2)) SWIG_fail
;
30033 arg3
= (int)(SWIG_As_int(obj2
));
30034 if (SWIG_arg_fail(3)) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30052 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30057 wxDragResult arg4
;
30058 wxDragResult result
;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 PyObject
* obj2
= 0 ;
30062 PyObject
* obj3
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30069 if (SWIG_arg_fail(1)) SWIG_fail
;
30071 arg2
= (int)(SWIG_As_int(obj1
));
30072 if (SWIG_arg_fail(2)) SWIG_fail
;
30075 arg3
= (int)(SWIG_As_int(obj2
));
30076 if (SWIG_arg_fail(3)) SWIG_fail
;
30079 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
30080 if (SWIG_arg_fail(4)) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_From_int((result
));
30096 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30099 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
30101 return Py_BuildValue((char *)"");
30103 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
;
30105 wxClipboard
*result
;
30106 char *kwnames
[] = {
30110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= (wxClipboard
*)new wxClipboard();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
30125 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30128 PyObject
* obj0
= 0 ;
30129 char *kwnames
[] = {
30130 (char *) "self", NULL
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
30134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30135 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 Py_INCREF(Py_None
); resultobj
= Py_None
;
30150 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30154 PyObject
* obj0
= 0 ;
30155 char *kwnames
[] = {
30156 (char *) "self", NULL
30159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
30160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30161 if (SWIG_arg_fail(1)) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= (bool)(arg1
)->Open();
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30178 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 Py_INCREF(Py_None
); resultobj
= Py_None
;
30203 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
30213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30214 if (SWIG_arg_fail(1)) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30231 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30234 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "data", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30246 if (SWIG_arg_fail(2)) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (bool)(arg1
)->AddData(arg2
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30263 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30266 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "data", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30276 if (SWIG_arg_fail(1)) SWIG_fail
;
30277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30278 if (SWIG_arg_fail(2)) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (bool)(arg1
)->SetData(arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30295 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30298 wxDataFormat
*arg2
= 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 char *kwnames
[] = {
30303 (char *) "self",(char *) "format", NULL
30306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30308 if (SWIG_arg_fail(1)) SWIG_fail
;
30310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30311 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 if (arg2
== NULL
) {
30313 SWIG_null_ref("wxDataFormat");
30315 if (SWIG_arg_fail(2)) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30333 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30336 wxDataObject
*arg2
= 0 ;
30338 PyObject
* obj0
= 0 ;
30339 PyObject
* obj1
= 0 ;
30340 char *kwnames
[] = {
30341 (char *) "self",(char *) "data", NULL
30344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30346 if (SWIG_arg_fail(1)) SWIG_fail
;
30348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30350 if (arg2
== NULL
) {
30351 SWIG_null_ref("wxDataObject");
30353 if (SWIG_arg_fail(2)) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (bool)(arg1
)->GetData(*arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30371 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30374 PyObject
* obj0
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(1)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30396 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30400 PyObject
* obj0
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)(arg1
)->Flush();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
;
30426 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30427 bool arg2
= (bool) true ;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "self",(char *) "primary", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail
;
30439 arg2
= (bool)(SWIG_As_bool(obj1
));
30440 if (SWIG_arg_fail(2)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 (arg1
)->UsePrimarySelection(arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 Py_INCREF(Py_None
); resultobj
= Py_None
;
30457 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxClipboard
*result
;
30460 char *kwnames
[] = {
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (wxClipboard
*)wxClipboard::Get();
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30479 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30482 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30484 return Py_BuildValue((char *)"");
30486 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30489 wxClipboardLocker
*result
;
30490 PyObject
* obj0
= 0 ;
30491 char *kwnames
[] = {
30492 (char *) "clipboard", NULL
30495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30514 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "self", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30524 if (SWIG_arg_fail(1)) SWIG_fail
;
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 Py_INCREF(Py_None
); resultobj
= Py_None
;
30539 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30540 PyObject
*resultobj
;
30541 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30543 PyObject
* obj0
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30567 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30570 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30572 return Py_BuildValue((char *)"");
30574 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 int arg1
= (int) 0 ;
30577 int arg2
= (int) 0 ;
30578 int arg3
= (int) 0 ;
30579 int arg4
= (int) 0 ;
30580 wxVideoMode
*result
;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 PyObject
* obj2
= 0 ;
30584 PyObject
* obj3
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30592 arg1
= (int)(SWIG_As_int(obj0
));
30593 if (SWIG_arg_fail(1)) SWIG_fail
;
30598 arg2
= (int)(SWIG_As_int(obj1
));
30599 if (SWIG_arg_fail(2)) SWIG_fail
;
30604 arg3
= (int)(SWIG_As_int(obj2
));
30605 if (SWIG_arg_fail(3)) SWIG_fail
;
30610 arg4
= (int)(SWIG_As_int(obj3
));
30611 if (SWIG_arg_fail(4)) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30628 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30656 wxVideoMode
*arg2
= 0 ;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char *kwnames
[] = {
30661 (char *) "self",(char *) "other", NULL
30664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30666 if (SWIG_arg_fail(1)) SWIG_fail
;
30668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30669 if (SWIG_arg_fail(2)) SWIG_fail
;
30670 if (arg2
== NULL
) {
30671 SWIG_null_ref("wxVideoMode");
30673 if (SWIG_arg_fail(2)) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30691 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_From_int((int)(result
));
30719 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_From_int((int)(result
));
30747 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_From_int((int)(result
));
30775 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30779 PyObject
* obj0
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30786 if (SWIG_arg_fail(1)) SWIG_fail
;
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30803 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
;
30805 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30806 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30808 PyObject
* obj0
= 0 ;
30809 PyObject
* obj1
= 0 ;
30810 char *kwnames
[] = {
30811 (char *) "self",(char *) "other", NULL
30814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30816 if (SWIG_arg_fail(1)) SWIG_fail
;
30817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30818 if (SWIG_arg_fail(2)) SWIG_fail
;
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30835 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30838 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "other", NULL
30846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30848 if (SWIG_arg_fail(1)) SWIG_fail
;
30849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(2)) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self",(char *) "w", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail
;
30881 arg2
= (int)(SWIG_As_int(obj1
));
30882 if (SWIG_arg_fail(2)) SWIG_fail
;
30884 if (arg1
) (arg1
)->w
= arg2
;
30886 Py_INCREF(Py_None
); resultobj
= Py_None
;
30893 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30897 PyObject
* obj0
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 result
= (int) ((arg1
)->w
);
30908 resultobj
= SWIG_From_int((int)(result
));
30916 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self",(char *) "h", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30928 if (SWIG_arg_fail(1)) SWIG_fail
;
30930 arg2
= (int)(SWIG_As_int(obj1
));
30931 if (SWIG_arg_fail(2)) SWIG_fail
;
30933 if (arg1
) (arg1
)->h
= arg2
;
30935 Py_INCREF(Py_None
); resultobj
= Py_None
;
30942 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
;
30944 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30946 PyObject
* obj0
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "self", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30953 if (SWIG_arg_fail(1)) SWIG_fail
;
30954 result
= (int) ((arg1
)->h
);
30957 resultobj
= SWIG_From_int((int)(result
));
30965 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 char *kwnames
[] = {
30972 (char *) "self",(char *) "bpp", NULL
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail
;
30979 arg2
= (int)(SWIG_As_int(obj1
));
30980 if (SWIG_arg_fail(2)) SWIG_fail
;
30982 if (arg1
) (arg1
)->bpp
= arg2
;
30984 Py_INCREF(Py_None
); resultobj
= Py_None
;
30991 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
;
30993 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30995 PyObject
* obj0
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31002 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 result
= (int) ((arg1
)->bpp
);
31006 resultobj
= SWIG_From_int((int)(result
));
31014 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
;
31016 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "refresh", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31026 if (SWIG_arg_fail(1)) SWIG_fail
;
31028 arg2
= (int)(SWIG_As_int(obj1
));
31029 if (SWIG_arg_fail(2)) SWIG_fail
;
31031 if (arg1
) (arg1
)->refresh
= arg2
;
31033 Py_INCREF(Py_None
); resultobj
= Py_None
;
31040 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31044 PyObject
* obj0
= 0 ;
31045 char *kwnames
[] = {
31046 (char *) "self", NULL
31049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31051 if (SWIG_arg_fail(1)) SWIG_fail
;
31052 result
= (int) ((arg1
)->refresh
);
31055 resultobj
= SWIG_From_int((int)(result
));
31063 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31066 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
31068 return Py_BuildValue((char *)"");
31070 static int _wrap_DefaultVideoMode_set(PyObject
*) {
31071 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
31076 static PyObject
*_wrap_DefaultVideoMode_get(void) {
31079 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
31084 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 size_t arg1
= (size_t) 0 ;
31088 PyObject
* obj0
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "index", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
31096 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
31097 if (SWIG_arg_fail(1)) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 result
= (wxDisplay
*)new wxDisplay(arg1
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
31114 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
;
31116 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31117 PyObject
* obj0
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",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();
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 Py_INCREF(Py_None
); resultobj
= Py_None
;
31139 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31140 PyObject
*resultobj
;
31142 char *kwnames
[] = {
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (size_t)wxDisplay::GetCount();
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
31163 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxPoint
*arg1
= 0 ;
31168 PyObject
* obj0
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "pt", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
31176 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_From_int((int)(result
));
31194 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31195 PyObject
*resultobj
;
31196 wxWindow
*arg1
= (wxWindow
*) 0 ;
31198 PyObject
* obj0
= 0 ;
31199 char *kwnames
[] = {
31200 (char *) "window", NULL
31203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
31204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31205 if (SWIG_arg_fail(1)) SWIG_fail
;
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (int)Display_GetFromWindow(arg1
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31214 resultobj
= SWIG_From_int((int)(result
));
31222 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31223 PyObject
*resultobj
;
31224 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 char *kwnames
[] = {
31228 (char *) "self", NULL
31231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
31232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31233 if (SWIG_arg_fail(1)) SWIG_fail
;
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31250 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",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 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31270 wxRect
* resultptr
;
31271 resultptr
= new wxRect((wxRect
&)(result
));
31272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31280 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31291 if (SWIG_arg_fail(1)) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= ((wxDisplay
const *)arg1
)->GetName();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31312 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31340 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
;
31342 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31343 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31344 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 char *kwnames
[] = {
31349 (char *) "self",(char *) "mode", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31354 if (SWIG_arg_fail(1)) SWIG_fail
;
31357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31358 if (SWIG_arg_fail(2)) SWIG_fail
;
31359 if (arg2
== NULL
) {
31360 SWIG_null_ref("wxVideoMode");
31362 if (SWIG_arg_fail(2)) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31372 resultobj
= result
;
31379 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
;
31381 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31382 wxVideoMode result
;
31383 PyObject
* obj0
= 0 ;
31384 char *kwnames
[] = {
31385 (char *) "self", NULL
31388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31390 if (SWIG_arg_fail(1)) SWIG_fail
;
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31399 wxVideoMode
* resultptr
;
31400 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31409 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
;
31411 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31412 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31413 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31415 PyObject
* obj0
= 0 ;
31416 PyObject
* obj1
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "self",(char *) "mode", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31423 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail
;
31428 if (arg2
== NULL
) {
31429 SWIG_null_ref("wxVideoMode");
31431 if (SWIG_arg_fail(2)) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31450 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 (arg1
)->ResetMode();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 Py_INCREF(Py_None
); resultobj
= Py_None
;
31475 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31478 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31480 return Py_BuildValue((char *)"");
31482 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxStandardPaths
*result
;
31485 char *kwnames
[] = {
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= (wxStandardPaths
*)StandardPaths_Get();
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31504 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
;
31506 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31508 PyObject
* obj0
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31515 if (SWIG_arg_fail(1)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31536 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31568 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31572 PyObject
* obj0
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31579 if (SWIG_arg_fail(1)) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31600 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
;
31602 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31604 PyObject
* obj0
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31611 if (SWIG_arg_fail(1)) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31632 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31633 PyObject
*resultobj
;
31634 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31636 PyObject
* obj0
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31643 if (SWIG_arg_fail(1)) SWIG_fail
;
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31664 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
;
31666 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31668 PyObject
* obj0
= 0 ;
31669 char *kwnames
[] = {
31670 (char *) "self", NULL
31673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31675 if (SWIG_arg_fail(1)) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31696 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31700 PyObject
* obj0
= 0 ;
31701 char *kwnames
[] = {
31702 (char *) "self", NULL
31705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31707 if (SWIG_arg_fail(1)) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31728 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31729 PyObject
*resultobj
;
31730 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31731 wxString
*arg2
= 0 ;
31732 bool temp2
= false ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self",(char *) "prefix", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31741 if (SWIG_arg_fail(1)) SWIG_fail
;
31743 arg2
= wxString_in_helper(obj1
);
31744 if (arg2
== NULL
) SWIG_fail
;
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 Py_INCREF(Py_None
); resultobj
= Py_None
;
31769 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31801 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31804 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31806 return Py_BuildValue((char *)"");
31808 static PyMethodDef SwigMethods
[] = {
31809 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31816 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31824 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31889 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31918 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31921 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31930 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31944 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31956 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31959 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31973 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31976 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31977 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32011 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32026 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32030 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
32044 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
32068 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
32076 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
32151 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
32167 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
32197 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
32207 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32253 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32256 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32260 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32359 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32360 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32361 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32362 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32379 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32424 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32458 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32466 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32467 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32472 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32481 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32488 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32491 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32494 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32499 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32502 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32506 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32509 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32513 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32514 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32518 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32522 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32526 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32536 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32549 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32557 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32565 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32579 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32583 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32601 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32615 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32626 { NULL
, NULL
, 0, NULL
}
32630 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32632 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32635 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32638 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32641 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32644 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32647 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32650 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32653 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32656 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32659 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32662 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32665 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32666 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32668 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32669 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32671 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32674 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32675 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32677 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32678 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32680 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32681 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32683 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32684 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32686 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32687 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32689 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32690 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32692 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32695 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32696 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32698 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32699 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32701 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32704 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32705 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32707 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32708 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32710 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32711 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32713 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32714 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32716 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32717 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32719 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32720 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32722 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32725 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32726 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32728 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32729 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32731 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32732 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32734 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32735 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32737 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32738 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32740 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32741 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32743 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32744 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32746 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32747 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32749 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32750 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32752 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32753 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32755 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32756 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32758 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32759 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32761 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32762 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32764 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32765 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32767 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32768 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32770 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32771 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32773 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32774 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32776 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32777 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32779 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32780 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32782 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32783 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32785 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32786 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32788 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32789 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32791 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32792 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32794 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32795 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32797 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32798 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32800 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32801 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32803 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32804 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32806 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32807 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32809 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32810 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32812 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32813 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32815 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32816 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32818 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32819 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32821 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32822 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32824 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32825 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32827 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32830 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32831 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32833 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32834 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32836 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32837 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32839 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32840 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32842 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32843 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32845 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32848 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32851 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32852 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32854 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32857 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32860 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32863 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32866 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32869 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32872 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32875 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) ((wxSizer
*) x
));
32878 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32881 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32884 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32887 static void *_p_wxEventTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxEvent
*) x
));
32890 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32893 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32896 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32899 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32902 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32905 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32908 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32911 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32914 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32917 static void *_p_wxControlTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32920 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32923 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32926 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32929 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32932 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32935 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32938 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32941 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32944 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32947 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32950 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32953 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32956 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32959 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32962 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32965 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32968 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32971 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32974 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32977 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32980 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32983 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32986 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32989 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32992 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32995 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32998 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33001 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33004 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33007 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33010 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33013 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33016 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33019 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33022 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33025 static void *_p_wxImageTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) ((wxImage
*) x
));
33028 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33031 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33034 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33037 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33040 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33043 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33046 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33049 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33052 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33055 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
33058 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33061 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33064 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33067 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33070 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33073 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33076 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33079 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
33082 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33085 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33088 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33091 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33094 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33097 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
33100 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33103 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33106 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33109 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
33112 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
33113 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
33115 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
33116 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
33118 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
33119 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
33121 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
33122 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
33124 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
33125 return (void *)((wxLog
*) ((wxLogChain
*) x
));
33127 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
33128 return (void *)((wxLog
*) ((wxLogGui
*) x
));
33130 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
33131 return (void *)((wxLog
*) ((wxPyLog
*) x
));
33133 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33134 return (void *)((wxWindow
*) ((wxControl
*) x
));
33136 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33137 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33139 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33140 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33142 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
33143 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
33145 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
33146 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
33148 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}};
33149 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}};
33150 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33151 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}};
33152 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}};
33153 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}};
33154 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}};
33155 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}};
33156 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}};
33157 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}};
33158 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}};
33159 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}};
33160 static swig_type_info _swigt__p_wxMemorySize
[] = {{"_p_wxMemorySize", 0, "wxMemorySize *", 0, 0, 0, 0},{"_p_wxMemorySize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33161 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}};
33162 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}};
33163 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}};
33164 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}};
33165 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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33170 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}};
33171 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}};
33172 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}};
33173 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}};
33174 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}};
33175 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}};
33176 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}};
33177 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}};
33178 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}};
33179 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}};
33180 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}};
33181 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}};
33182 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}};
33183 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}};
33184 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}};
33185 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}};
33186 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}};
33187 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}};
33188 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}};
33189 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}};
33190 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}};
33191 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}};
33192 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}};
33193 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}};
33194 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}};
33195 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}};
33196 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}};
33197 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}};
33198 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}};
33199 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}};
33200 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}};
33201 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}};
33202 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}};
33203 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}};
33204 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}};
33205 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}};
33206 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}};
33207 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}};
33208 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}};
33209 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}};
33210 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}};
33211 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}};
33212 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}};
33213 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}};
33214 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}};
33215 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}};
33216 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}};
33217 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}};
33218 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}};
33219 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}};
33220 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}};
33221 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_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_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_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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 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}};
33230 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}};
33231 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}};
33232 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}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 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}};
33238 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}};
33239 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}};
33240 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}};
33241 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}};
33242 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}};
33243 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}};
33244 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}};
33245 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}};
33246 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}};
33247 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}};
33249 static swig_type_info
*swig_types_initial
[] = {
33250 _swigt__p_wxLogChain
,
33251 _swigt__p_wxMutexGuiLocker
,
33252 _swigt__p_wxMetafile
,
33253 _swigt__p_wxFileHistory
,
33257 _swigt__p_wxDateTime__TimeZone
,
33258 _swigt__p_wxConfigBase
,
33259 _swigt__p_wxDisplay
,
33260 _swigt__p_wxFileType
,
33261 _swigt__p_wxLogGui
,
33262 _swigt__p_wxMemorySize
,
33264 _swigt__p_wxDataFormat
,
33265 _swigt__p_wxTimerEvent
,
33268 _swigt__std__ptrdiff_t
,
33272 _swigt__p_wxClipboard
,
33273 _swigt__p_wxStopWatch
,
33275 _swigt__p_wxClipboardLocker
,
33277 _swigt__p_wxLogStderr
,
33278 _swigt__p_wxLogTextCtrl
,
33279 _swigt__p_wxTextCtrl
,
33280 _swigt__p_wxBusyCursor
,
33281 _swigt__p_wxBitmapDataObject
,
33282 _swigt__p_wxTextDataObject
,
33283 _swigt__p_wxDataObject
,
33284 _swigt__p_wxPyTextDataObject
,
33285 _swigt__p_wxPyBitmapDataObject
,
33286 _swigt__p_wxFileDataObject
,
33287 _swigt__p_wxCustomDataObject
,
33288 _swigt__p_wxURLDataObject
,
33289 _swigt__p_wxMetafileDataObject
,
33291 _swigt__p_wxTimerRunner
,
33292 _swigt__p_wxLogWindow
,
33293 _swigt__p_wxTimeSpan
,
33294 _swigt__p_wxArrayString
,
33295 _swigt__p_wxWindowDisabler
,
33296 _swigt__p_form_ops_t
,
33297 _swigt__p_wxToolTip
,
33298 _swigt__p_wxDataObjectComposite
,
33299 _swigt__p_wxSystemSettings
,
33300 _swigt__p_wxFileConfig
,
33301 _swigt__p_wxVideoMode
,
33302 _swigt__p_wxDataObjectSimple
,
33303 _swigt__p_wxPyDataObjectSimple
,
33304 _swigt__p_wxDuplexMode
,
33305 _swigt__p_wxEvtHandler
,
33308 _swigt__p_wxSingleInstanceChecker
,
33309 _swigt__p_wxStandardPaths
,
33310 _swigt__p_wxFileTypeInfo
,
33313 _swigt__p_wxPaperSize
,
33314 _swigt__p_wxMimeTypesManager
,
33315 _swigt__p_wxPyTipProvider
,
33316 _swigt__p_wxTipProvider
,
33317 _swigt__p_wxJoystick
,
33318 _swigt__p_wxSystemOptions
,
33319 _swigt__p_wxPyArtProvider
,
33321 _swigt__p_wxJoystickEvent
,
33322 _swigt__p_wxCursor
,
33323 _swigt__p_wxObject
,
33324 _swigt__p_wxOutputStream
,
33325 _swigt__p_wxDateTime
,
33326 _swigt__p_wxPyDropSource
,
33327 _swigt__p_unsigned_long
,
33328 _swigt__p_wxLogBuffer
,
33329 _swigt__p_wxKillError
,
33330 _swigt__p_wxWindow
,
33331 _swigt__p_wxString
,
33332 _swigt__p_wxPyProcess
,
33333 _swigt__p_wxBitmap
,
33334 _swigt__unsigned_int
,
33335 _swigt__p_unsigned_int
,
33336 _swigt__p_wxConfig
,
33337 _swigt__p_unsigned_char
,
33339 _swigt__p_wxBusyInfo
,
33340 _swigt__p_wxPyDropTarget
,
33341 _swigt__p_wxPyTextDropTarget
,
33342 _swigt__p_wxPyFileDropTarget
,
33343 _swigt__p_wxProcessEvent
,
33345 _swigt__p_wxLogNull
,
33346 _swigt__p_wxColour
,
33347 _swigt__p_wxPyTimer
,
33348 _swigt__p_wxConfigPathChanger
,
33349 _swigt__p_wxDateSpan
,
33354 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33356 static swig_const_info swig_const_table
[] = {
33357 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33358 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33359 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33360 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33361 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33362 {0, 0, 0, 0.0, 0, 0}};
33373 /* Python-specific SWIG API */
33374 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33375 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33376 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33378 /* -----------------------------------------------------------------------------
33379 * global variable support code.
33380 * ----------------------------------------------------------------------------- */
33382 typedef struct swig_globalvar
{
33383 char *name
; /* Name of global variable */
33384 PyObject
*(*get_attr
)(); /* Return the current value */
33385 int (*set_attr
)(PyObject
*); /* Set the value */
33386 struct swig_globalvar
*next
;
33389 typedef struct swig_varlinkobject
{
33391 swig_globalvar
*vars
;
33392 } swig_varlinkobject
;
33395 swig_varlink_repr(swig_varlinkobject
*v
) {
33397 return PyString_FromString("<Swig global variables>");
33401 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33402 swig_globalvar
*var
;
33404 fprintf(fp
,"Swig global variables { ");
33405 for (var
= v
->vars
; var
; var
=var
->next
) {
33406 fprintf(fp
,"%s", var
->name
);
33407 if (var
->next
) fprintf(fp
,", ");
33409 fprintf(fp
," }\n");
33414 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33415 swig_globalvar
*var
= v
->vars
;
33417 if (strcmp(var
->name
,n
) == 0) {
33418 return (*var
->get_attr
)();
33422 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33427 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33428 swig_globalvar
*var
= v
->vars
;
33430 if (strcmp(var
->name
,n
) == 0) {
33431 return (*var
->set_attr
)(p
);
33435 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33439 static PyTypeObject varlinktype
= {
33440 PyObject_HEAD_INIT(0)
33441 0, /* Number of items in variable part (ob_size) */
33442 (char *)"swigvarlink", /* Type name (tp_name) */
33443 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33444 0, /* Itemsize (tp_itemsize) */
33445 0, /* Deallocator (tp_dealloc) */
33446 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33447 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33448 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33449 0, /* tp_compare */
33450 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33451 0, /* tp_as_number */
33452 0, /* tp_as_sequence */
33453 0, /* tp_as_mapping */
33457 0, /* tp_getattro */
33458 0, /* tp_setattro */
33459 0, /* tp_as_buffer */
33462 #if PY_VERSION_HEX >= 0x02000000
33463 0, /* tp_traverse */
33466 #if PY_VERSION_HEX >= 0x02010000
33467 0, /* tp_richcompare */
33468 0, /* tp_weaklistoffset */
33470 #if PY_VERSION_HEX >= 0x02020000
33471 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33473 #if PY_VERSION_HEX >= 0x02030000
33476 #ifdef COUNT_ALLOCS
33477 0,0,0,0 /* tp_alloc -> tp_next */
33481 /* Create a variable linking object for use later */
33483 SWIG_Python_newvarlink(void) {
33484 swig_varlinkobject
*result
= 0;
33485 result
= PyMem_NEW(swig_varlinkobject
,1);
33486 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33487 result
->ob_type
= &varlinktype
;
33489 result
->ob_refcnt
= 0;
33490 Py_XINCREF((PyObject
*) result
);
33491 return ((PyObject
*) result
);
33495 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33496 swig_varlinkobject
*v
;
33497 swig_globalvar
*gv
;
33498 v
= (swig_varlinkobject
*) p
;
33499 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33500 gv
->name
= (char *) malloc(strlen(name
)+1);
33501 strcpy(gv
->name
,name
);
33502 gv
->get_attr
= get_attr
;
33503 gv
->set_attr
= set_attr
;
33504 gv
->next
= v
->vars
;
33508 /* -----------------------------------------------------------------------------
33509 * constants/methods manipulation
33510 * ----------------------------------------------------------------------------- */
33512 /* Install Constants */
33514 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33517 for (i
= 0; constants
[i
].type
; i
++) {
33518 switch(constants
[i
].type
) {
33520 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33522 case SWIG_PY_FLOAT
:
33523 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33525 case SWIG_PY_STRING
:
33526 if (constants
[i
].pvalue
) {
33527 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33529 Py_INCREF(Py_None
);
33533 case SWIG_PY_POINTER
:
33534 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33536 case SWIG_PY_BINARY
:
33537 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33544 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33550 /* -----------------------------------------------------------------------------*/
33551 /* Fix SwigMethods to carry the callback ptrs when needed */
33552 /* -----------------------------------------------------------------------------*/
33555 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33556 swig_const_info
*const_table
,
33557 swig_type_info
**types
,
33558 swig_type_info
**types_initial
) {
33560 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33561 char *c
= methods
[i
].ml_doc
;
33562 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33564 swig_const_info
*ci
= 0;
33565 char *name
= c
+ 10;
33566 for (j
= 0; const_table
[j
].type
; j
++) {
33567 if (strncmp(const_table
[j
].name
, name
,
33568 strlen(const_table
[j
].name
)) == 0) {
33569 ci
= &(const_table
[j
]);
33574 size_t shift
= (ci
->ptype
) - types
;
33575 swig_type_info
*ty
= types_initial
[shift
];
33576 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33577 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33578 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33580 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33581 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33583 strncpy(buff
, "swig_ptr: ", 10);
33585 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33586 methods
[i
].ml_doc
= ndoc
;
33592 /* -----------------------------------------------------------------------------*
33593 * Initialize type list
33594 * -----------------------------------------------------------------------------*/
33596 #if PY_MAJOR_VERSION < 2
33597 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33598 is copied out of Python/modsupport.c in python version 2.3.4 */
33600 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33603 if (!PyModule_Check(m
)) {
33604 PyErr_SetString(PyExc_TypeError
,
33605 "PyModule_AddObject() needs module as first arg");
33609 PyErr_SetString(PyExc_TypeError
,
33610 "PyModule_AddObject() needs non-NULL value");
33614 dict
= PyModule_GetDict(m
);
33615 if (dict
== NULL
) {
33616 /* Internal error -- modules must have a dict! */
33617 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33618 PyModule_GetName(m
));
33621 if (PyDict_SetItemString(dict
, name
, o
))
33628 static swig_type_info
**
33629 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33630 static PyMethodDef swig_empty_runtime_method_table
[] = {
33632 NULL
, NULL
, 0, NULL
33636 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33637 swig_empty_runtime_method_table
);
33638 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33639 if (pointer
&& module) {
33640 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33642 return type_list_handle
;
33645 static swig_type_info
**
33646 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33647 swig_type_info
**type_pointer
;
33649 /* first check if module already created */
33650 type_pointer
= SWIG_Python_GetTypeListHandle();
33651 if (type_pointer
) {
33652 return type_pointer
;
33654 /* create a new module and variable */
33655 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33663 /* -----------------------------------------------------------------------------*
33664 * Partial Init method
33665 * -----------------------------------------------------------------------------*/
33667 #ifdef SWIG_LINK_RUNTIME
33671 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33677 SWIGEXPORT(void) SWIG_init(void) {
33678 static PyObject
*SWIG_globals
= 0;
33679 static int typeinit
= 0;
33682 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33684 /* Fix SwigMethods to carry the callback ptrs when needed */
33685 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33687 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33688 d
= PyModule_GetDict(m
);
33691 #ifdef SWIG_LINK_RUNTIME
33692 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33694 # ifndef SWIG_STATIC_RUNTIME
33695 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33698 for (i
= 0; swig_types_initial
[i
]; i
++) {
33699 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33703 SWIG_InstallConstants(d
,swig_const_table
);
33706 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33709 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33712 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33715 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33718 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33721 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33724 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33727 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33730 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33733 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33736 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33739 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33742 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33745 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33748 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33751 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33754 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33757 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33760 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33763 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33766 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33769 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33772 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33775 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33778 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33781 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33784 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33787 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33790 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33793 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33796 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33799 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33802 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33805 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33808 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33811 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33814 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33817 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33820 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33823 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33826 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33829 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33832 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33835 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33838 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33841 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33844 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33847 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33850 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33853 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33856 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33859 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33862 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33865 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33868 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33871 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33874 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33877 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33880 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33883 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33886 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33889 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33892 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33895 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33898 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33901 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33904 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33907 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33910 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33913 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33916 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33919 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33922 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33925 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33928 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33931 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33934 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33937 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33940 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33943 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33946 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33949 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33952 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33955 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33958 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33961 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33964 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33967 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33970 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33973 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33976 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33978 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33979 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33980 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33981 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33982 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33984 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33987 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33990 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33993 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33995 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33997 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
34000 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
34003 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
34006 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
34009 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
34012 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
34015 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
34018 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
34021 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
34024 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
34027 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
34030 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
34032 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
34033 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
34034 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
34035 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
34036 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
34038 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
34041 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
34044 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
34047 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
34050 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
34053 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
34056 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
34059 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
34062 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
34065 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
34068 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
34071 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
34074 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
34077 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
34080 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
34083 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
34086 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
34089 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
34092 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
34095 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
34098 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
34101 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
34104 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
34107 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
34110 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
34113 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
34116 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
34119 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
34122 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
34125 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
34128 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
34130 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
34132 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
34135 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
34138 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
34141 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
34144 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
34147 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
34150 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
34153 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
34156 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
34159 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
34162 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
34165 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
34168 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
34170 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
34171 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
34172 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
34173 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
34175 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
34178 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
34181 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
34184 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
34187 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
34190 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
34193 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
34196 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
34198 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
34199 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
34200 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
34201 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
34202 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
34203 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
34204 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
34205 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
34206 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
34207 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
34208 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
34209 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
34210 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
34211 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
34212 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
34213 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
34214 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
34215 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
34216 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
34217 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
34218 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
34219 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
34220 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
34221 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
34222 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
34223 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
34224 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
34225 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
34226 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
34227 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
34228 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
34229 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
34230 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
34231 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
34232 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
34233 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
34234 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
34235 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
34236 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
34237 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
34238 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
34239 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
34240 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
34241 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
34242 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
34243 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
34244 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
34245 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
34246 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
34247 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
34248 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
34249 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
34250 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
34251 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
34252 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
34253 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
34254 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
34256 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34259 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34262 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34265 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34268 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34271 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34274 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34277 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34280 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34283 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34285 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34286 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34288 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34291 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34294 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34297 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34300 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34303 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34306 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34309 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34312 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34315 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34318 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34321 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34324 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34327 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34330 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34333 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34336 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34339 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34342 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34345 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34348 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34351 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34354 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34357 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34360 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34363 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34366 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34369 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34372 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34375 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34378 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34381 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34384 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34387 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34390 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34393 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34396 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34399 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34402 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34405 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34408 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34411 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34414 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34417 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34420 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34423 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34426 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34429 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34432 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34435 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34438 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34441 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34444 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34447 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34450 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34453 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34456 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34459 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34462 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34465 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34468 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34471 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34474 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34477 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34480 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34483 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34486 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34489 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34492 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34495 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34498 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34501 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34504 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34507 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34510 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34513 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34516 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34519 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34522 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34525 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34528 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34531 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34534 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34537 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34540 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34543 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34546 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34549 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34552 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34555 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34558 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34561 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34564 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34567 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34570 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34573 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34576 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34579 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34582 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34585 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34588 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34591 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34594 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34597 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34600 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34603 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34606 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34609 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34612 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34615 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34618 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34621 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34624 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34627 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34630 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34633 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34636 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34639 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34642 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34645 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34648 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34651 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34654 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34657 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34660 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34663 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34666 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34669 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34672 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34675 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34678 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34681 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34684 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34687 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34690 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34693 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34696 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34699 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34702 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34705 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34708 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34711 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34714 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34717 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34720 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34723 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34726 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34729 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34732 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34735 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34738 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34741 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34744 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34747 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34750 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34752 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34754 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34757 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34760 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34763 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34766 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34769 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34772 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34775 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34778 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34781 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34784 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34787 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34790 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34793 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34796 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34799 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34802 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34805 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34808 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34811 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34813 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34815 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34818 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34821 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34824 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34827 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34830 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34833 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34836 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34839 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34842 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34845 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34848 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34851 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34852 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34853 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34854 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34856 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);