1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxFont swig_types[12]
1355 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1356 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357 #define SWIGTYPE_p_wxCaret swig_types[15]
1358 #define SWIGTYPE_ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_p_void swig_types[18]
1361 #define SWIGTYPE_p_int swig_types[19]
1362 #define SWIGTYPE_p_wxSize swig_types[20]
1363 #define SWIGTYPE_p_wxClipboard swig_types[21]
1364 #define SWIGTYPE_p_wxStopWatch swig_types[22]
1365 #define SWIGTYPE_p_wxDC swig_types[23]
1366 #define SWIGTYPE_p_wxClipboardLocker swig_types[24]
1367 #define SWIGTYPE_p_wxIcon swig_types[25]
1368 #define SWIGTYPE_p_wxLogStderr swig_types[26]
1369 #define SWIGTYPE_p_wxLogTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxTextCtrl swig_types[28]
1371 #define SWIGTYPE_p_wxBusyCursor swig_types[29]
1372 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyTextDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxFileDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxCustomDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxURLDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxMetafileDataObject swig_types[38]
1381 #define SWIGTYPE_p_wxSound swig_types[39]
1382 #define SWIGTYPE_p_wxTimerRunner swig_types[40]
1383 #define SWIGTYPE_p_wxLogWindow swig_types[41]
1384 #define SWIGTYPE_p_wxTimeSpan swig_types[42]
1385 #define SWIGTYPE_p_wxArrayString swig_types[43]
1386 #define SWIGTYPE_p_wxWindowDisabler swig_types[44]
1387 #define SWIGTYPE_p_form_ops_t swig_types[45]
1388 #define SWIGTYPE_p_wxToolTip swig_types[46]
1389 #define SWIGTYPE_p_wxDataObjectComposite swig_types[47]
1390 #define SWIGTYPE_p_wxSystemSettings swig_types[48]
1391 #define SWIGTYPE_p_wxFileConfig swig_types[49]
1392 #define SWIGTYPE_p_wxVideoMode swig_types[50]
1393 #define SWIGTYPE_p_wxDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[52]
1395 #define SWIGTYPE_p_wxDuplexMode swig_types[53]
1396 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
1397 #define SWIGTYPE_p_wxRect swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[57]
1400 #define SWIGTYPE_p_wxStandardPaths swig_types[58]
1401 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
1402 #define SWIGTYPE_p_wxFrame swig_types[60]
1403 #define SWIGTYPE_p_wxTimer swig_types[61]
1404 #define SWIGTYPE_p_wxPaperSize swig_types[62]
1405 #define SWIGTYPE_p_wxMimeTypesManager swig_types[63]
1406 #define SWIGTYPE_p_wxPyArtProvider swig_types[64]
1407 #define SWIGTYPE_p_wxPyTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxTipProvider swig_types[66]
1409 #define SWIGTYPE_p_wxJoystick swig_types[67]
1410 #define SWIGTYPE_p_wxSystemOptions swig_types[68]
1411 #define SWIGTYPE_p_wxPoint swig_types[69]
1412 #define SWIGTYPE_p_wxJoystickEvent swig_types[70]
1413 #define SWIGTYPE_p_wxCursor swig_types[71]
1414 #define SWIGTYPE_p_wxObject swig_types[72]
1415 #define SWIGTYPE_p_wxOutputStream swig_types[73]
1416 #define SWIGTYPE_p_wxDateTime swig_types[74]
1417 #define SWIGTYPE_p_wxPyDropSource swig_types[75]
1418 #define SWIGTYPE_p_unsigned_long swig_types[76]
1419 #define SWIGTYPE_p_wxKillError swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxPyProcess swig_types[80]
1423 #define SWIGTYPE_p_wxBitmap swig_types[81]
1424 #define SWIGTYPE_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_wxConfig swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxChar swig_types[86]
1429 #define SWIGTYPE_p_wxBusyInfo swig_types[87]
1430 #define SWIGTYPE_p_wxPyDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxProcessEvent swig_types[91]
1434 #define SWIGTYPE_p_wxPyLog swig_types[92]
1435 #define SWIGTYPE_p_wxLogNull swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxPyTimer swig_types[95]
1438 #define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
1439 #define SWIGTYPE_p_wxDateSpan swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _misc_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_misc_
1450 #define SWIG_name "_misc_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454 #include "wx/wxPython/pyistream.h"
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1550 SWIG_Check_int(PyObject
* obj
)
1552 return SWIG_AsVal_int(obj
, (int*)0);
1555 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1557 #include <wx/stockitem.h>
1559 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1560 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1561 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1563 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1564 #define SWIG_From_long PyInt_FromLong
1568 SWIGINTERNSHORT
long
1569 SWIG_As_long(PyObject
* obj
)
1572 if (!SWIG_AsVal_long(obj
, &v
)) {
1574 this is needed to make valgrind/purify happier.
1576 memset((void*)&v
, 0, sizeof(long));
1583 SWIG_Check_long(PyObject
* obj
)
1585 return SWIG_AsVal_long(obj
, (long*)0);
1590 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1592 if (obj
== Py_True
) {
1593 if (val
) *val
= true;
1596 if (obj
== Py_False
) {
1597 if (val
) *val
= false;
1601 if (SWIG_AsVal_int(obj
, &res
)) {
1602 if (val
) *val
= res
? true : false;
1608 SWIG_type_error("bool", obj
);
1614 SWIGINTERNSHORT
bool
1615 SWIG_As_bool(PyObject
* obj
)
1618 if (!SWIG_AsVal_bool(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(bool));
1629 SWIG_Check_bool(PyObject
* obj
)
1631 return SWIG_AsVal_bool(obj
, (bool*)0);
1635 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1641 } else if (target
== Py_None
) {
1645 if (!PyTuple_Check(target
)) {
1647 target
= PyTuple_New(1);
1648 PyTuple_SetItem(target
, 0, o2
);
1650 o3
= PyTuple_New(1);
1651 PyTuple_SetItem(o3
, 0, o
);
1654 target
= PySequence_Concat(o2
, o3
);
1664 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1667 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1668 SWIG_type_error("unsigned number", obj
);
1671 *val
= (unsigned long)v
;
1676 SWIGINTERNSHORT
unsigned long
1677 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1680 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(unsigned long));
1691 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1693 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1697 SWIGINTERNSHORT PyObject
*
1698 SWIG_From_unsigned_SS_long(unsigned long value
)
1700 return (value
> LONG_MAX
) ?
1701 PyLong_FromUnsignedLong(value
)
1702 : PyInt_FromLong((long)(value
));
1706 void* wxGetXDisplay()
1709 return wxGetDisplay();
1716 bool wxThread_IsMain() {
1717 #ifdef WXP_WITH_THREAD
1718 return wxThread::IsMain();
1724 static void wxCaret_Destroy(wxCaret
*self
){
1728 #include <wx/snglinst.h>
1732 #include <wx/msw/private.h>
1733 #include <wx/dynload.h>
1738 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1749 // This one only partially works. Appears to be an undocumented
1750 // "standard" convention that not all widgets adhear to. For
1751 // example, for some widgets backgrounds or non-client areas may
1753 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1758 // This one works much better, nearly all widgets and their
1759 // children are captured correctly[**]. Prior to the big
1760 // background erase changes that Vadim did in 2004-2005 this
1761 // method failed badly on XP with Themes activated, most native
1762 // widgets draw only partially, if at all. Without themes it
1763 // worked just like on Win2k. After those changes this method
1766 // ** For example the radio buttons in a wxRadioBox are not its
1767 // children by default, but you can capture it via the panel
1768 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1769 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1770 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1771 PRF_ERASEBKGND
| PRF_OWNED
);
1777 // This one is only defined in the latest SDK and is only
1778 // available on XP. MSDN says it is similar to sending WM_PRINT
1779 // so I expect that it will work similar to the above. Since it
1780 // is avaialble only on XP, it can't be compiled like this and
1781 // will have to be loaded dynamically.
1782 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1787 // Use PrintWindow if available, or fallback to WM_PRINT
1788 // otherwise. Unfortunately using PrintWindow is even worse than
1789 // WM_PRINT. For most native widgets nothing is drawn to the dc
1790 // at all, with or without Themes.
1791 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1792 static bool s_triedToLoad
= false;
1793 static PrintWindow_t pfnPrintWindow
= NULL
;
1794 if ( !s_triedToLoad
)
1797 s_triedToLoad
= true;
1798 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1799 if ( dllUser32
.IsLoaded() )
1801 wxLogNull nolog
; // Don't report errors here
1802 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1807 //printf("Using PrintWindow\n");
1808 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1812 //printf("Using WM_PRINT\n");
1813 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1814 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1815 PRF_ERASEBKGND
| PRF_OWNED
);
1826 #include <wx/tipdlg.h>
1829 class wxPyTipProvider
: public wxTipProvider
{
1831 wxPyTipProvider(size_t currentTip
)
1832 : wxTipProvider(currentTip
) {}
1834 DEC_PYCALLBACK_STRING__pure(GetTip
);
1835 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1839 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1840 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1843 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1845 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1847 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1848 : wxTimer(owner
, id
)
1850 if (owner
== NULL
) SetOwner(this);
1854 void wxPyTimer::Notify() {
1856 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1857 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1858 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1859 wxPyEndBlockThreads(blocked
);
1863 void wxPyTimer::base_Notify() {
1869 SWIGINTERN PyObject
*
1870 SWIG_FromCharPtr(const char* cptr
)
1873 size_t size
= strlen(cptr
);
1874 if (size
> INT_MAX
) {
1875 return SWIG_NewPointerObj((char*)(cptr
),
1876 SWIG_TypeQuery("char *"), 0);
1879 return PyString_FromStringAndSize(cptr
, size
);
1881 return PyString_FromString(cptr
);
1891 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1892 unsigned long max_value
,
1895 if (value
> max_value
) {
1897 PyErr_Format(PyExc_OverflowError
,
1898 "value %lu is greater than '%s' minimum %lu",
1899 value
, errmsg
, max_value
);
1907 #if UINT_MAX != ULONG_MAX
1909 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1911 const char* errmsg
= val
? "unsigned int" : (char*)0;
1913 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1914 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1915 if (val
) *val
= (unsigned int)(v
);
1922 SWIG_type_error(errmsg
, obj
);
1927 SWIGINTERNSHORT
unsigned int
1928 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1930 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1935 SWIGINTERNSHORT
unsigned int
1936 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1939 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1941 this is needed to make valgrind/purify happier.
1943 memset((void*)&v
, 0, sizeof(unsigned int));
1950 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1952 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1955 static wxString
Log_TimeStamp(){
1957 wxLog::TimeStamp(&msg
);
1960 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1961 // Make somce wrappers that double any % signs so they are 'escaped'
1962 void wxPyLogFatalError(const wxString
& msg
)
1965 m
.Replace(wxT("%"), wxT("%%"));
1969 void wxPyLogError(const wxString
& msg
)
1972 m
.Replace(wxT("%"), wxT("%%"));
1976 void wxPyLogWarning(const wxString
& msg
)
1979 m
.Replace(wxT("%"), wxT("%%"));
1983 void wxPyLogMessage(const wxString
& msg
)
1986 m
.Replace(wxT("%"), wxT("%%"));
1990 void wxPyLogInfo(const wxString
& msg
)
1993 m
.Replace(wxT("%"), wxT("%%"));
1997 void wxPyLogDebug(const wxString
& msg
)
2000 m
.Replace(wxT("%"), wxT("%%"));
2004 void wxPyLogVerbose(const wxString
& msg
)
2007 m
.Replace(wxT("%"), wxT("%%"));
2011 void wxPyLogStatus(const wxString
& msg
)
2014 m
.Replace(wxT("%"), wxT("%%"));
2018 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2021 m
.Replace(wxT("%"), wxT("%%"));
2022 wxLogStatus(pFrame
, m
);
2025 void wxPyLogSysError(const wxString
& msg
)
2028 m
.Replace(wxT("%"), wxT("%%"));
2032 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2035 m
.Replace(wxT("%"), wxT("%%"));
2036 wxLogGeneric(level
, m
);
2039 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2042 m
.Replace(wxT("%"), wxT("%%"));
2043 wxLogTrace(mask
, m
);
2046 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2049 m
.Replace(wxT("%"), wxT("%%"));
2050 wxLogTrace(mask
, m
);
2055 // A wxLog class that can be derived from in wxPython
2056 class wxPyLog
: public wxLog
{
2058 wxPyLog() : wxLog() {}
2060 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2063 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2064 PyObject
* s
= wx2PyString(szString
);
2065 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2068 wxPyEndBlockThreads(blocked
);
2070 wxLog::DoLog(level
, szString
, t
);
2073 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2077 PyObject
* s
= wx2PyString(szString
);
2078 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2081 wxPyEndBlockThreads(blocked
);
2083 wxLog::DoLogString(szString
, t
);
2092 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2095 #include <wx/joystick.h>
2098 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2099 // A C++ stub class for wxJoystick for platforms that don't have it.
2100 class wxJoystick
: public wxObject
{
2102 wxJoystick(int joystick
= wxJOYSTICK1
) {
2103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2104 PyErr_SetString(PyExc_NotImplementedError
,
2105 "wxJoystick is not available on this platform.");
2106 wxPyEndBlockThreads(blocked
);
2108 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2109 int GetZPosition() { return -1; }
2110 int GetButtonState() { return -1; }
2111 int GetPOVPosition() { return -1; }
2112 int GetPOVCTSPosition() { return -1; }
2113 int GetRudderPosition() { return -1; }
2114 int GetUPosition() { return -1; }
2115 int GetVPosition() { return -1; }
2116 int GetMovementThreshold() { return -1; }
2117 void SetMovementThreshold(int threshold
) {}
2119 bool IsOk(void) { return false; }
2120 int GetNumberJoysticks() { return -1; }
2121 int GetManufacturerId() { return -1; }
2122 int GetProductId() { return -1; }
2123 wxString
GetProductName() { return wxEmptyString
; }
2124 int GetXMin() { return -1; }
2125 int GetYMin() { return -1; }
2126 int GetZMin() { return -1; }
2127 int GetXMax() { return -1; }
2128 int GetYMax() { return -1; }
2129 int GetZMax() { return -1; }
2130 int GetNumberButtons() { return -1; }
2131 int GetNumberAxes() { return -1; }
2132 int GetMaxButtons() { return -1; }
2133 int GetMaxAxes() { return -1; }
2134 int GetPollingMin() { return -1; }
2135 int GetPollingMax() { return -1; }
2136 int GetRudderMin() { return -1; }
2137 int GetRudderMax() { return -1; }
2138 int GetUMin() { return -1; }
2139 int GetUMax() { return -1; }
2140 int GetVMin() { return -1; }
2141 int GetVMax() { return -1; }
2143 bool HasRudder() { return false; }
2144 bool HasZ() { return false; }
2145 bool HasU() { return false; }
2146 bool HasV() { return false; }
2147 bool HasPOV() { return false; }
2148 bool HasPOV4Dir() { return false; }
2149 bool HasPOVCTS() { return false; }
2151 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2152 bool ReleaseCapture() { return false; }
2157 #include <wx/sound.h>
2161 // A C++ stub class for wxWave for platforms that don't have it.
2162 class wxSound
: public wxObject
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(const wxString
&/*, bool*/) {
2172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2177 wxSound(int, const wxByte
*) {
2178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2179 PyErr_SetString(PyExc_NotImplementedError
,
2180 "wxSound is not available on this platform.");
2181 wxPyEndBlockThreads(blocked
);
2186 bool Create(const wxString
&/*, bool*/) { return false; }
2187 bool Create(int, const wxByte
*) { return false; };
2188 bool IsOk() { return false; };
2189 bool Play(unsigned) const { return false; }
2190 static bool Play(const wxString
&, unsigned) { return false; }
2191 static void Stop() {}
2196 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2197 if (fileName
.Length() == 0)
2200 return new wxSound(fileName
);
2202 static wxSound
*new_wxSound(PyObject
*data
){
2203 unsigned char* buffer
; int size
;
2204 wxSound
*sound
= NULL
;
2206 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2207 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2209 sound
= new wxSound(size
, buffer
);
2211 wxPyEndBlockThreads(blocked
);
2214 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2216 unsigned char* buffer
;
2220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2221 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2223 rv
= self
->Create(size
, buffer
);
2225 wxPyEndBlockThreads(blocked
);
2228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2229 PyErr_SetString(PyExc_NotImplementedError
,
2230 "Create from data is not available on this platform.");
2231 wxPyEndBlockThreads(blocked
);
2236 #include <wx/mimetype.h>
2238 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2240 if (self
->GetMimeType(&str
))
2241 return wx2PyString(str
);
2245 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2247 if (self
->GetMimeTypes(arr
))
2248 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2254 if (self
->GetExtensions(arr
))
2255 return wxArrayString2PyList_helper(arr
);
2259 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2261 if (self
->GetIcon(&loc
))
2262 return new wxIcon(loc
);
2266 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2268 if (self
->GetIcon(&loc
)) {
2269 wxString iconFile
= loc
.GetFileName();
2272 iconIndex
= loc
.GetIndex();
2274 // Make a tuple and put the values in it
2275 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2276 PyObject
* tuple
= PyTuple_New(3);
2277 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2278 wxT("wxIcon"), true));
2279 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2280 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2281 wxPyEndBlockThreads(blocked
);
2287 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2289 if (self
->GetDescription(&str
))
2290 return wx2PyString(str
);
2294 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2296 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2297 return wx2PyString(str
);
2301 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2304 return wx2PyString(str
);
2308 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2309 wxArrayString verbs
;
2310 wxArrayString commands
;
2311 if (self
->GetAllCommands(&verbs
, &commands
,
2312 wxFileType::MessageParameters(filename
, mimetype
))) {
2313 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2314 PyObject
* tuple
= PyTuple_New(2);
2315 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2316 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2317 wxPyEndBlockThreads(blocked
);
2323 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2324 return wxFileType::ExpandCommand(command
,
2325 wxFileType::MessageParameters(filename
, mimetype
));
2327 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2329 self
->EnumAllFileTypes(arr
);
2330 return wxArrayString2PyList_helper(arr
);
2333 #include <wx/artprov.h>
2335 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2336 static const wxString
wxPyART_MENU(wxART_MENU
);
2337 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2338 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2339 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2340 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2341 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2342 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2343 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2344 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2345 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2346 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2347 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2348 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2349 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2350 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2351 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2352 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2353 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2354 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2355 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2356 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2357 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2358 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2359 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2360 static const wxString
wxPyART_HELP(wxART_HELP
);
2361 static const wxString
wxPyART_TIP(wxART_TIP
);
2362 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2363 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2364 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2365 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2366 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2367 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2368 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2369 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2370 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2371 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2372 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2373 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2374 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2375 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2376 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2377 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2378 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2379 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2380 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2381 static const wxString
wxPyART_COPY(wxART_COPY
);
2382 static const wxString
wxPyART_CUT(wxART_CUT
);
2383 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2384 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2385 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2386 static const wxString
wxPyART_REDO(wxART_REDO
);
2387 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2388 static const wxString
wxPyART_FIND(wxART_FIND
);
2389 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2390 // Python aware wxArtProvider
2391 class wxPyArtProvider
: public wxArtProvider
{
2394 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2395 const wxArtClient
& client
,
2396 const wxSize
& size
) {
2397 wxBitmap rval
= wxNullBitmap
;
2398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2399 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2400 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2404 s1
= wx2PyString(id
);
2405 s2
= wx2PyString(client
);
2406 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2411 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2416 wxPyEndBlockThreads(blocked
);
2423 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2427 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2428 PyObject
* ret
= PyTuple_New(3);
2430 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2431 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2432 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2437 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2442 cont
= self
->GetFirstGroup(value
, index
);
2443 return __EnumerationHelper(cont
, value
, index
);
2445 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2449 cont
= self
->GetNextGroup(value
, index
);
2450 return __EnumerationHelper(cont
, value
, index
);
2452 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2457 cont
= self
->GetFirstEntry(value
, index
);
2458 return __EnumerationHelper(cont
, value
, index
);
2460 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2464 cont
= self
->GetNextEntry(value
, index
);
2465 return __EnumerationHelper(cont
, value
, index
);
2467 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2469 self
->Read(key
, &rv
, defaultVal
);
2474 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2476 if (PyNumber_Check(obj
)) {
2477 if (val
) *val
= PyFloat_AsDouble(obj
);
2481 SWIG_type_error("number", obj
);
2487 SWIGINTERNSHORT
double
2488 SWIG_As_double(PyObject
* obj
)
2491 if (!SWIG_AsVal_double(obj
, &v
)) {
2493 this is needed to make valgrind/purify happier.
2495 memset((void*)&v
, 0, sizeof(double));
2502 SWIG_Check_double(PyObject
* obj
)
2504 return SWIG_AsVal_double(obj
, (double*)0);
2507 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2509 self
->Read(key
, &rv
, defaultVal
);
2513 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2514 #define SWIG_From_double PyFloat_FromDouble
2517 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2519 self
->Read(key
, &rv
, defaultVal
);
2523 #include <wx/datetime.h>
2525 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2526 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2528 #define LOCAL_TZ wxDateTime::Local
2530 static PyObject
*DateTime_GetAmPmStrings(){
2533 wxDateTime::GetAmPmStrings(&am
, &pm
);
2534 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2535 PyObject
* tup
= PyTuple_New(2);
2536 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2537 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2538 wxPyEndBlockThreads(blocked
);
2542 #if UINT_MAX < LONG_MAX
2543 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2544 #define SWIG_From_unsigned_SS_int SWIG_From_long
2547 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2548 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2552 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2553 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2554 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2555 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2556 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2557 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2558 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2559 return (*self
< *other
);
2561 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2562 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2563 return (*self
<= *other
);
2565 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2567 return (*self
> *other
);
2569 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2570 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2571 return (*self
>= *other
);
2573 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2574 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2575 return (*self
== *other
);
2577 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2578 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2579 return (*self
!= *other
);
2581 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2583 const wxChar
* _date
= date
;
2584 rv
= self
->ParseRfc822Date(_date
);
2585 if (rv
== NULL
) return -1;
2588 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2590 const wxChar
* _date
= date
;
2591 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2592 if (rv
== NULL
) return -1;
2595 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2597 const wxChar
* _datetime
= datetime
;
2598 rv
= self
->ParseDateTime(_datetime
);
2599 if (rv
== NULL
) return -1;
2600 return rv
- _datetime
;
2602 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2604 const wxChar
* _date
= date
;
2605 rv
= self
->ParseDate(_date
);
2606 if (rv
== NULL
) return -1;
2609 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2611 const wxChar
* _time
= time
;
2612 rv
= self
->ParseTime(_time
);
2613 if (rv
== NULL
) return -1;
2616 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2617 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2618 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2619 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2620 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2621 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2622 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2623 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2624 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2625 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2626 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2627 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2628 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2629 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2630 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2631 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2633 #include <wx/dataobj.h>
2635 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2636 size_t count
= self
->GetFormatCount(dir
);
2637 wxDataFormat
* formats
= new wxDataFormat
[count
];
2638 self
->GetAllFormats(formats
, dir
);
2640 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2641 PyObject
* list
= PyList_New(count
);
2642 for (size_t i
=0; i
<count
; i
++) {
2643 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2644 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2645 PyList_Append(list
, obj
);
2648 wxPyEndBlockThreads(blocked
);
2652 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2653 PyObject
* rval
= NULL
;
2654 size_t size
= self
->GetDataSize(format
);
2655 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2657 char* buf
= new char[size
];
2658 if (self
->GetDataHere(format
, buf
))
2659 rval
= PyString_FromStringAndSize(buf
, size
);
2666 wxPyEndBlockThreads(blocked
);
2669 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2671 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2672 if (PyString_Check(data
)) {
2673 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2676 // raise a TypeError if not a string
2677 PyErr_SetString(PyExc_TypeError
, "String expected.");
2680 wxPyEndBlockThreads(blocked
);
2683 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2684 PyObject
* rval
= NULL
;
2685 size_t size
= self
->GetDataSize();
2686 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2688 char* buf
= new char[size
];
2689 if (self
->GetDataHere(buf
))
2690 rval
= PyString_FromStringAndSize(buf
, size
);
2697 wxPyEndBlockThreads(blocked
);
2700 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2702 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2703 if (PyString_Check(data
)) {
2704 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2707 // raise a TypeError if not a string
2708 PyErr_SetString(PyExc_TypeError
, "String expected.");
2711 wxPyEndBlockThreads(blocked
);
2714 // Create a new class for wxPython to use
2715 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2717 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2718 : wxDataObjectSimple(format
) {}
2720 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2721 bool GetDataHere(void *buf
) const;
2722 bool SetData(size_t len
, const void *buf
) const;
2726 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2728 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2729 // We need to get the data for this object and write it to buf. I think
2730 // the best way to do this for wxPython is to have the Python method
2731 // return either a string or None and then act appropriately with the
2735 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2736 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2738 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2740 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2742 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2746 wxPyEndBlockThreads(blocked
);
2750 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2751 // For this one we simply need to make a string from buf and len
2752 // and send it to the Python method.
2754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2755 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2756 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2757 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2760 wxPyEndBlockThreads(blocked
);
2764 // Create a new class for wxPython to use
2765 class wxPyTextDataObject
: public wxTextDataObject
{
2767 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2768 : wxTextDataObject(text
) {}
2770 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2771 DEC_PYCALLBACK_STRING__const(GetText
);
2772 DEC_PYCALLBACK__STRING(SetText
);
2776 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2777 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2778 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2781 // Create a new class for wxPython to use
2782 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2784 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2785 : wxBitmapDataObject(bitmap
) {}
2787 wxBitmap
GetBitmap() const;
2788 void SetBitmap(const wxBitmap
& bitmap
);
2792 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2793 wxBitmap
* rval
= &wxNullBitmap
;
2794 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2795 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2798 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2800 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2805 wxPyEndBlockThreads(blocked
);
2809 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2810 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2811 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2812 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2813 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2816 wxPyEndBlockThreads(blocked
);
2819 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2820 return new wxCustomDataObject(wxDataFormat(formatName
));
2822 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2824 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2825 if (PyString_Check(data
)) {
2826 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2829 // raise a TypeError if not a string
2830 PyErr_SetString(PyExc_TypeError
, "String expected.");
2833 wxPyEndBlockThreads(blocked
);
2836 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2840 wxPyEndBlockThreads(blocked
);
2844 #include <wx/metafile.h>
2847 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2850 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2851 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2852 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2853 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2854 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2857 class wxPyTextDropTarget
: public wxTextDropTarget
{
2859 wxPyTextDropTarget() {}
2861 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2863 DEC_PYCALLBACK__(OnLeave
);
2864 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2865 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2867 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2872 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2873 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2874 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2875 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2876 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2877 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2881 class wxPyFileDropTarget
: public wxFileDropTarget
{
2883 wxPyFileDropTarget() {}
2885 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2887 DEC_PYCALLBACK__(OnLeave
);
2888 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2889 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2891 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2896 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2897 const wxArrayString
& filenames
) {
2899 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2900 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2901 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2902 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2905 wxPyEndBlockThreads(blocked
);
2911 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2912 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2913 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2914 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2915 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2920 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2922 #include <wx/display.h>
2924 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2925 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2927 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2929 #include <wx/dynarray.h>
2930 #include <wx/vidmode.h>
2932 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2933 #include "wx/arrimpl.cpp"
2934 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2935 const wxVideoMode wxDefaultVideoMode
;
2940 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2943 static size_t GetCount()
2944 { wxPyRaiseNotImplemented(); return 0; }
2946 static int GetFromPoint(const wxPoint
& pt
)
2947 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2948 static int GetFromWindow(wxWindow
*window
)
2949 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2951 virtual bool IsOk() const { return false; }
2952 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2953 virtual wxString
GetName() const { return wxEmptyString
; }
2954 bool IsPrimary() const { return false; }
2956 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2957 { wxArrayVideoModes a
; return a
; }
2959 virtual wxVideoMode
GetCurrentMode() const
2960 { return wxDefaultVideoMode
; }
2962 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2969 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2970 PyObject
* pyList
= NULL
;
2971 wxArrayVideoModes arr
= self
->GetModes(mode
);
2972 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2973 pyList
= PyList_New(0);
2974 for (int i
=0; i
< arr
.GetCount(); i
++) {
2975 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2976 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2977 PyList_Append(pyList
, pyObj
);
2980 wxPyEndBlockThreads(blocked
);
2984 #include <wx/stdpaths.h>
2986 static wxStandardPaths
*StandardPaths_Get(){
2987 return (wxStandardPaths
*) &wxStandardPaths::Get();
2989 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2990 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2994 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxSystemColour arg1
;
2998 PyObject
* obj0
= 0 ;
3000 (char *) "index", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3005 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3006 if (SWIG_arg_fail(1)) SWIG_fail
;
3009 if (!wxPyCheckForApp()) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 wxColour
* resultptr
;
3018 resultptr
= new wxColour((wxColour
&)(result
));
3019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3027 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "index", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3038 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3039 if (SWIG_arg_fail(1)) SWIG_fail
;
3042 if (!wxPyCheckForApp()) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3051 resultptr
= new wxFont((wxFont
&)(result
));
3052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3060 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxSystemMetric arg1
;
3063 wxWindow
*arg2
= (wxWindow
*) NULL
;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3068 (char *) "index",(char *) "win", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3073 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3074 if (SWIG_arg_fail(1)) SWIG_fail
;
3077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3078 if (SWIG_arg_fail(2)) SWIG_fail
;
3081 if (!wxPyCheckForApp()) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= SWIG_From_int((int)(result
));
3097 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxSystemFeature arg1
;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "index", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3108 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3109 if (SWIG_arg_fail(1)) SWIG_fail
;
3112 if (!wxPyCheckForApp()) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3128 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxSystemScreenType result
;
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3137 if (!wxPyCheckForApp()) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= SWIG_From_int((result
));
3151 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxSystemScreenType arg1
;
3154 PyObject
* obj0
= 0 ;
3156 (char *) "screen", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3161 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3162 if (SWIG_arg_fail(1)) SWIG_fail
;
3165 if (!wxPyCheckForApp()) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 Py_INCREF(Py_None
); resultobj
= Py_None
;
3179 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3182 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3184 return Py_BuildValue((char *)"");
3186 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3187 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3192 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3197 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3199 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3206 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxSystemOptions
*result
;
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= (wxSystemOptions
*)new wxSystemOptions();
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3228 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxString
*arg1
= 0 ;
3231 wxString
*arg2
= 0 ;
3232 bool temp1
= false ;
3233 bool temp2
= false ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "name",(char *) "value", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 arg1
= wxString_in_helper(obj0
);
3243 if (arg1
== NULL
) SWIG_fail
;
3247 arg2
= wxString_in_helper(obj1
);
3248 if (arg2
== NULL
) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxString
*arg1
= 0 ;
3285 bool temp1
= false ;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3289 (char *) "name",(char *) "value", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3294 arg1
= wxString_in_helper(obj0
);
3295 if (arg1
== NULL
) SWIG_fail
;
3299 arg2
= (int)(SWIG_As_int(obj1
));
3300 if (SWIG_arg_fail(2)) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxString
*arg1
= 0 ;
3328 bool temp1
= false ;
3329 PyObject
* obj0
= 0 ;
3331 (char *) "name", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3336 arg1
= wxString_in_helper(obj0
);
3337 if (arg1
== NULL
) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3368 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxString
*arg1
= 0 ;
3372 bool temp1
= false ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "name", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3380 arg1
= wxString_in_helper(obj0
);
3381 if (arg1
== NULL
) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= SWIG_From_int((int)(result
));
3408 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxString
*arg1
= 0 ;
3412 bool temp1
= false ;
3413 PyObject
* obj0
= 0 ;
3415 (char *) "name", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3420 arg1
= wxString_in_helper(obj0
);
3421 if (arg1
== NULL
) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3448 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxString
*arg1
= 0 ;
3452 bool temp1
= false ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "name", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3460 arg1
= wxString_in_helper(obj0
);
3461 if (arg1
== NULL
) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3488 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3491 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3493 return Py_BuildValue((char *)"");
3495 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3496 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3501 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3506 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3508 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3515 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3516 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3521 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3526 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3528 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3535 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3536 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3541 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3546 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3548 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3555 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (long)wxNewId();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= SWIG_From_long((long)(result
));
3579 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3582 PyObject
* obj0
= 0 ;
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3589 arg1
= (long)(SWIG_As_long(obj0
));
3590 if (SWIG_arg_fail(1)) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 Py_INCREF(Py_None
); resultobj
= Py_None
;
3606 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (long)wxGetCurrentId();
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_From_long((long)(result
));
3630 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3634 PyObject
* obj0
= 0 ;
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3641 arg1
= (int)(SWIG_As_int(obj0
));
3642 if (SWIG_arg_fail(1)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)wxIsStockID(arg1
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3663 wxString
*arg2
= 0 ;
3665 bool temp2
= false ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3669 (char *) "id",(char *) "label", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 arg1
= (int)(SWIG_As_int(obj0
));
3675 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 arg2
= wxString_in_helper(obj1
);
3679 if (arg2
== NULL
) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3706 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3709 bool arg2
= (bool) true ;
3710 wxString arg3
= (wxString
) wxPyEmptyString
;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3714 PyObject
* obj2
= 0 ;
3716 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3721 arg1
= (int)(SWIG_As_int(obj0
));
3722 if (SWIG_arg_fail(1)) SWIG_fail
;
3726 arg2
= (bool)(SWIG_As_bool(obj1
));
3727 if (SWIG_arg_fail(2)) SWIG_fail
;
3732 wxString
* sptr
= wxString_in_helper(obj2
);
3733 if (sptr
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3758 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3766 if (!wxPyCheckForApp()) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 Py_INCREF(Py_None
); resultobj
= Py_None
;
3780 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3788 if (!wxPyCheckForApp()) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3802 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 bool arg1
= (bool) true ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "resetTimer", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3814 arg1
= (bool)(SWIG_As_bool(obj0
));
3815 if (SWIG_arg_fail(1)) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (long)wxGetElapsedTime(arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_From_long((long)(result
));
3834 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 int *arg1
= (int *) 0 ;
3837 int *arg2
= (int *) 0 ;
3846 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3847 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 wxGetMousePosition(arg1
,arg2
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3859 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3860 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3861 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3868 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (bool)wxIsBusy();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3892 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3920 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3923 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3925 bool temp1
= false ;
3926 PyObject
* obj0
= 0 ;
3928 (char *) "command", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3934 arg1
= wxString_in_helper(obj0
);
3935 if (arg1
== NULL
) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)wxShell((wxString
const &)*arg1
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 int *arg1
= (int *) 0 ;
3987 int *arg2
= (int *) 0 ;
3997 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3998 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (int)wxGetOsVersion(arg1
,arg2
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_From_int((int)(result
));
4010 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4011 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4012 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4013 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4020 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= wxGetOsDescription();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4048 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (long)wxGetFreeMemory();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_From_long((long)(result
));
4072 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxShutdownFlags arg1
;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "wFlags", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4083 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4084 if (SWIG_arg_fail(1)) SWIG_fail
;
4087 if (!wxPyCheckForApp()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4103 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4106 PyObject
* obj0
= 0 ;
4108 (char *) "secs", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4113 arg1
= (int)(SWIG_As_int(obj0
));
4114 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 unsigned long arg1
;
4133 PyObject
* obj0
= 0 ;
4135 (char *) "milliseconds", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4140 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4141 if (SWIG_arg_fail(1)) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 unsigned long arg1
;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "microseconds", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4167 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4168 if (SWIG_arg_fail(1)) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "enable", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4194 arg1
= (bool)(SWIG_As_bool(obj0
));
4195 if (SWIG_arg_fail(1)) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 wxEnableTopLevelWindows(arg1
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 Py_INCREF(Py_None
); resultobj
= Py_None
;
4211 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxString
*arg1
= 0 ;
4215 bool temp1
= false ;
4216 PyObject
* obj0
= 0 ;
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4223 arg1
= wxString_in_helper(obj0
);
4224 if (arg1
== NULL
) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4255 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= wxGetEmailAddress();
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4283 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= wxGetHostName();
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4311 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= wxGetFullHostName();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4339 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= wxGetUserId();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4367 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= wxGetUserName();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4395 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= wxGetHomeDir();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4423 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4426 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4428 bool temp1
= false ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "user", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4437 arg1
= wxString_in_helper(obj0
);
4438 if (arg1
== NULL
) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= wxGetUserHome((wxString
const &)*arg1
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4470 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 unsigned long result
;
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (unsigned long)wxGetProcessId();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4494 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4518 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4519 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4520 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4521 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4522 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4525 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4526 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4527 int arg6
= (int) 0 ;
4528 wxWindow
*arg7
= (wxWindow
*) NULL
;
4529 int arg8
= (int) -1 ;
4530 int arg9
= (int) -1 ;
4532 bool temp1
= false ;
4533 bool temp2
= false ;
4534 bool temp3
= false ;
4535 bool temp4
= false ;
4536 bool temp5
= false ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 PyObject
* obj2
= 0 ;
4540 PyObject
* obj3
= 0 ;
4541 PyObject
* obj4
= 0 ;
4542 PyObject
* obj5
= 0 ;
4543 PyObject
* obj6
= 0 ;
4544 PyObject
* obj7
= 0 ;
4545 PyObject
* obj8
= 0 ;
4547 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4553 arg1
= wxString_in_helper(obj0
);
4554 if (arg1
== NULL
) SWIG_fail
;
4560 arg2
= wxString_in_helper(obj1
);
4561 if (arg2
== NULL
) SWIG_fail
;
4567 arg3
= wxString_in_helper(obj2
);
4568 if (arg3
== NULL
) SWIG_fail
;
4574 arg4
= wxString_in_helper(obj3
);
4575 if (arg4
== NULL
) SWIG_fail
;
4581 arg5
= wxString_in_helper(obj4
);
4582 if (arg5
== NULL
) SWIG_fail
;
4588 arg6
= (int)(SWIG_As_int(obj5
));
4589 if (SWIG_arg_fail(6)) SWIG_fail
;
4593 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4594 if (SWIG_arg_fail(7)) SWIG_fail
;
4598 arg8
= (int)(SWIG_As_int(obj7
));
4599 if (SWIG_arg_fail(8)) SWIG_fail
;
4604 arg9
= (int)(SWIG_As_int(obj8
));
4605 if (SWIG_arg_fail(9)) SWIG_fail
;
4609 if (!wxPyCheckForApp()) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4669 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxString
*arg1
= 0 ;
4672 wxString
*arg2
= 0 ;
4673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4675 wxWindow
*arg4
= (wxWindow
*) NULL
;
4677 bool temp1
= false ;
4678 bool temp2
= false ;
4679 bool temp3
= false ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj2
= 0 ;
4683 PyObject
* obj3
= 0 ;
4685 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4690 arg1
= wxString_in_helper(obj0
);
4691 if (arg1
== NULL
) SWIG_fail
;
4695 arg2
= wxString_in_helper(obj1
);
4696 if (arg2
== NULL
) SWIG_fail
;
4701 arg3
= wxString_in_helper(obj2
);
4702 if (arg3
== NULL
) SWIG_fail
;
4707 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(4)) SWIG_fail
;
4711 if (!wxPyCheckForApp()) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4755 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxString
*arg1
= 0 ;
4758 wxString
*arg2
= 0 ;
4759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4761 wxWindow
*arg4
= (wxWindow
*) NULL
;
4763 bool temp1
= false ;
4764 bool temp2
= false ;
4765 bool temp3
= false ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4771 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4776 arg1
= wxString_in_helper(obj0
);
4777 if (arg1
== NULL
) SWIG_fail
;
4781 arg2
= wxString_in_helper(obj1
);
4782 if (arg2
== NULL
) SWIG_fail
;
4787 arg3
= wxString_in_helper(obj2
);
4788 if (arg3
== NULL
) SWIG_fail
;
4793 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4794 if (SWIG_arg_fail(4)) SWIG_fail
;
4797 if (!wxPyCheckForApp()) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4841 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4844 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4845 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4847 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4850 wxWindow
*arg5
= (wxWindow
*) NULL
;
4852 bool temp1
= false ;
4853 bool temp2
= false ;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4857 PyObject
* obj2
= 0 ;
4858 PyObject
* obj3
= 0 ;
4859 PyObject
* obj4
= 0 ;
4861 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4867 arg1
= wxString_in_helper(obj0
);
4868 if (arg1
== NULL
) SWIG_fail
;
4874 arg2
= wxString_in_helper(obj1
);
4875 if (arg2
== NULL
) SWIG_fail
;
4881 arg3
= (long)(SWIG_As_long(obj2
));
4882 if (SWIG_arg_fail(3)) SWIG_fail
;
4888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4892 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4893 if (SWIG_arg_fail(5)) SWIG_fail
;
4896 if (!wxPyCheckForApp()) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4932 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxString
*arg1
= 0 ;
4935 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4936 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4939 wxWindow
*arg4
= (wxWindow
*) NULL
;
4940 int arg5
= (int) -1 ;
4941 int arg6
= (int) -1 ;
4942 bool arg7
= (bool) true ;
4944 bool temp1
= false ;
4945 bool temp2
= false ;
4946 bool temp3
= false ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4949 PyObject
* obj2
= 0 ;
4950 PyObject
* obj3
= 0 ;
4951 PyObject
* obj4
= 0 ;
4952 PyObject
* obj5
= 0 ;
4953 PyObject
* obj6
= 0 ;
4955 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4960 arg1
= wxString_in_helper(obj0
);
4961 if (arg1
== NULL
) SWIG_fail
;
4966 arg2
= wxString_in_helper(obj1
);
4967 if (arg2
== NULL
) SWIG_fail
;
4973 arg3
= wxString_in_helper(obj2
);
4974 if (arg3
== NULL
) SWIG_fail
;
4979 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(4)) SWIG_fail
;
4984 arg5
= (int)(SWIG_As_int(obj4
));
4985 if (SWIG_arg_fail(5)) SWIG_fail
;
4990 arg6
= (int)(SWIG_As_int(obj5
));
4991 if (SWIG_arg_fail(6)) SWIG_fail
;
4996 arg7
= (bool)(SWIG_As_bool(obj6
));
4997 if (SWIG_arg_fail(7)) SWIG_fail
;
5001 if (!wxPyCheckForApp()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5045 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxString
*arg1
= 0 ;
5048 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5049 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5052 wxWindow
*arg4
= (wxWindow
*) NULL
;
5054 bool temp1
= false ;
5055 bool temp2
= false ;
5056 bool temp3
= false ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 PyObject
* obj2
= 0 ;
5060 PyObject
* obj3
= 0 ;
5062 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5067 arg1
= wxString_in_helper(obj0
);
5068 if (arg1
== NULL
) SWIG_fail
;
5073 arg2
= wxString_in_helper(obj1
);
5074 if (arg2
== NULL
) SWIG_fail
;
5080 arg3
= wxString_in_helper(obj2
);
5081 if (arg3
== NULL
) SWIG_fail
;
5086 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5087 if (SWIG_arg_fail(4)) SWIG_fail
;
5090 if (!wxPyCheckForApp()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5134 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxString
*arg1
= 0 ;
5137 wxString
*arg2
= 0 ;
5139 wxString
*arg4
= (wxString
*) 0 ;
5140 wxWindow
*arg5
= (wxWindow
*) NULL
;
5141 int arg6
= (int) -1 ;
5142 int arg7
= (int) -1 ;
5143 bool arg8
= (bool) true ;
5144 int arg9
= (int) 150 ;
5145 int arg10
= (int) 200 ;
5147 bool temp1
= false ;
5148 bool temp2
= false ;
5149 PyObject
* obj0
= 0 ;
5150 PyObject
* obj1
= 0 ;
5151 PyObject
* obj2
= 0 ;
5152 PyObject
* obj3
= 0 ;
5153 PyObject
* obj4
= 0 ;
5154 PyObject
* obj5
= 0 ;
5155 PyObject
* obj6
= 0 ;
5156 PyObject
* obj7
= 0 ;
5157 PyObject
* obj8
= 0 ;
5159 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5164 arg1
= wxString_in_helper(obj0
);
5165 if (arg1
== NULL
) SWIG_fail
;
5169 arg2
= wxString_in_helper(obj1
);
5170 if (arg2
== NULL
) SWIG_fail
;
5174 arg3
= PyList_Size(obj2
);
5175 arg4
= wxString_LIST_helper(obj2
);
5176 if (arg4
== NULL
) SWIG_fail
;
5179 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(5)) SWIG_fail
;
5184 arg6
= (int)(SWIG_As_int(obj4
));
5185 if (SWIG_arg_fail(6)) SWIG_fail
;
5190 arg7
= (int)(SWIG_As_int(obj5
));
5191 if (SWIG_arg_fail(7)) SWIG_fail
;
5196 arg8
= (bool)(SWIG_As_bool(obj6
));
5197 if (SWIG_arg_fail(8)) SWIG_fail
;
5202 arg9
= (int)(SWIG_As_int(obj7
));
5203 if (SWIG_arg_fail(9)) SWIG_fail
;
5208 arg10
= (int)(SWIG_As_int(obj8
));
5209 if (SWIG_arg_fail(10)) SWIG_fail
;
5213 if (!wxPyCheckForApp()) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5236 if (arg4
) delete [] arg4
;
5249 if (arg4
) delete [] arg4
;
5255 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxString
*arg1
= 0 ;
5258 wxString
*arg2
= 0 ;
5260 wxString
*arg4
= (wxString
*) 0 ;
5261 wxWindow
*arg5
= (wxWindow
*) NULL
;
5262 int arg6
= (int) -1 ;
5263 int arg7
= (int) -1 ;
5264 bool arg8
= (bool) true ;
5265 int arg9
= (int) 150 ;
5266 int arg10
= (int) 200 ;
5268 bool temp1
= false ;
5269 bool temp2
= false ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5273 PyObject
* obj3
= 0 ;
5274 PyObject
* obj4
= 0 ;
5275 PyObject
* obj5
= 0 ;
5276 PyObject
* obj6
= 0 ;
5277 PyObject
* obj7
= 0 ;
5278 PyObject
* obj8
= 0 ;
5280 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5285 arg1
= wxString_in_helper(obj0
);
5286 if (arg1
== NULL
) SWIG_fail
;
5290 arg2
= wxString_in_helper(obj1
);
5291 if (arg2
== NULL
) SWIG_fail
;
5295 arg3
= PyList_Size(obj2
);
5296 arg4
= wxString_LIST_helper(obj2
);
5297 if (arg4
== NULL
) SWIG_fail
;
5300 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(5)) SWIG_fail
;
5305 arg6
= (int)(SWIG_As_int(obj4
));
5306 if (SWIG_arg_fail(6)) SWIG_fail
;
5311 arg7
= (int)(SWIG_As_int(obj5
));
5312 if (SWIG_arg_fail(7)) SWIG_fail
;
5317 arg8
= (bool)(SWIG_As_bool(obj6
));
5318 if (SWIG_arg_fail(8)) SWIG_fail
;
5323 arg9
= (int)(SWIG_As_int(obj7
));
5324 if (SWIG_arg_fail(9)) SWIG_fail
;
5329 arg10
= (int)(SWIG_As_int(obj8
));
5330 if (SWIG_arg_fail(10)) SWIG_fail
;
5334 if (!wxPyCheckForApp()) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_From_int((int)(result
));
5353 if (arg4
) delete [] arg4
;
5366 if (arg4
) delete [] arg4
;
5372 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxString
*arg1
= 0 ;
5375 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5376 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5377 int arg3
= (int) wxOK
|wxCENTRE
;
5378 wxWindow
*arg4
= (wxWindow
*) NULL
;
5379 int arg5
= (int) -1 ;
5380 int arg6
= (int) -1 ;
5382 bool temp1
= false ;
5383 bool temp2
= false ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5387 PyObject
* obj3
= 0 ;
5388 PyObject
* obj4
= 0 ;
5389 PyObject
* obj5
= 0 ;
5391 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5396 arg1
= wxString_in_helper(obj0
);
5397 if (arg1
== NULL
) SWIG_fail
;
5402 arg2
= wxString_in_helper(obj1
);
5403 if (arg2
== NULL
) SWIG_fail
;
5409 arg3
= (int)(SWIG_As_int(obj2
));
5410 if (SWIG_arg_fail(3)) SWIG_fail
;
5414 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(4)) SWIG_fail
;
5419 arg5
= (int)(SWIG_As_int(obj4
));
5420 if (SWIG_arg_fail(5)) SWIG_fail
;
5425 arg6
= (int)(SWIG_As_int(obj5
));
5426 if (SWIG_arg_fail(6)) SWIG_fail
;
5430 if (!wxPyCheckForApp()) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_From_int((int)(result
));
5462 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxString
*arg1
= 0 ;
5465 wxString
*arg2
= 0 ;
5466 wxString
*arg3
= 0 ;
5468 long arg5
= (long) 0 ;
5469 long arg6
= (long) 100 ;
5470 wxWindow
*arg7
= (wxWindow
*) NULL
;
5471 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5472 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5474 bool temp1
= false ;
5475 bool temp2
= false ;
5476 bool temp3
= false ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5480 PyObject
* obj2
= 0 ;
5481 PyObject
* obj3
= 0 ;
5482 PyObject
* obj4
= 0 ;
5483 PyObject
* obj5
= 0 ;
5484 PyObject
* obj6
= 0 ;
5485 PyObject
* obj7
= 0 ;
5487 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5492 arg1
= wxString_in_helper(obj0
);
5493 if (arg1
== NULL
) SWIG_fail
;
5497 arg2
= wxString_in_helper(obj1
);
5498 if (arg2
== NULL
) SWIG_fail
;
5502 arg3
= wxString_in_helper(obj2
);
5503 if (arg3
== NULL
) SWIG_fail
;
5507 arg4
= (long)(SWIG_As_long(obj3
));
5508 if (SWIG_arg_fail(4)) SWIG_fail
;
5512 arg5
= (long)(SWIG_As_long(obj4
));
5513 if (SWIG_arg_fail(5)) SWIG_fail
;
5518 arg6
= (long)(SWIG_As_long(obj5
));
5519 if (SWIG_arg_fail(6)) SWIG_fail
;
5523 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5524 if (SWIG_arg_fail(7)) SWIG_fail
;
5529 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5533 if (!wxPyCheckForApp()) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_From_long((long)(result
));
5573 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5582 if (!wxPyCheckForApp()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (bool)wxColourDisplay();
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5598 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5607 if (!wxPyCheckForApp()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (int)wxDisplayDepth();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_From_int((int)(result
));
5623 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5632 if (!wxPyCheckForApp()) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (int)wxGetDisplayDepth();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_From_int((int)(result
));
5648 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 int *arg1
= (int *) 0 ;
5651 int *arg2
= (int *) 0 ;
5660 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5661 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5664 if (!wxPyCheckForApp()) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 wxDisplaySize(arg1
,arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5673 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5674 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5675 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5682 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5691 if (!wxPyCheckForApp()) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 result
= wxGetDisplaySize();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5700 resultptr
= new wxSize((wxSize
&)(result
));
5701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5709 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 int *arg1
= (int *) 0 ;
5712 int *arg2
= (int *) 0 ;
5721 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5722 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxDisplaySizeMM(arg1
,arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5734 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5735 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5736 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5743 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5752 if (!wxPyCheckForApp()) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= wxGetDisplaySizeMM();
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5761 resultptr
= new wxSize((wxSize
&)(result
));
5762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5770 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 int *arg1
= (int *) 0 ;
5773 int *arg2
= (int *) 0 ;
5774 int *arg3
= (int *) 0 ;
5775 int *arg4
= (int *) 0 ;
5788 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5789 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5790 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5791 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 Py_INCREF(Py_None
); resultobj
= Py_None
;
5802 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5803 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5804 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5805 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5806 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5807 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5808 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5809 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5816 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5825 if (!wxPyCheckForApp()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= wxGetClientDisplayRect();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5834 resultptr
= new wxRect((wxRect
&)(result
));
5835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5843 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxCursor
*arg1
= 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "cursor", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5854 if (SWIG_arg_fail(1)) SWIG_fail
;
5856 SWIG_null_ref("wxCursor");
5858 if (SWIG_arg_fail(1)) SWIG_fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5884 if (!wxPyCheckForApp()) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (void *)wxGetXDisplay();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5898 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "cursor", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5909 if (SWIG_arg_fail(1)) SWIG_fail
;
5912 if (!wxPyCheckForApp()) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxBeginBusyCursor(arg1
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5935 if (!wxPyCheckForApp()) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (wxWindow
*)wxGetActiveWindow();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= wxPyMake_wxObject(result
, 0);
5951 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5956 PyObject
* obj0
= 0 ;
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5964 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5967 if (!wxPyCheckForApp()) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= wxPyMake_wxObject(result
, 0);
5983 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5988 PyObject
* obj0
= 0 ;
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5996 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= wxPyMake_wxObject(result
, 0);
6015 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxWindow
*arg1
= (wxWindow
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6021 (char *) "win", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6028 if (!wxPyCheckForApp()) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= wxPyMake_wxObject(result
, 0);
6044 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxString
*arg1
= 0 ;
6048 bool temp1
= false ;
6049 PyObject
* obj0
= 0 ;
6051 (char *) "url", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6056 arg1
= wxString_in_helper(obj0
);
6057 if (arg1
== NULL
) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "key", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6095 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6096 if (SWIG_arg_fail(1)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6123 if (!wxPyCheckForApp()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 wxWakeUpMainThread();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 Py_INCREF(Py_None
); resultobj
= Py_None
;
6137 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6145 if (!wxPyCheckForApp()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 Py_INCREF(Py_None
); resultobj
= Py_None
;
6159 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6167 if (!wxPyCheckForApp()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxMutexGuiLocker
*result
;
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6190 if (!wxPyCheckForApp()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6204 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6214 if (SWIG_arg_fail(1)) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6232 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6234 return Py_BuildValue((char *)"");
6236 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (bool)wxThread_IsMain();
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6260 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxString
*arg1
= 0 ;
6264 bool temp1
= false ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "tip", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6272 arg1
= wxString_in_helper(obj0
);
6273 if (arg1
== NULL
) SWIG_fail
;
6277 if (!wxPyCheckForApp()) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= wxPyMake_wxObject(result
, 1);
6301 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6304 wxString
*arg2
= 0 ;
6305 bool temp2
= false ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6309 (char *) "self",(char *) "tip", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6314 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 arg2
= wxString_in_helper(obj1
);
6317 if (arg2
== NULL
) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->SetTip((wxString
const &)*arg2
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 Py_INCREF(Py_None
); resultobj
= Py_None
;
6342 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (arg1
)->GetTip();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6374 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxWindow
*)(arg1
)->GetWindow();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= wxPyMake_wxObject(result
, 0);
6402 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "flag", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6412 arg1
= (bool)(SWIG_As_bool(obj0
));
6413 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 wxToolTip::Enable(arg1
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "milliseconds", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6439 arg1
= (long)(SWIG_As_long(obj0
));
6440 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxToolTip::SetDelay(arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6461 return Py_BuildValue((char *)"");
6463 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxWindow
*arg1
= (wxWindow
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "window",(char *) "size", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6477 if (SWIG_arg_fail(1)) SWIG_fail
;
6480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6483 if (!wxPyCheckForApp()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6497 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxCaret
*arg1
= (wxCaret
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6507 if (SWIG_arg_fail(1)) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 wxCaret_Destroy(arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 Py_INCREF(Py_None
); resultobj
= Py_None
;
6522 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxCaret
*arg1
= (wxCaret
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)(arg1
)->IsOk();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6550 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxCaret
*arg1
= (wxCaret
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6561 if (SWIG_arg_fail(1)) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (bool)(arg1
)->IsVisible();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxCaret
*arg1
= (wxCaret
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6584 (char *) "self", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (arg1
)->GetPosition();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6598 wxPoint
* resultptr
;
6599 resultptr
= new wxPoint((wxPoint
&)(result
));
6600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6608 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxCaret
*arg1
= (wxCaret
*) 0 ;
6611 int *arg2
= (int *) 0 ;
6612 int *arg3
= (int *) 0 ;
6617 PyObject
* obj0
= 0 ;
6619 (char *) "self", NULL
6622 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6623 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 (arg1
)->GetPosition(arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6636 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6637 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6638 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6645 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxCaret
*arg1
= (wxCaret
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6656 if (SWIG_arg_fail(1)) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (arg1
)->GetSize();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 resultptr
= new wxSize((wxSize
&)(result
));
6667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6675 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxCaret
*arg1
= (wxCaret
*) 0 ;
6678 int *arg2
= (int *) 0 ;
6679 int *arg3
= (int *) 0 ;
6684 PyObject
* obj0
= 0 ;
6686 (char *) "self", NULL
6689 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6690 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6693 if (SWIG_arg_fail(1)) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 (arg1
)->GetSize(arg2
,arg3
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 Py_INCREF(Py_None
); resultobj
= Py_None
;
6702 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6703 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6704 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6705 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6712 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxCaret
*arg1
= (wxCaret
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6718 (char *) "self", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6723 if (SWIG_arg_fail(1)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (wxWindow
*)(arg1
)->GetWindow();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= wxPyMake_wxObject(result
, 0);
6740 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxCaret
*arg1
= (wxCaret
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6749 (char *) "self",(char *) "x",(char *) "y", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(1)) SWIG_fail
;
6756 arg2
= (int)(SWIG_As_int(obj1
));
6757 if (SWIG_arg_fail(2)) SWIG_fail
;
6760 arg3
= (int)(SWIG_As_int(obj2
));
6761 if (SWIG_arg_fail(3)) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 (arg1
)->Move(arg2
,arg3
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 Py_INCREF(Py_None
); resultobj
= Py_None
;
6777 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxCaret
*arg1
= (wxCaret
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "pt", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 (arg1
)->Move((wxPoint
const &)*arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxCaret
*arg1
= (wxCaret
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6818 (char *) "self",(char *) "width",(char *) "height", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6825 arg2
= (int)(SWIG_As_int(obj1
));
6826 if (SWIG_arg_fail(2)) SWIG_fail
;
6829 arg3
= (int)(SWIG_As_int(obj2
));
6830 if (SWIG_arg_fail(3)) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->SetSize(arg2
,arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 Py_INCREF(Py_None
); resultobj
= Py_None
;
6846 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxCaret
*arg1
= (wxCaret
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "size", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetSize((wxSize
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxCaret
*arg1
= (wxCaret
*) 0 ;
6881 int arg2
= (int) true ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6885 (char *) "self",(char *) "show", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6890 if (SWIG_arg_fail(1)) SWIG_fail
;
6893 arg2
= (int)(SWIG_As_int(obj1
));
6894 if (SWIG_arg_fail(2)) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxCaret
*arg1
= (wxCaret
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6921 if (SWIG_arg_fail(1)) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 Py_INCREF(Py_None
); resultobj
= Py_None
;
6936 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (int)wxCaret::GetBlinkTime();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_From_int((int)(result
));
6960 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6963 PyObject
* obj0
= 0 ;
6965 (char *) "milliseconds", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6970 arg1
= (int)(SWIG_As_int(obj0
));
6971 if (SWIG_arg_fail(1)) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxCaret::SetBlinkTime(arg1
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 Py_INCREF(Py_None
); resultobj
= Py_None
;
6987 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6990 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6992 return Py_BuildValue((char *)"");
6994 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6997 wxBusyCursor
*result
;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "cursor", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail
;
7009 if (!wxPyCheckForApp()) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7023 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7033 if (SWIG_arg_fail(1)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7051 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7053 return Py_BuildValue((char *)"");
7055 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxWindow
*arg1
= (wxWindow
*) NULL
;
7058 wxWindowDisabler
*result
;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "winToSkip", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7070 if (!wxPyCheckForApp()) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7084 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7094 if (SWIG_arg_fail(1)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7114 return Py_BuildValue((char *)"");
7116 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxString
*arg1
= 0 ;
7120 bool temp1
= false ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "message", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7128 arg1
= wxString_in_helper(obj0
);
7129 if (arg1
== NULL
) SWIG_fail
;
7133 if (!wxPyCheckForApp()) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7155 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7183 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7185 return Py_BuildValue((char *)"");
7187 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxStopWatch
*result
;
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (wxStopWatch
*)new wxStopWatch();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7209 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7212 long arg2
= (long) 0 ;
7213 PyObject
* obj0
= 0 ;
7214 PyObject
* obj1
= 0 ;
7216 (char *) "self",(char *) "t0", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 arg2
= (long)(SWIG_As_long(obj1
));
7225 if (SWIG_arg_fail(2)) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 (arg1
)->Start(arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "self", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "self", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7277 if (SWIG_arg_fail(1)) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_long((long)(result
));
7320 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7325 return Py_BuildValue((char *)"");
7327 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 int arg1
= (int) 9 ;
7330 int arg2
= (int) wxID_FILE1
;
7331 wxFileHistory
*result
;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "maxFiles",(char *) "idBase", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7341 arg1
= (int)(SWIG_As_int(obj0
));
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7347 arg2
= (int)(SWIG_As_int(obj1
));
7348 if (SWIG_arg_fail(2)) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7365 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "self", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7390 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7393 wxString
*arg2
= 0 ;
7394 bool temp2
= false ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7398 (char *) "self",(char *) "file", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7403 if (SWIG_arg_fail(1)) SWIG_fail
;
7405 arg2
= wxString_in_helper(obj1
);
7406 if (arg2
== NULL
) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7438 (char *) "self",(char *) "i", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7443 if (SWIG_arg_fail(1)) SWIG_fail
;
7445 arg2
= (int)(SWIG_As_int(obj1
));
7446 if (SWIG_arg_fail(2)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 (arg1
)->RemoveFileFromHistory(arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_From_int((int)(result
));
7490 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7493 wxMenu
*arg2
= (wxMenu
*) 0 ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7497 (char *) "self",(char *) "menu", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7502 if (SWIG_arg_fail(1)) SWIG_fail
;
7503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(2)) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 (arg1
)->UseMenu(arg2
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7522 wxMenu
*arg2
= (wxMenu
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7526 (char *) "self",(char *) "menu", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail
;
7532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(2)) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 (arg1
)->RemoveMenu(arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 Py_INCREF(Py_None
); resultobj
= Py_None
;
7548 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7551 wxConfigBase
*arg2
= 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7555 (char *) "self",(char *) "config", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7560 if (SWIG_arg_fail(1)) SWIG_fail
;
7562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7563 if (SWIG_arg_fail(2)) SWIG_fail
;
7565 SWIG_null_ref("wxConfigBase");
7567 if (SWIG_arg_fail(2)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 (arg1
)->Load(*arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 Py_INCREF(Py_None
); resultobj
= Py_None
;
7583 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7586 wxConfigBase
*arg2
= 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7590 (char *) "self",(char *) "config", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail
;
7597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7598 if (SWIG_arg_fail(2)) SWIG_fail
;
7600 SWIG_null_ref("wxConfigBase");
7602 if (SWIG_arg_fail(2)) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->Save(*arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7628 if (SWIG_arg_fail(1)) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->AddFilesToMenu();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7646 wxMenu
*arg2
= (wxMenu
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "self",(char *) "menu", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7655 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(2)) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->AddFilesToMenu(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7680 (char *) "self",(char *) "i", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 arg2
= (int)(SWIG_As_int(obj1
));
7688 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7710 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_From_int((int)(result
));
7738 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7741 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7743 return Py_BuildValue((char *)"");
7745 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxString
*arg1
= 0 ;
7748 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7750 wxSingleInstanceChecker
*result
;
7751 bool temp1
= false ;
7752 bool temp2
= false ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7756 (char *) "name",(char *) "path", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7761 arg1
= wxString_in_helper(obj0
);
7762 if (arg1
== NULL
) SWIG_fail
;
7767 arg2
= wxString_in_helper(obj1
);
7768 if (arg2
== NULL
) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7802 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxSingleInstanceChecker
*result
;
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7824 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7852 wxString
*arg2
= 0 ;
7853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7856 bool temp2
= false ;
7857 bool temp3
= false ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7860 PyObject
* obj2
= 0 ;
7862 (char *) "self",(char *) "name",(char *) "path", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= wxString_in_helper(obj1
);
7870 if (arg2
== NULL
) SWIG_fail
;
7875 arg3
= wxString_in_helper(obj2
);
7876 if (arg3
== NULL
) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7940 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7945 return Py_BuildValue((char *)"");
7947 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxWindow
*arg1
= (wxWindow
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7953 PyObject
* obj1
= 0 ;
7955 (char *) "window",(char *) "dc", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7963 if (SWIG_arg_fail(2)) SWIG_fail
;
7965 SWIG_null_ref("wxDC");
7967 if (SWIG_arg_fail(2)) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8021 if (SWIG_arg_fail(1)) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->GetTip();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8042 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (size_t)(arg1
)->GetCurrentTip();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8070 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8073 wxString
*arg2
= 0 ;
8075 bool temp2
= false ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "tip", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 arg2
= wxString_in_helper(obj1
);
8087 if (arg2
== NULL
) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8118 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8121 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8123 return Py_BuildValue((char *)"");
8125 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8128 wxPyTipProvider
*result
;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "currentTip", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8136 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8137 if (SWIG_arg_fail(1)) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8153 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8156 PyObject
*arg2
= (PyObject
*) 0 ;
8157 PyObject
*arg3
= (PyObject
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8159 PyObject
* obj1
= 0 ;
8160 PyObject
* obj2
= 0 ;
8162 (char *) "self",(char *) "self",(char *) "_class", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8187 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8189 return Py_BuildValue((char *)"");
8191 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxWindow
*arg1
= (wxWindow
*) 0 ;
8194 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8195 bool arg3
= (bool) true ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8199 PyObject
* obj2
= 0 ;
8201 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8208 if (SWIG_arg_fail(2)) SWIG_fail
;
8211 arg3
= (bool)(SWIG_As_bool(obj2
));
8212 if (SWIG_arg_fail(3)) SWIG_fail
;
8216 if (!wxPyCheckForApp()) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8232 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxString
*arg1
= 0 ;
8236 wxTipProvider
*result
;
8237 bool temp1
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8241 (char *) "filename",(char *) "currentTip", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 arg1
= wxString_in_helper(obj0
);
8247 if (arg1
== NULL
) SWIG_fail
;
8251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8252 if (SWIG_arg_fail(2)) SWIG_fail
;
8255 if (!wxPyCheckForApp()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8277 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8280 int arg2
= (int) -1 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8285 (char *) "owner",(char *) "id", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 arg2
= (int)(SWIG_As_int(obj1
));
8296 if (SWIG_arg_fail(2)) SWIG_fail
;
8300 if (!wxPyCheckForApp()) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8314 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8319 (char *) "self", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8342 PyObject
*arg2
= (PyObject
*) 0 ;
8343 PyObject
*arg3
= (PyObject
*) 0 ;
8344 int arg4
= (int) 1 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 PyObject
* obj2
= 0 ;
8348 PyObject
* obj3
= 0 ;
8350 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8360 arg4
= (int)(SWIG_As_int(obj3
));
8361 if (SWIG_arg_fail(4)) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8381 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8382 int arg3
= (int) -1 ;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8385 PyObject
* obj2
= 0 ;
8387 (char *) "self",(char *) "owner",(char *) "id", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(2)) SWIG_fail
;
8397 arg3
= (int)(SWIG_As_int(obj2
));
8398 if (SWIG_arg_fail(3)) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 (arg1
)->SetOwner(arg2
,arg3
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 Py_INCREF(Py_None
); resultobj
= Py_None
;
8415 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8418 wxEvtHandler
*result
;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "self", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8426 if (SWIG_arg_fail(1)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= wxPyMake_wxObject(result
, 0);
8443 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8446 int arg2
= (int) -1 ;
8447 bool arg3
= (bool) false ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8451 PyObject
* obj2
= 0 ;
8453 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8458 if (SWIG_arg_fail(1)) SWIG_fail
;
8461 arg2
= (int)(SWIG_As_int(obj1
));
8462 if (SWIG_arg_fail(2)) SWIG_fail
;
8467 arg3
= (bool)(SWIG_As_bool(obj2
));
8468 if (SWIG_arg_fail(3)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8487 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8497 if (SWIG_arg_fail(1)) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "self", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_From_int((int)(result
));
8568 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8574 (char *) "self", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8579 if (SWIG_arg_fail(1)) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_From_int((int)(result
));
8624 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 int arg1
= (int) 0 ;
8634 int arg2
= (int) 0 ;
8635 wxTimerEvent
*result
;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "timerid",(char *) "interval", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8645 arg1
= (int)(SWIG_As_int(obj0
));
8646 if (SWIG_arg_fail(1)) SWIG_fail
;
8651 arg2
= (int)(SWIG_As_int(obj1
));
8652 if (SWIG_arg_fail(2)) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8669 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_From_int((int)(result
));
8697 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8700 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8702 return Py_BuildValue((char *)"");
8704 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8705 PyObject
*resultobj
;
8707 wxTimerRunner
*result
;
8708 PyObject
* obj0
= 0 ;
8710 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 SWIG_null_ref("wxTimer");
8717 if (SWIG_arg_fail(1)) SWIG_fail
;
8720 if (!wxPyCheckForApp()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8734 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8735 PyObject
*resultobj
;
8738 bool arg3
= (bool) false ;
8739 wxTimerRunner
*result
;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8742 PyObject
* obj2
= 0 ;
8744 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 SWIG_null_ref("wxTimer");
8751 if (SWIG_arg_fail(1)) SWIG_fail
;
8754 arg2
= (int)(SWIG_As_int(obj1
));
8755 if (SWIG_arg_fail(2)) SWIG_fail
;
8759 arg3
= (bool)(SWIG_As_bool(obj2
));
8760 if (SWIG_arg_fail(3)) SWIG_fail
;
8764 if (!wxPyCheckForApp()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8778 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8783 argc
= PyObject_Length(args
);
8784 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8785 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8791 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8799 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8802 if ((argc
>= 2) && (argc
<= 3)) {
8806 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8814 _v
= SWIG_Check_int(argv
[1]);
8817 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8819 _v
= SWIG_Check_bool(argv
[2]);
8821 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8827 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8832 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8835 PyObject
* obj0
= 0 ;
8837 (char *) "self", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8842 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8861 bool arg3
= (bool) false ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8871 if (SWIG_arg_fail(1)) SWIG_fail
;
8873 arg2
= (int)(SWIG_As_int(obj1
));
8874 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 arg3
= (bool)(SWIG_As_bool(obj2
));
8879 if (SWIG_arg_fail(3)) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->Start(arg2
,arg3
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8899 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8901 return Py_BuildValue((char *)"");
8903 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (wxLog
*)new wxLog();
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8925 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)wxLog::IsEnabled();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 bool arg1
= (bool) true ;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "doIt", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8961 arg1
= (bool)(SWIG_As_bool(obj0
));
8962 if (SWIG_arg_fail(1)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (bool)wxLog::EnableLogging(arg1
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8981 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8984 wxChar
*arg2
= (wxChar
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8988 PyObject
* obj2
= 0 ;
8990 (char *) "level",(char *) "szString",(char *) "t", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8995 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8996 if (SWIG_arg_fail(1)) SWIG_fail
;
8998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8999 if (SWIG_arg_fail(2)) SWIG_fail
;
9001 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
9002 if (SWIG_arg_fail(3)) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxLog
*arg1
= (wxLog
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "self", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 wxLog::FlushActive();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxLog
*)wxLog::GetActiveTarget();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9086 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxLog
*arg1
= (wxLog
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "pLogger", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9097 if (SWIG_arg_fail(1)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9112 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 bool arg1
= (bool) true ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "bVerbose", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9165 arg1
= (bool)(SWIG_As_bool(obj0
));
9166 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 wxLog::SetVerbose(arg1
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "logLevel", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9193 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9194 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 wxLog::SetLogLevel(arg1
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9210 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 wxLog::DontCreateOnDemand();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "ulMask", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9241 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9242 if (SWIG_arg_fail(1)) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 wxLog::SetTraceMask(arg1
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxString
*arg1
= 0 ;
9261 bool temp1
= false ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "str", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9269 arg1
= wxString_in_helper(obj0
);
9270 if (arg1
== NULL
) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 wxLog::AddTraceMask((wxString
const &)*arg1
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxString
*arg1
= 0 ;
9298 bool temp1
= false ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "str", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9306 arg1
= wxString_in_helper(obj0
);
9307 if (arg1
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 wxLog::ClearTraceMasks();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxArrayString
*result
;
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9365 result
= (wxArrayString
*) &_result_ref
;
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= wxArrayString2PyList_helper(*result
);
9380 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxChar
*arg1
= (wxChar
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 wxLog::SetTimestamp((wxChar
const *)arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 Py_INCREF(Py_None
); resultobj
= Py_None
;
9405 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (bool)wxLog::GetVerbose();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9429 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (wxTraceMask
)wxLog::GetTraceMask();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9453 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxChar
*arg1
= (wxChar
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "mask", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9481 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxLogLevel
)wxLog::GetLogLevel();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9505 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (wxChar
*)wxLog::GetTimestamp();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9527 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= Log_TimeStamp();
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9555 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxLog
*arg1
= (wxLog
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9565 if (SWIG_arg_fail(1)) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 wxLog_Destroy(arg1
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 Py_INCREF(Py_None
); resultobj
= Py_None
;
9580 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9583 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9585 return Py_BuildValue((char *)"");
9587 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxLogStderr
*result
;
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxLogStderr
*)new wxLogStderr();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9609 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9614 return Py_BuildValue((char *)"");
9616 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9619 wxLogTextCtrl
*result
;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "pTextCtrl", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9642 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9645 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9647 return Py_BuildValue((char *)"");
9649 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (wxLogGui
*)new wxLogGui();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9671 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9674 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9676 return Py_BuildValue((char *)"");
9678 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxFrame
*arg1
= (wxFrame
*) 0 ;
9681 wxString
*arg2
= 0 ;
9682 bool arg3
= (bool) true ;
9683 bool arg4
= (bool) true ;
9684 wxLogWindow
*result
;
9685 bool temp2
= false ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9688 PyObject
* obj2
= 0 ;
9689 PyObject
* obj3
= 0 ;
9691 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9696 if (SWIG_arg_fail(1)) SWIG_fail
;
9698 arg2
= wxString_in_helper(obj1
);
9699 if (arg2
== NULL
) SWIG_fail
;
9704 arg3
= (bool)(SWIG_As_bool(obj2
));
9705 if (SWIG_arg_fail(3)) SWIG_fail
;
9710 arg4
= (bool)(SWIG_As_bool(obj3
));
9711 if (SWIG_arg_fail(4)) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9736 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9739 bool arg2
= (bool) true ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "bShow", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9751 arg2
= (bool)(SWIG_As_bool(obj1
));
9752 if (SWIG_arg_fail(2)) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 Py_INCREF(Py_None
); resultobj
= Py_None
;
9769 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9775 (char *) "self", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9780 if (SWIG_arg_fail(1)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= wxPyMake_wxObject(result
, 0);
9797 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9823 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9851 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9858 (char *) "self",(char *) "bDoPass", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 arg2
= (bool)(SWIG_As_bool(obj1
));
9866 if (SWIG_arg_fail(2)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 (arg1
)->PassMessages(arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9882 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9885 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9887 return Py_BuildValue((char *)"");
9889 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxLog
*arg1
= (wxLog
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "logger", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxLogChain
*)new wxLogChain(arg1
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9915 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9918 wxLog
*arg2
= (wxLog
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9922 (char *) "self",(char *) "logger", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail
;
9928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(2)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 (arg1
)->SetLog(arg2
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 Py_INCREF(Py_None
); resultobj
= Py_None
;
9944 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9951 (char *) "self",(char *) "bDoPass", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 arg2
= (bool)(SWIG_As_bool(obj1
));
9959 if (SWIG_arg_fail(2)) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 (arg1
)->PassMessages(arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 Py_INCREF(Py_None
); resultobj
= Py_None
;
9975 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "self", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9986 if (SWIG_arg_fail(1)) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)(arg1
)->IsPassingMessages();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10003 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10014 if (SWIG_arg_fail(1)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (wxLog
*)(arg1
)->GetOldLog();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10029 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10032 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10034 return Py_BuildValue((char *)"");
10036 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 unsigned long result
;
10039 char *kwnames
[] = {
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (unsigned long)wxSysErrorCode();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10060 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 unsigned long arg1
= (unsigned long) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "nErrCode", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10072 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= wxSysErrorMsg(arg1
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10096 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxString
*arg1
= 0 ;
10099 bool temp1
= false ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "msg", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10107 arg1
= wxString_in_helper(obj0
);
10108 if (arg1
== NULL
) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 wxPyLogFatalError((wxString
const &)*arg1
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxString
*arg1
= 0 ;
10136 bool temp1
= false ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "msg", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10144 arg1
= wxString_in_helper(obj0
);
10145 if (arg1
== NULL
) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 wxPyLogError((wxString
const &)*arg1
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 Py_INCREF(Py_None
); resultobj
= Py_None
;
10170 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxString
*arg1
= 0 ;
10173 bool temp1
= false ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "msg", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10181 arg1
= wxString_in_helper(obj0
);
10182 if (arg1
== NULL
) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 wxPyLogWarning((wxString
const &)*arg1
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxString
*arg1
= 0 ;
10210 bool temp1
= false ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "msg", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10218 arg1
= wxString_in_helper(obj0
);
10219 if (arg1
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 wxPyLogMessage((wxString
const &)*arg1
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10244 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxString
*arg1
= 0 ;
10247 bool temp1
= false ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "msg", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10255 arg1
= wxString_in_helper(obj0
);
10256 if (arg1
== NULL
) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 wxPyLogInfo((wxString
const &)*arg1
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxString
*arg1
= 0 ;
10284 bool temp1
= false ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "msg", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10292 arg1
= wxString_in_helper(obj0
);
10293 if (arg1
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 wxPyLogDebug((wxString
const &)*arg1
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxString
*arg1
= 0 ;
10321 bool temp1
= false ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "msg", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10329 arg1
= wxString_in_helper(obj0
);
10330 if (arg1
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxPyLogVerbose((wxString
const &)*arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10355 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxString
*arg1
= 0 ;
10358 bool temp1
= false ;
10359 PyObject
* obj0
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "msg", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10366 arg1
= wxString_in_helper(obj0
);
10367 if (arg1
== NULL
) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 wxPyLogStatus((wxString
const &)*arg1
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxFrame
*arg1
= (wxFrame
*) 0 ;
10395 wxString
*arg2
= 0 ;
10396 bool temp2
= false ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "pFrame",(char *) "msg", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 arg2
= wxString_in_helper(obj1
);
10408 if (arg2
== NULL
) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxString
*arg1
= 0 ;
10436 bool temp1
= false ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "msg", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10444 arg1
= wxString_in_helper(obj0
);
10445 if (arg1
== NULL
) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 wxPyLogSysError((wxString
const &)*arg1
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 unsigned long arg1
;
10473 wxString
*arg2
= 0 ;
10474 bool temp2
= false ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "level",(char *) "msg", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10484 if (SWIG_arg_fail(1)) SWIG_fail
;
10487 arg2
= wxString_in_helper(obj1
);
10488 if (arg2
== NULL
) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10514 PyObject
*resultobj
;
10515 unsigned long arg1
;
10516 wxString
*arg2
= 0 ;
10517 bool temp2
= false ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10521 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10523 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10524 if (SWIG_arg_fail(1)) SWIG_fail
;
10527 arg2
= wxString_in_helper(obj1
);
10528 if (arg2
== NULL
) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10553 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10554 PyObject
*resultobj
;
10555 wxString
*arg1
= 0 ;
10556 wxString
*arg2
= 0 ;
10557 bool temp1
= false ;
10558 bool temp2
= false ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10562 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10564 arg1
= wxString_in_helper(obj0
);
10565 if (arg1
== NULL
) SWIG_fail
;
10569 arg2
= wxString_in_helper(obj1
);
10570 if (arg2
== NULL
) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10608 argc
= PyObject_Length(args
);
10609 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10610 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10615 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10619 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10622 return _wrap_LogTrace__SWIG_1(self
,args
);
10628 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10631 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10634 return _wrap_LogTrace__SWIG_0(self
,args
);
10639 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10644 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxString
*arg1
= 0 ;
10647 wxString
*arg2
= 0 ;
10648 bool temp1
= false ;
10649 bool temp2
= false ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "title",(char *) "text", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 arg1
= wxString_in_helper(obj0
);
10659 if (arg1
== NULL
) SWIG_fail
;
10663 arg2
= wxString_in_helper(obj1
);
10664 if (arg2
== NULL
) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10697 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10700 char *kwnames
[] = {
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (wxLogNull
*)new wxLogNull();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10719 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10729 if (SWIG_arg_fail(1)) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10747 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10749 return Py_BuildValue((char *)"");
10751 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10754 char *kwnames
[] = {
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (wxPyLog
*)new wxPyLog();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10773 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10776 PyObject
*arg2
= (PyObject
*) 0 ;
10777 PyObject
*arg3
= (PyObject
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "self",(char *) "_class", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10807 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10809 return Py_BuildValue((char *)"");
10811 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10814 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10815 int arg3
= (int) wxKILL_NOCHILDREN
;
10816 wxKillError result
;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 PyObject
* obj2
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10826 arg1
= (int)(SWIG_As_int(obj0
));
10827 if (SWIG_arg_fail(1)) SWIG_fail
;
10831 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10832 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 arg3
= (int)(SWIG_As_int(obj2
));
10838 if (SWIG_arg_fail(3)) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_From_int((result
));
10855 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10859 PyObject
* obj0
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "pid", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10866 arg1
= (int)(SWIG_As_int(obj0
));
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)wxPyProcess::Exists(arg1
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxString
*arg1
= 0 ;
10888 int arg2
= (int) wxEXEC_ASYNC
;
10889 wxPyProcess
*result
;
10890 bool temp1
= false ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "cmd",(char *) "flags", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10899 arg1
= wxString_in_helper(obj0
);
10900 if (arg1
== NULL
) SWIG_fail
;
10905 arg2
= (int)(SWIG_As_int(obj1
));
10906 if (SWIG_arg_fail(2)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10931 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10934 int arg2
= (int) -1 ;
10935 wxPyProcess
*result
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "parent",(char *) "id", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail
;
10949 arg2
= (int)(SWIG_As_int(obj1
));
10950 if (SWIG_arg_fail(2)) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10967 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10970 PyObject
*arg2
= (PyObject
*) 0 ;
10971 PyObject
*arg3
= (PyObject
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 PyObject
* obj2
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "self",(char *) "_class", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10981 if (SWIG_arg_fail(1)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 PyObject
* obj2
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "pid",(char *) "status", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11014 arg2
= (int)(SWIG_As_int(obj1
));
11015 if (SWIG_arg_fail(2)) SWIG_fail
;
11018 arg3
= (int)(SWIG_As_int(obj2
));
11019 if (SWIG_arg_fail(3)) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->base_OnTerminate(arg2
,arg3
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 (arg1
)->Redirect();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)(arg1
)->IsRedirected();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11116 wxInputStream
*result
;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 wxPyInputStream
* _ptr
= NULL
;
11136 _ptr
= new wxPyInputStream(result
);
11138 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11146 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11149 wxInputStream
*result
;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11157 if (SWIG_arg_fail(1)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 wxPyInputStream
* _ptr
= NULL
;
11169 _ptr
= new wxPyInputStream(result
);
11171 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11179 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11182 wxOutputStream
*result
;
11183 PyObject
* obj0
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11190 if (SWIG_arg_fail(1)) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11205 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 (arg1
)->CloseOutput();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 Py_INCREF(Py_None
); resultobj
= Py_None
;
11230 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11241 if (SWIG_arg_fail(1)) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11297 if (SWIG_arg_fail(1)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11319 return Py_BuildValue((char *)"");
11321 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 int arg1
= (int) 0 ;
11324 int arg2
= (int) 0 ;
11325 int arg3
= (int) 0 ;
11326 wxProcessEvent
*result
;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 PyObject
* obj2
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11337 arg1
= (int)(SWIG_As_int(obj0
));
11338 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 arg2
= (int)(SWIG_As_int(obj1
));
11344 if (SWIG_arg_fail(2)) SWIG_fail
;
11349 arg3
= (int)(SWIG_As_int(obj2
));
11350 if (SWIG_arg_fail(3)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11367 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (int)(arg1
)->GetPid();
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_From_int((int)(result
));
11395 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (int)(arg1
)->GetExitCode();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_int((int)(result
));
11423 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "m_pid", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 arg2
= (int)(SWIG_As_int(obj1
));
11438 if (SWIG_arg_fail(2)) SWIG_fail
;
11440 if (arg1
) (arg1
)->m_pid
= arg2
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "self", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 result
= (int) ((arg1
)->m_pid
);
11464 resultobj
= SWIG_From_int((int)(result
));
11472 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self",(char *) "m_exitcode", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 arg2
= (int)(SWIG_As_int(obj1
));
11487 if (SWIG_arg_fail(2)) SWIG_fail
;
11489 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11491 Py_INCREF(Py_None
); resultobj
= Py_None
;
11498 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail
;
11510 result
= (int) ((arg1
)->m_exitcode
);
11513 resultobj
= SWIG_From_int((int)(result
));
11521 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11524 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11526 return Py_BuildValue((char *)"");
11528 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxString
*arg1
= 0 ;
11531 int arg2
= (int) wxEXEC_ASYNC
;
11532 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11534 bool temp1
= false ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "command",(char *) "flags",(char *) "process", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11544 arg1
= wxString_in_helper(obj0
);
11545 if (arg1
== NULL
) SWIG_fail
;
11550 arg2
= (int)(SWIG_As_int(obj1
));
11551 if (SWIG_arg_fail(2)) SWIG_fail
;
11555 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11556 if (SWIG_arg_fail(3)) SWIG_fail
;
11559 if (!wxPyCheckForApp()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_From_long((long)(result
));
11583 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11586 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11587 wxKillError
*arg3
= (wxKillError
*) 0 ;
11588 int arg4
= (int) wxKILL_NOCHILDREN
;
11590 wxKillError temp3
;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 PyObject
* obj2
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11603 arg1
= (long)(SWIG_As_long(obj0
));
11604 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11609 if (SWIG_arg_fail(2)) SWIG_fail
;
11614 arg4
= (int)(SWIG_As_int(obj2
));
11615 if (SWIG_arg_fail(4)) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= SWIG_From_int((int)(result
));
11630 o
= PyInt_FromLong((long) (*arg3
));
11631 resultobj
= t_output_helper(resultobj
, o
);
11639 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 int arg1
= (int) wxJOYSTICK1
;
11642 wxJoystick
*result
;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "joystick", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11651 arg1
= (int)(SWIG_As_int(obj0
));
11652 if (SWIG_arg_fail(1)) SWIG_fail
;
11656 if (!wxPyCheckForApp()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (wxJoystick
*)new wxJoystick(arg1
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11670 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11680 if (SWIG_arg_fail(1)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11706 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (arg1
)->GetPosition();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 wxPoint
* resultptr
;
11716 resultptr
= new wxPoint((wxPoint
&)(result
));
11717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11725 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11729 PyObject
* obj0
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (int)(arg1
)->GetZPosition();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int((int)(result
));
11753 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11764 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (int)(arg1
)->GetButtonState();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_From_int((int)(result
));
11781 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (int)(arg1
)->GetPOVPosition();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_int((int)(result
));
11809 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (int)(arg1
)->GetPOVCTSPosition();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_int((int)(result
));
11837 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11841 PyObject
* obj0
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11848 if (SWIG_arg_fail(1)) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (int)(arg1
)->GetRudderPosition();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_From_int((int)(result
));
11865 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (int)(arg1
)->GetUPosition();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_From_int((int)(result
));
11893 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (int)(arg1
)->GetVPosition();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_From_int((int)(result
));
11921 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (int)(arg1
)->GetMovementThreshold();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_From_int((int)(result
));
11949 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "threshold", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail
;
11963 arg2
= (int)(SWIG_As_int(obj1
));
11964 if (SWIG_arg_fail(2)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetMovementThreshold(arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (bool)(arg1
)->IsOk();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12008 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)(arg1
)->GetNumberJoysticks();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_From_int((int)(result
));
12036 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (int)(arg1
)->GetManufacturerId();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_From_int((int)(result
));
12064 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (int)(arg1
)->GetProductId();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_From_int((int)(result
));
12092 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (arg1
)->GetProductName();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12124 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)(arg1
)->GetXMin();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_From_int((int)(result
));
12152 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)(arg1
)->GetYMin();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int((int)(result
));
12180 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (int)(arg1
)->GetZMin();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_From_int((int)(result
));
12208 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12219 if (SWIG_arg_fail(1)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (int)(arg1
)->GetXMax();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_From_int((int)(result
));
12236 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12247 if (SWIG_arg_fail(1)) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (int)(arg1
)->GetYMax();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_From_int((int)(result
));
12264 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12275 if (SWIG_arg_fail(1)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)(arg1
)->GetZMax();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_int((int)(result
));
12292 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)(arg1
)->GetNumberButtons();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_int((int)(result
));
12320 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)(arg1
)->GetNumberAxes();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_From_int((int)(result
));
12348 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (int)(arg1
)->GetMaxButtons();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int((int)(result
));
12376 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (int)(arg1
)->GetMaxAxes();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_From_int((int)(result
));
12404 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12415 if (SWIG_arg_fail(1)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (int)(arg1
)->GetPollingMin();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_From_int((int)(result
));
12432 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12443 if (SWIG_arg_fail(1)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (int)(arg1
)->GetPollingMax();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_From_int((int)(result
));
12460 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (int)(arg1
)->GetRudderMin();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_From_int((int)(result
));
12488 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (int)(arg1
)->GetRudderMax();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_From_int((int)(result
));
12516 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (int)(arg1
)->GetUMin();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_int((int)(result
));
12544 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (int)(arg1
)->GetUMax();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_From_int((int)(result
));
12572 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (int)(arg1
)->GetVMin();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= SWIG_From_int((int)(result
));
12600 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (int)(arg1
)->GetVMax();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_From_int((int)(result
));
12628 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (bool)(arg1
)->HasRudder();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12656 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12667 if (SWIG_arg_fail(1)) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (bool)(arg1
)->HasZ();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12684 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12695 if (SWIG_arg_fail(1)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (bool)(arg1
)->HasU();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12712 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (bool)(arg1
)->HasV();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12740 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (bool)(arg1
)->HasPOV();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12768 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (bool)(arg1
)->HasPOV4Dir();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12796 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (bool)(arg1
)->HasPOVCTS();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12824 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12827 wxWindow
*arg2
= (wxWindow
*) 0 ;
12828 int arg3
= (int) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 PyObject
* obj2
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12839 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(2)) SWIG_fail
;
12844 arg3
= (int)(SWIG_As_int(obj2
));
12845 if (SWIG_arg_fail(3)) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12875 if (SWIG_arg_fail(1)) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->ReleaseCapture();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12892 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12895 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12897 return Py_BuildValue((char *)"");
12899 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12902 int arg2
= (int) 0 ;
12903 int arg3
= (int) wxJOYSTICK1
;
12904 int arg4
= (int) 0 ;
12905 wxJoystickEvent
*result
;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 PyObject
* obj3
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12917 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12923 arg2
= (int)(SWIG_As_int(obj1
));
12924 if (SWIG_arg_fail(2)) SWIG_fail
;
12929 arg3
= (int)(SWIG_As_int(obj2
));
12930 if (SWIG_arg_fail(3)) SWIG_fail
;
12935 arg4
= (int)(SWIG_As_int(obj3
));
12936 if (SWIG_arg_fail(4)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12953 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 wxPoint
* resultptr
;
12974 resultptr
= new wxPoint((wxPoint
&)(result
));
12975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12983 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_From_int((int)(result
));
13011 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13022 if (SWIG_arg_fail(1)) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_From_int((int)(result
));
13039 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13050 if (SWIG_arg_fail(1)) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_From_int((int)(result
));
13067 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13078 if (SWIG_arg_fail(1)) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= SWIG_From_int((int)(result
));
13095 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self",(char *) "stick", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13107 if (SWIG_arg_fail(1)) SWIG_fail
;
13109 arg2
= (int)(SWIG_As_int(obj1
));
13110 if (SWIG_arg_fail(2)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 (arg1
)->SetJoystick(arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "state", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail
;
13140 arg2
= (int)(SWIG_As_int(obj1
));
13141 if (SWIG_arg_fail(2)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->SetButtonState(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "change", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13169 if (SWIG_arg_fail(1)) SWIG_fail
;
13171 arg2
= (int)(SWIG_As_int(obj1
));
13172 if (SWIG_arg_fail(2)) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->SetButtonChange(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13191 wxPoint
*arg2
= 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "pos", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13201 if (SWIG_arg_fail(1)) SWIG_fail
;
13204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self",(char *) "zPos", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13232 if (SWIG_arg_fail(1)) SWIG_fail
;
13234 arg2
= (int)(SWIG_As_int(obj1
));
13235 if (SWIG_arg_fail(2)) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 (arg1
)->SetZPosition(arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13251 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13262 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13279 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13307 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13338 int arg2
= (int) wxJOY_BUTTON_ANY
;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "but", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13348 if (SWIG_arg_fail(1)) SWIG_fail
;
13351 arg2
= (int)(SWIG_As_int(obj1
));
13352 if (SWIG_arg_fail(2)) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13371 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13374 int arg2
= (int) wxJOY_BUTTON_ANY
;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self",(char *) "but", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13384 if (SWIG_arg_fail(1)) SWIG_fail
;
13387 arg2
= (int)(SWIG_As_int(obj1
));
13388 if (SWIG_arg_fail(2)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13407 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13410 int arg2
= (int) wxJOY_BUTTON_ANY
;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "but", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13423 arg2
= (int)(SWIG_As_int(obj1
));
13424 if (SWIG_arg_fail(2)) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13443 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13446 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13448 return Py_BuildValue((char *)"");
13450 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13453 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13455 bool temp1
= false ;
13456 PyObject
* obj0
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "fileName", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13464 arg1
= wxString_in_helper(obj0
);
13465 if (arg1
== NULL
) SWIG_fail
;
13470 if (!wxPyCheckForApp()) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13492 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 PyObject
*arg1
= (PyObject
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "data", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13504 if (!wxPyCheckForApp()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (wxSound
*)new_wxSound(arg1
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13518 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxSound
*arg1
= (wxSound
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13528 if (SWIG_arg_fail(1)) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxSound
*arg1
= (wxSound
*) 0 ;
13546 wxString
*arg2
= 0 ;
13548 bool temp2
= false ;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self",(char *) "fileName", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13557 if (SWIG_arg_fail(1)) SWIG_fail
;
13559 arg2
= wxString_in_helper(obj1
);
13560 if (arg2
== NULL
) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxSound
*arg1
= (wxSound
*) 0 ;
13590 PyObject
*arg2
= (PyObject
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "data", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13600 if (SWIG_arg_fail(1)) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxSound
*arg1
= (wxSound
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13629 if (SWIG_arg_fail(1)) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (bool)(arg1
)->IsOk();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13646 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxSound
*arg1
= (wxSound
*) 0 ;
13649 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "flags", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13659 if (SWIG_arg_fail(1)) SWIG_fail
;
13662 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13663 if (SWIG_arg_fail(2)) SWIG_fail
;
13667 if (!wxPyCheckForApp()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13683 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxString
*arg1
= 0 ;
13686 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13688 bool temp1
= false ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "filename",(char *) "flags", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13697 arg1
= wxString_in_helper(obj0
);
13698 if (arg1
== NULL
) SWIG_fail
;
13703 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13704 if (SWIG_arg_fail(2)) SWIG_fail
;
13708 if (!wxPyCheckForApp()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13732 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 char *kwnames
[] = {
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13740 if (!wxPyCheckForApp()) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 Py_INCREF(Py_None
); resultobj
= Py_None
;
13754 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13757 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13759 return Py_BuildValue((char *)"");
13761 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxString
*arg1
= 0 ;
13764 wxString
*arg2
= 0 ;
13765 wxString
*arg3
= 0 ;
13766 wxString
*arg4
= 0 ;
13767 wxFileTypeInfo
*result
;
13768 bool temp1
= false ;
13769 bool temp2
= false ;
13770 bool temp3
= false ;
13771 bool temp4
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13782 arg1
= wxString_in_helper(obj0
);
13783 if (arg1
== NULL
) SWIG_fail
;
13787 arg2
= wxString_in_helper(obj1
);
13788 if (arg2
== NULL
) SWIG_fail
;
13792 arg3
= wxString_in_helper(obj2
);
13793 if (arg3
== NULL
) SWIG_fail
;
13797 arg4
= wxString_in_helper(obj3
);
13798 if (arg4
== NULL
) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13847 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxArrayString
*arg1
= 0 ;
13850 wxFileTypeInfo
*result
;
13851 bool temp1
= false ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "sArray", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13859 if (! PySequence_Check(obj0
)) {
13860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13863 arg1
= new wxArrayString
;
13865 int i
, len
=PySequence_Length(obj0
);
13866 for (i
=0; i
<len
; i
++) {
13867 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13868 wxString
* s
= wxString_in_helper(item
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13884 if (temp1
) delete arg1
;
13889 if (temp1
) delete arg1
;
13895 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxFileTypeInfo
*result
;
13898 char *kwnames
[] = {
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13917 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13945 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13948 wxString
*arg2
= 0 ;
13949 int arg3
= (int) 0 ;
13950 bool temp2
= false ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 PyObject
* obj2
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13960 if (SWIG_arg_fail(1)) SWIG_fail
;
13962 arg2
= wxString_in_helper(obj1
);
13963 if (arg2
== NULL
) SWIG_fail
;
13968 arg3
= (int)(SWIG_As_int(obj2
));
13969 if (SWIG_arg_fail(3)) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13994 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13997 wxString
*arg2
= 0 ;
13998 bool temp2
= false ;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "shortDesc", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14007 if (SWIG_arg_fail(1)) SWIG_fail
;
14009 arg2
= wxString_in_helper(obj1
);
14010 if (arg2
== NULL
) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14051 result
= (wxString
*) &_result_ref
;
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14070 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14086 result
= (wxString
*) &_result_ref
;
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14096 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14105 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14121 result
= (wxString
*) &_result_ref
;
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14140 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14156 result
= (wxString
*) &_result_ref
;
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14166 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14175 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14191 result
= (wxString
*) &_result_ref
;
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14201 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14210 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14213 wxArrayString
*result
;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14226 result
= (wxArrayString
*) &_result_ref
;
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= wxArrayString2PyList_helper(*result
);
14241 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= SWIG_From_int((int)(result
));
14269 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14285 result
= (wxString
*) &_result_ref
;
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14295 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14304 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_From_int((int)(result
));
14332 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14335 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14337 return Py_BuildValue((char *)"");
14339 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxFileTypeInfo
*arg1
= 0 ;
14342 wxFileType
*result
;
14343 PyObject
* obj0
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "ftInfo", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14351 if (SWIG_arg_fail(1)) SWIG_fail
;
14352 if (arg1
== NULL
) {
14353 SWIG_null_ref("wxFileTypeInfo");
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14371 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxFileType
*arg1
= (wxFileType
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14381 if (SWIG_arg_fail(1)) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxFileType
*arg1
= (wxFileType
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14407 if (SWIG_arg_fail(1)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= result
;
14422 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxFileType
*arg1
= (wxFileType
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14433 if (SWIG_arg_fail(1)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
;
14448 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxFileType
*arg1
= (wxFileType
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= result
;
14474 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxFileType
*arg1
= (wxFileType
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14500 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxFileType
*arg1
= (wxFileType
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14511 if (SWIG_arg_fail(1)) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
;
14526 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxFileType
*arg1
= (wxFileType
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
;
14552 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxFileType
*arg1
= (wxFileType
*) 0 ;
14555 wxString
*arg2
= 0 ;
14556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14559 bool temp2
= false ;
14560 bool temp3
= false ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14570 if (SWIG_arg_fail(1)) SWIG_fail
;
14572 arg2
= wxString_in_helper(obj1
);
14573 if (arg2
== NULL
) SWIG_fail
;
14578 arg3
= wxString_in_helper(obj2
);
14579 if (arg3
== NULL
) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
;
14613 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxFileType
*arg1
= (wxFileType
*) 0 ;
14616 wxString
*arg2
= 0 ;
14617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14620 bool temp2
= false ;
14621 bool temp3
= false ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 PyObject
* obj2
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14631 if (SWIG_arg_fail(1)) SWIG_fail
;
14633 arg2
= wxString_in_helper(obj1
);
14634 if (arg2
== NULL
) SWIG_fail
;
14639 arg3
= wxString_in_helper(obj2
);
14640 if (arg3
== NULL
) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
;
14674 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxFileType
*arg1
= (wxFileType
*) 0 ;
14677 wxString
*arg2
= 0 ;
14678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14681 bool temp2
= false ;
14682 bool temp3
= false ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 PyObject
* obj2
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14692 if (SWIG_arg_fail(1)) SWIG_fail
;
14694 arg2
= wxString_in_helper(obj1
);
14695 if (arg2
== NULL
) SWIG_fail
;
14700 arg3
= wxString_in_helper(obj2
);
14701 if (arg3
== NULL
) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
;
14735 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxFileType
*arg1
= (wxFileType
*) 0 ;
14738 wxString
*arg2
= 0 ;
14739 wxString
*arg3
= 0 ;
14740 bool arg4
= (bool) true ;
14742 bool temp2
= false ;
14743 bool temp3
= false ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 PyObject
* obj2
= 0 ;
14747 PyObject
* obj3
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14754 if (SWIG_arg_fail(1)) SWIG_fail
;
14756 arg2
= wxString_in_helper(obj1
);
14757 if (arg2
== NULL
) SWIG_fail
;
14761 arg3
= wxString_in_helper(obj2
);
14762 if (arg3
== NULL
) SWIG_fail
;
14767 arg4
= (bool)(SWIG_As_bool(obj3
));
14768 if (SWIG_arg_fail(4)) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxFileType
*arg1
= (wxFileType
*) 0 ;
14806 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14807 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14808 int arg3
= (int) 0 ;
14810 bool temp2
= false ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 PyObject
* obj2
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "cmd",(char *) "index", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14820 if (SWIG_arg_fail(1)) SWIG_fail
;
14823 arg2
= wxString_in_helper(obj1
);
14824 if (arg2
== NULL
) SWIG_fail
;
14830 arg3
= (int)(SWIG_As_int(obj2
));
14831 if (SWIG_arg_fail(3)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14858 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxFileType
*arg1
= (wxFileType
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14869 if (SWIG_arg_fail(1)) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (bool)(arg1
)->Unassociate();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxString
*arg1
= 0 ;
14889 wxString
*arg2
= 0 ;
14890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14893 bool temp1
= false ;
14894 bool temp2
= false ;
14895 bool temp3
= false ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 PyObject
* obj2
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14905 arg1
= wxString_in_helper(obj0
);
14906 if (arg1
== NULL
) SWIG_fail
;
14910 arg2
= wxString_in_helper(obj1
);
14911 if (arg2
== NULL
) SWIG_fail
;
14916 arg3
= wxString_in_helper(obj2
);
14917 if (arg3
== NULL
) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14965 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14968 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14970 return Py_BuildValue((char *)"");
14972 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14973 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14978 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14981 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14986 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxString
*arg1
= 0 ;
14989 wxString
*arg2
= 0 ;
14991 bool temp1
= false ;
14992 bool temp2
= false ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "mimeType",(char *) "wildcard", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15001 arg1
= wxString_in_helper(obj0
);
15002 if (arg1
== NULL
) SWIG_fail
;
15006 arg2
= wxString_in_helper(obj1
);
15007 if (arg2
== NULL
) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxMimeTypesManager
*result
;
15045 char *kwnames
[] = {
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15064 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15067 int arg2
= (int) wxMAILCAP_ALL
;
15068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15070 bool temp3
= false ;
15071 PyObject
* obj0
= 0 ;
15072 PyObject
* obj1
= 0 ;
15073 PyObject
* obj2
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15083 arg2
= (int)(SWIG_As_int(obj1
));
15084 if (SWIG_arg_fail(2)) SWIG_fail
;
15089 arg3
= wxString_in_helper(obj2
);
15090 if (arg3
== NULL
) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15119 PyObject
* obj0
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15126 if (SWIG_arg_fail(1)) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->ClearData();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15144 wxString
*arg2
= 0 ;
15145 wxFileType
*result
;
15146 bool temp2
= false ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "ext", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail
;
15157 arg2
= wxString_in_helper(obj1
);
15158 if (arg2
== NULL
) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15183 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15186 wxString
*arg2
= 0 ;
15187 wxFileType
*result
;
15188 bool temp2
= false ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self",(char *) "mimeType", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail
;
15199 arg2
= wxString_in_helper(obj1
);
15200 if (arg2
== NULL
) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15225 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15228 wxString
*arg2
= 0 ;
15229 bool arg3
= (bool) false ;
15231 bool temp2
= false ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 arg2
= wxString_in_helper(obj1
);
15244 if (arg2
== NULL
) SWIG_fail
;
15249 arg3
= (bool)(SWIG_As_bool(obj2
));
15250 if (SWIG_arg_fail(3)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15277 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15280 wxString
*arg2
= 0 ;
15282 bool temp2
= false ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self",(char *) "filename", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15291 if (SWIG_arg_fail(1)) SWIG_fail
;
15293 arg2
= wxString_in_helper(obj1
);
15294 if (arg2
== NULL
) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15321 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
;
15347 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15350 wxFileTypeInfo
*arg2
= 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "ft", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15359 if (SWIG_arg_fail(1)) SWIG_fail
;
15361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(2)) SWIG_fail
;
15363 if (arg2
== NULL
) {
15364 SWIG_null_ref("wxFileTypeInfo");
15366 if (SWIG_arg_fail(2)) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15385 wxFileTypeInfo
*arg2
= 0 ;
15386 wxFileType
*result
;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "ftInfo", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(2)) SWIG_fail
;
15399 if (arg2
== NULL
) {
15400 SWIG_null_ref("wxFileTypeInfo");
15402 if (SWIG_arg_fail(2)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15418 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15421 wxFileType
*arg2
= (wxFileType
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "ft", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15433 if (SWIG_arg_fail(2)) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (bool)(arg1
)->Unassociate(arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15450 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15478 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15480 return Py_BuildValue((char *)"");
15482 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15483 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15488 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15493 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15495 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15502 static int _wrap_ART_MENU_set(PyObject
*) {
15503 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15508 static PyObject
*_wrap_ART_MENU_get(void) {
15513 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15515 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15522 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15523 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15528 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15533 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15535 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15542 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15543 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15548 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15553 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15555 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15562 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15563 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15568 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15573 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15575 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15582 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15583 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15588 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15593 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15595 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15602 static int _wrap_ART_BUTTON_set(PyObject
*) {
15603 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15608 static PyObject
*_wrap_ART_BUTTON_get(void) {
15613 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15615 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15622 static int _wrap_ART_OTHER_set(PyObject
*) {
15623 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15628 static PyObject
*_wrap_ART_OTHER_get(void) {
15633 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15635 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15642 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15643 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15648 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15653 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15655 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15662 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15663 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15668 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15673 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15675 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15682 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15683 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15688 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15693 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15695 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15702 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15703 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15708 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15713 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15715 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15722 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15723 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15728 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15733 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15735 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15742 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15743 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15748 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15753 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15755 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15762 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15763 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15768 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15773 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15775 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15782 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15783 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15788 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15793 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15795 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15802 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15803 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15808 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15813 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15815 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15822 static int _wrap_ART_GO_UP_set(PyObject
*) {
15823 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15828 static PyObject
*_wrap_ART_GO_UP_get(void) {
15833 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15835 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15842 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15843 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15848 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15853 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15855 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15862 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15863 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15868 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15873 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15875 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15882 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15883 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15888 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15893 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15895 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15902 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15903 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15908 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15913 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15915 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15922 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15923 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15928 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15933 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15935 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15942 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15943 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15948 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15953 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15955 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15962 static int _wrap_ART_PRINT_set(PyObject
*) {
15963 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15968 static PyObject
*_wrap_ART_PRINT_get(void) {
15973 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15975 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15982 static int _wrap_ART_HELP_set(PyObject
*) {
15983 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15988 static PyObject
*_wrap_ART_HELP_get(void) {
15993 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15995 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16002 static int _wrap_ART_TIP_set(PyObject
*) {
16003 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16008 static PyObject
*_wrap_ART_TIP_get(void) {
16013 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16022 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16023 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16028 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16033 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16035 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16042 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16043 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16048 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16053 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16055 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16062 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16063 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16068 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16073 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16075 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16082 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16083 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16088 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16093 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16095 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16102 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16103 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16108 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16113 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16115 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16122 static int _wrap_ART_CDROM_set(PyObject
*) {
16123 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16128 static PyObject
*_wrap_ART_CDROM_get(void) {
16133 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16135 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16142 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16143 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16148 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16153 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16155 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16162 static int _wrap_ART_FOLDER_set(PyObject
*) {
16163 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16168 static PyObject
*_wrap_ART_FOLDER_get(void) {
16173 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16175 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16182 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16183 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16188 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16193 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16195 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16202 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16203 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16208 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16213 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16215 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16222 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16223 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16228 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16233 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16235 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16242 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16243 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16248 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16253 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16255 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16262 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16263 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16268 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16273 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16275 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16282 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16283 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16288 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16293 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16295 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16302 static int _wrap_ART_ERROR_set(PyObject
*) {
16303 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16308 static PyObject
*_wrap_ART_ERROR_get(void) {
16313 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16315 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16322 static int _wrap_ART_QUESTION_set(PyObject
*) {
16323 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16328 static PyObject
*_wrap_ART_QUESTION_get(void) {
16333 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16335 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16342 static int _wrap_ART_WARNING_set(PyObject
*) {
16343 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16348 static PyObject
*_wrap_ART_WARNING_get(void) {
16353 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16355 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16362 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16363 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16368 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16373 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16375 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16382 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16383 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16388 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16393 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16395 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16402 static int _wrap_ART_COPY_set(PyObject
*) {
16403 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16408 static PyObject
*_wrap_ART_COPY_get(void) {
16413 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16415 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16422 static int _wrap_ART_CUT_set(PyObject
*) {
16423 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16428 static PyObject
*_wrap_ART_CUT_get(void) {
16433 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16435 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16442 static int _wrap_ART_PASTE_set(PyObject
*) {
16443 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16448 static PyObject
*_wrap_ART_PASTE_get(void) {
16453 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16455 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16462 static int _wrap_ART_DELETE_set(PyObject
*) {
16463 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16468 static PyObject
*_wrap_ART_DELETE_get(void) {
16473 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16475 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16482 static int _wrap_ART_UNDO_set(PyObject
*) {
16483 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16488 static PyObject
*_wrap_ART_UNDO_get(void) {
16493 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16495 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16502 static int _wrap_ART_REDO_set(PyObject
*) {
16503 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16508 static PyObject
*_wrap_ART_REDO_get(void) {
16513 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16515 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16522 static int _wrap_ART_QUIT_set(PyObject
*) {
16523 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16528 static PyObject
*_wrap_ART_QUIT_get(void) {
16533 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16535 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16542 static int _wrap_ART_FIND_set(PyObject
*) {
16543 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16548 static PyObject
*_wrap_ART_FIND_get(void) {
16553 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16555 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16562 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16563 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16568 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16573 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16575 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16582 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxPyArtProvider
*result
;
16585 char *kwnames
[] = {
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16591 if (!wxPyCheckForApp()) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16605 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16608 PyObject
*arg2
= (PyObject
*) 0 ;
16609 PyObject
*arg3
= (PyObject
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "self",(char *) "_class", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "provider", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(1)) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 wxPyArtProvider::PushProvider(arg1
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16664 char *kwnames
[] = {
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (bool)wxPyArtProvider::PopProvider();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16685 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "provider", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16696 if (SWIG_arg_fail(1)) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16713 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxString
*arg1
= 0 ;
16716 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16718 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16719 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16721 bool temp1
= false ;
16722 bool temp2
= false ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "id",(char *) "client",(char *) "size", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16733 arg1
= wxString_in_helper(obj0
);
16734 if (arg1
== NULL
) SWIG_fail
;
16739 arg2
= wxString_in_helper(obj1
);
16740 if (arg2
== NULL
) SWIG_fail
;
16747 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16751 if (!wxPyCheckForApp()) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 wxBitmap
* resultptr
;
16760 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16785 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxString
*arg1
= 0 ;
16788 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16789 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16790 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16791 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16793 bool temp1
= false ;
16794 bool temp2
= false ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 PyObject
* obj2
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "id",(char *) "client",(char *) "size", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16805 arg1
= wxString_in_helper(obj0
);
16806 if (arg1
== NULL
) SWIG_fail
;
16811 arg2
= wxString_in_helper(obj1
);
16812 if (arg2
== NULL
) SWIG_fail
;
16819 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16823 if (!wxPyCheckForApp()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 wxIcon
* resultptr
;
16832 resultptr
= new wxIcon((wxIcon
&)(result
));
16833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16857 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxString
*arg1
= 0 ;
16860 bool arg2
= (bool) false ;
16862 bool temp1
= false ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "client",(char *) "platform_dependent", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16871 arg1
= wxString_in_helper(obj0
);
16872 if (arg1
== NULL
) SWIG_fail
;
16877 arg2
= (bool)(SWIG_As_bool(obj1
));
16878 if (SWIG_arg_fail(2)) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 wxSize
* resultptr
;
16890 resultptr
= new wxSize((wxSize
&)(result
));
16891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16907 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 wxPyArtProvider_Destroy(arg1
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16935 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16937 return Py_BuildValue((char *)"");
16939 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 Py_INCREF(Py_None
); resultobj
= Py_None
;
16964 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16967 wxConfigBase
*result
;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "config", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16975 if (SWIG_arg_fail(1)) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16990 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 bool arg1
= (bool) true ;
16993 wxConfigBase
*result
;
16994 PyObject
* obj0
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "createOnDemand", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17002 arg1
= (bool)(SWIG_As_bool(obj0
));
17003 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17020 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxConfigBase
*result
;
17023 char *kwnames
[] = {
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxConfigBase
*)wxConfigBase::Create();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17042 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 char *kwnames
[] = {
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 wxConfigBase::DontCreateOnDemand();
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17063 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17066 wxString
*arg2
= 0 ;
17067 bool temp2
= false ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "path", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail
;
17078 arg2
= wxString_in_helper(obj1
);
17079 if (arg2
== NULL
) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->SetPath((wxString
const &)*arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17115 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17120 result
= (wxString
*) &_result_ref
;
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17139 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17150 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
;
17165 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self",(char *) "index", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail
;
17180 arg2
= (long)(SWIG_As_long(obj1
));
17181 if (SWIG_arg_fail(2)) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
;
17197 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
;
17223 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "index", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 arg2
= (long)(SWIG_As_long(obj1
));
17239 if (SWIG_arg_fail(2)) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= result
;
17255 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17258 bool arg2
= (bool) false ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self",(char *) "recursive", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17268 if (SWIG_arg_fail(1)) SWIG_fail
;
17271 arg2
= (bool)(SWIG_As_bool(obj1
));
17272 if (SWIG_arg_fail(2)) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17291 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17294 bool arg2
= (bool) false ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "recursive", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail
;
17307 arg2
= (bool)(SWIG_As_bool(obj1
));
17308 if (SWIG_arg_fail(2)) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17327 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17330 wxString
*arg2
= 0 ;
17332 bool temp2
= false ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self",(char *) "name", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17341 if (SWIG_arg_fail(1)) SWIG_fail
;
17343 arg2
= wxString_in_helper(obj1
);
17344 if (arg2
== NULL
) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17371 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17374 wxString
*arg2
= 0 ;
17376 bool temp2
= false ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "name", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17387 arg2
= wxString_in_helper(obj1
);
17388 if (arg2
== NULL
) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17415 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17418 wxString
*arg2
= 0 ;
17420 bool temp2
= false ;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "name", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17429 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 arg2
= wxString_in_helper(obj1
);
17432 if (arg2
== NULL
) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17459 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17462 wxString
*arg2
= 0 ;
17463 wxConfigBase::EntryType result
;
17464 bool temp2
= false ;
17465 PyObject
* obj0
= 0 ;
17466 PyObject
* obj1
= 0 ;
17467 char *kwnames
[] = {
17468 (char *) "self",(char *) "name", NULL
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail
;
17475 arg2
= wxString_in_helper(obj1
);
17476 if (arg2
== NULL
) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_From_int((result
));
17501 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17504 wxString
*arg2
= 0 ;
17505 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17506 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17508 bool temp2
= false ;
17509 bool temp3
= false ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17521 arg2
= wxString_in_helper(obj1
);
17522 if (arg2
== NULL
) SWIG_fail
;
17527 arg3
= wxString_in_helper(obj2
);
17528 if (arg3
== NULL
) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17568 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17571 wxString
*arg2
= 0 ;
17572 long arg3
= (long) 0 ;
17574 bool temp2
= false ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 PyObject
* obj2
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17584 if (SWIG_arg_fail(1)) SWIG_fail
;
17586 arg2
= wxString_in_helper(obj1
);
17587 if (arg2
== NULL
) SWIG_fail
;
17592 arg3
= (long)(SWIG_As_long(obj2
));
17593 if (SWIG_arg_fail(3)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_From_long((long)(result
));
17620 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17623 wxString
*arg2
= 0 ;
17624 double arg3
= (double) 0.0 ;
17626 bool temp2
= false ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 PyObject
* obj2
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17636 if (SWIG_arg_fail(1)) SWIG_fail
;
17638 arg2
= wxString_in_helper(obj1
);
17639 if (arg2
== NULL
) SWIG_fail
;
17644 arg3
= (double)(SWIG_As_double(obj2
));
17645 if (SWIG_arg_fail(3)) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_From_double((double)(result
));
17672 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17675 wxString
*arg2
= 0 ;
17676 bool arg3
= (bool) false ;
17678 bool temp2
= false ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 arg2
= wxString_in_helper(obj1
);
17691 if (arg2
== NULL
) SWIG_fail
;
17696 arg3
= (bool)(SWIG_As_bool(obj2
));
17697 if (SWIG_arg_fail(3)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17727 wxString
*arg2
= 0 ;
17728 wxString
*arg3
= 0 ;
17730 bool temp2
= false ;
17731 bool temp3
= false ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "key",(char *) "value", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17741 if (SWIG_arg_fail(1)) SWIG_fail
;
17743 arg2
= wxString_in_helper(obj1
);
17744 if (arg2
== NULL
) SWIG_fail
;
17748 arg3
= wxString_in_helper(obj2
);
17749 if (arg3
== NULL
) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17784 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17787 wxString
*arg2
= 0 ;
17790 bool temp2
= false ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "key",(char *) "value", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 arg2
= wxString_in_helper(obj1
);
17803 if (arg2
== NULL
) SWIG_fail
;
17807 arg3
= (long)(SWIG_As_long(obj2
));
17808 if (SWIG_arg_fail(3)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17834 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17837 wxString
*arg2
= 0 ;
17840 bool temp2
= false ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "key",(char *) "value", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17850 if (SWIG_arg_fail(1)) SWIG_fail
;
17852 arg2
= wxString_in_helper(obj1
);
17853 if (arg2
== NULL
) SWIG_fail
;
17857 arg3
= (double)(SWIG_As_double(obj2
));
17858 if (SWIG_arg_fail(3)) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17884 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17887 wxString
*arg2
= 0 ;
17890 bool temp2
= false ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 PyObject
* obj2
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "key",(char *) "value", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17900 if (SWIG_arg_fail(1)) SWIG_fail
;
17902 arg2
= wxString_in_helper(obj1
);
17903 if (arg2
== NULL
) SWIG_fail
;
17907 arg3
= (bool)(SWIG_As_bool(obj2
));
17908 if (SWIG_arg_fail(3)) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17934 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17937 bool arg2
= (bool) false ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "currentOnly", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 arg2
= (bool)(SWIG_As_bool(obj1
));
17951 if (SWIG_arg_fail(2)) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (bool)(arg1
)->Flush(arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17970 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17973 wxString
*arg2
= 0 ;
17974 wxString
*arg3
= 0 ;
17976 bool temp2
= false ;
17977 bool temp3
= false ;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 PyObject
* obj2
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(1)) SWIG_fail
;
17989 arg2
= wxString_in_helper(obj1
);
17990 if (arg2
== NULL
) SWIG_fail
;
17994 arg3
= wxString_in_helper(obj2
);
17995 if (arg3
== NULL
) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18030 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18033 wxString
*arg2
= 0 ;
18034 wxString
*arg3
= 0 ;
18036 bool temp2
= false ;
18037 bool temp3
= false ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 PyObject
* obj2
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18047 if (SWIG_arg_fail(1)) SWIG_fail
;
18049 arg2
= wxString_in_helper(obj1
);
18050 if (arg2
== NULL
) SWIG_fail
;
18054 arg3
= wxString_in_helper(obj2
);
18055 if (arg3
== NULL
) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18090 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18093 wxString
*arg2
= 0 ;
18094 bool arg3
= (bool) true ;
18096 bool temp2
= false ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 PyObject
* obj2
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18106 if (SWIG_arg_fail(1)) SWIG_fail
;
18108 arg2
= wxString_in_helper(obj1
);
18109 if (arg2
== NULL
) SWIG_fail
;
18114 arg3
= (bool)(SWIG_As_bool(obj2
));
18115 if (SWIG_arg_fail(3)) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18142 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18145 wxString
*arg2
= 0 ;
18147 bool temp2
= false ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "key", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 arg2
= wxString_in_helper(obj1
);
18159 if (arg2
== NULL
) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18186 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (bool)(arg1
)->DeleteAll();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18214 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18217 bool arg2
= (bool) true ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "doIt", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 arg2
= (bool)(SWIG_As_bool(obj1
));
18230 if (SWIG_arg_fail(2)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetExpandEnvVars(arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18275 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18278 bool arg2
= (bool) true ;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "doIt", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18287 if (SWIG_arg_fail(1)) SWIG_fail
;
18290 arg2
= (bool)(SWIG_As_bool(obj1
));
18291 if (SWIG_arg_fail(2)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetRecordDefaults(arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18319 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18336 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18339 wxString
*arg2
= 0 ;
18341 bool temp2
= false ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "str", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 arg2
= wxString_in_helper(obj1
);
18353 if (arg2
== NULL
) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18384 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18416 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18427 if (SWIG_arg_fail(1)) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18448 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18451 wxString
*arg2
= 0 ;
18452 bool temp2
= false ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "appName", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 arg2
= wxString_in_helper(obj1
);
18464 if (arg2
== NULL
) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetAppName((wxString
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18492 wxString
*arg2
= 0 ;
18493 bool temp2
= false ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "vendorName", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(1)) SWIG_fail
;
18504 arg2
= wxString_in_helper(obj1
);
18505 if (arg2
== NULL
) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 Py_INCREF(Py_None
); resultobj
= Py_None
;
18530 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "style", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 arg2
= (long)(SWIG_As_long(obj1
));
18545 if (SWIG_arg_fail(2)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 (arg1
)->SetStyle(arg2
);
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 Py_INCREF(Py_None
); resultobj
= Py_None
;
18561 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18572 if (SWIG_arg_fail(1)) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_From_long((long)(result
));
18589 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18592 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18594 return Py_BuildValue((char *)"");
18596 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18599 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18600 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18601 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18602 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18603 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18606 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18608 bool temp1
= false ;
18609 bool temp2
= false ;
18610 bool temp3
= false ;
18611 bool temp4
= false ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 PyObject
* obj3
= 0 ;
18616 PyObject
* obj4
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18624 arg1
= wxString_in_helper(obj0
);
18625 if (arg1
== NULL
) SWIG_fail
;
18631 arg2
= wxString_in_helper(obj1
);
18632 if (arg2
== NULL
) SWIG_fail
;
18638 arg3
= wxString_in_helper(obj2
);
18639 if (arg3
== NULL
) SWIG_fail
;
18645 arg4
= wxString_in_helper(obj3
);
18646 if (arg4
== NULL
) SWIG_fail
;
18652 arg5
= (long)(SWIG_As_long(obj4
));
18653 if (SWIG_arg_fail(5)) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18702 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxConfig
*arg1
= (wxConfig
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 Py_INCREF(Py_None
); resultobj
= Py_None
;
18727 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18730 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18732 return Py_BuildValue((char *)"");
18734 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18737 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18738 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18739 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18742 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18743 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18744 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18745 wxFileConfig
*result
;
18746 bool temp1
= false ;
18747 bool temp2
= false ;
18748 bool temp3
= false ;
18749 bool temp4
= false ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 PyObject
* obj2
= 0 ;
18753 PyObject
* obj3
= 0 ;
18754 PyObject
* obj4
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18762 arg1
= wxString_in_helper(obj0
);
18763 if (arg1
== NULL
) SWIG_fail
;
18769 arg2
= wxString_in_helper(obj1
);
18770 if (arg2
== NULL
) SWIG_fail
;
18776 arg3
= wxString_in_helper(obj2
);
18777 if (arg3
== NULL
) SWIG_fail
;
18783 arg4
= wxString_in_helper(obj3
);
18784 if (arg4
== NULL
) SWIG_fail
;
18790 arg5
= (long)(SWIG_As_long(obj4
));
18791 if (SWIG_arg_fail(5)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18840 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 Py_INCREF(Py_None
); resultobj
= Py_None
;
18865 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18868 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18870 return Py_BuildValue((char *)"");
18872 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18875 wxString
*arg2
= 0 ;
18876 wxConfigPathChanger
*result
;
18877 bool temp2
= false ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "config",(char *) "entry", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18886 if (SWIG_arg_fail(1)) SWIG_fail
;
18888 arg2
= wxString_in_helper(obj1
);
18889 if (arg2
== NULL
) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18914 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 Py_INCREF(Py_None
); resultobj
= Py_None
;
18939 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18950 if (SWIG_arg_fail(1)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18955 result
= (wxString
*) &_result_ref
;
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18965 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18974 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18977 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18979 return Py_BuildValue((char *)"");
18981 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxString
*arg1
= 0 ;
18985 bool temp1
= false ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "sz", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18993 arg1
= wxString_in_helper(obj0
);
18994 if (arg1
== NULL
) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19025 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19026 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19031 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19036 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19038 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19045 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19046 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19051 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19056 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19058 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19065 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxDateTime::Country arg1
;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "country", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19075 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19076 if (SWIG_arg_fail(1)) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 Py_INCREF(Py_None
); resultobj
= Py_None
;
19092 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxDateTime::Country result
;
19095 char *kwnames
[] = {
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_From_int((result
));
19114 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "country", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19126 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19127 if (SWIG_arg_fail(1)) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19146 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19150 PyObject
* obj0
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "cal", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19158 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_From_int((int)(result
));
19178 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "year", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19189 arg1
= (int)(SWIG_As_int(obj0
));
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_From_int((int)(result
));
19208 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19211 wxDateTime::Month result
;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "cal", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19220 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_From_int((result
));
19238 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 int arg1
= (int) wxDateTime::Inv_Year
;
19241 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "year",(char *) "cal", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 arg1
= (int)(SWIG_As_int(obj0
));
19253 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19259 if (SWIG_arg_fail(2)) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 int arg1
= (int) wxDateTime::Inv_Year
;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "year", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19290 arg1
= (int)(SWIG_As_int(obj0
));
19291 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (int)wxDateTime::GetCentury(arg1
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_From_int((int)(result
));
19310 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19313 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "year",(char *) "cal", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19323 arg1
= (int)(SWIG_As_int(obj0
));
19324 if (SWIG_arg_fail(1)) SWIG_fail
;
19328 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19329 if (SWIG_arg_fail(2)) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_From_int((int)(result
));
19348 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxDateTime::Month arg1
;
19351 int arg2
= (int) wxDateTime::Inv_Year
;
19352 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 PyObject
* obj2
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "month",(char *) "year",(char *) "cal", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19363 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19364 if (SWIG_arg_fail(1)) SWIG_fail
;
19368 arg2
= (int)(SWIG_As_int(obj1
));
19369 if (SWIG_arg_fail(2)) SWIG_fail
;
19374 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19375 if (SWIG_arg_fail(3)) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_From_int((int)(result
));
19394 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxDateTime::Month arg1
;
19397 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "month",(char *) "flags", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19407 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19408 if (SWIG_arg_fail(1)) SWIG_fail
;
19412 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19413 if (SWIG_arg_fail(2)) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19436 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxDateTime::WeekDay arg1
;
19439 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "weekday",(char *) "flags", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19450 if (SWIG_arg_fail(1)) SWIG_fail
;
19454 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19455 if (SWIG_arg_fail(2)) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19478 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19481 char *kwnames
[] = {
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (PyObject
*)DateTime_GetAmPmStrings();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= result
;
19500 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 int arg1
= (int) wxDateTime::Inv_Year
;
19503 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "year",(char *) "country", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19514 arg1
= (int)(SWIG_As_int(obj0
));
19515 if (SWIG_arg_fail(1)) SWIG_fail
;
19520 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19521 if (SWIG_arg_fail(2)) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19540 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 int arg1
= (int) wxDateTime::Inv_Year
;
19543 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "year",(char *) "country", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19554 arg1
= (int)(SWIG_As_int(obj0
));
19555 if (SWIG_arg_fail(1)) SWIG_fail
;
19560 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19561 if (SWIG_arg_fail(2)) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 wxDateTime
* resultptr
;
19573 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19582 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 int arg1
= (int) wxDateTime::Inv_Year
;
19585 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "year",(char *) "country", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 arg1
= (int)(SWIG_As_int(obj0
));
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19602 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19603 if (SWIG_arg_fail(2)) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 wxDateTime
* resultptr
;
19615 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19624 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19627 char *kwnames
[] = {
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= wxDateTime::Now();
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 wxDateTime
* resultptr
;
19641 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19650 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19653 char *kwnames
[] = {
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= wxDateTime::UNow();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 wxDateTime
* resultptr
;
19667 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19676 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19679 char *kwnames
[] = {
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= wxDateTime::Today();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 wxDateTime
* resultptr
;
19693 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19702 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxDateTime
*result
;
19705 char *kwnames
[] = {
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (wxDateTime
*)new wxDateTime();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19724 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19727 wxDateTime
*result
;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "timet", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19735 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (wxDateTime
*)new wxDateTime(arg1
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19752 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19755 wxDateTime
*result
;
19756 PyObject
* obj0
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "jdn", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19763 arg1
= (double)(SWIG_As_double(obj0
));
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (wxDateTime
*)new wxDateTime(arg1
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19780 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19783 int arg2
= (int) 0 ;
19784 int arg3
= (int) 0 ;
19785 int arg4
= (int) 0 ;
19786 wxDateTime
*result
;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 PyObject
* obj2
= 0 ;
19790 PyObject
* obj3
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19797 arg1
= (int)(SWIG_As_int(obj0
));
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19802 arg2
= (int)(SWIG_As_int(obj1
));
19803 if (SWIG_arg_fail(2)) SWIG_fail
;
19808 arg3
= (int)(SWIG_As_int(obj2
));
19809 if (SWIG_arg_fail(3)) SWIG_fail
;
19814 arg4
= (int)(SWIG_As_int(obj3
));
19815 if (SWIG_arg_fail(4)) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19832 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19835 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19836 int arg3
= (int) wxDateTime::Inv_Year
;
19837 int arg4
= (int) 0 ;
19838 int arg5
= (int) 0 ;
19839 int arg6
= (int) 0 ;
19840 int arg7
= (int) 0 ;
19841 wxDateTime
*result
;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 PyObject
* obj2
= 0 ;
19845 PyObject
* obj3
= 0 ;
19846 PyObject
* obj4
= 0 ;
19847 PyObject
* obj5
= 0 ;
19848 PyObject
* obj6
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19855 arg1
= (int)(SWIG_As_int(obj0
));
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19860 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19861 if (SWIG_arg_fail(2)) SWIG_fail
;
19866 arg3
= (int)(SWIG_As_int(obj2
));
19867 if (SWIG_arg_fail(3)) SWIG_fail
;
19872 arg4
= (int)(SWIG_As_int(obj3
));
19873 if (SWIG_arg_fail(4)) SWIG_fail
;
19878 arg5
= (int)(SWIG_As_int(obj4
));
19879 if (SWIG_arg_fail(5)) SWIG_fail
;
19884 arg6
= (int)(SWIG_As_int(obj5
));
19885 if (SWIG_arg_fail(6)) SWIG_fail
;
19890 arg7
= (int)(SWIG_As_int(obj6
));
19891 if (SWIG_arg_fail(7)) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19908 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19918 if (SWIG_arg_fail(1)) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19936 wxDateTime
*result
;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19949 result
= (wxDateTime
*) &_result_ref
;
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19962 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19966 wxDateTime
*result
;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "timet", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19975 if (SWIG_arg_fail(1)) SWIG_fail
;
19977 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19978 if (SWIG_arg_fail(2)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19984 result
= (wxDateTime
*) &_result_ref
;
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19997 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20001 wxDateTime
*result
;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "jdn", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 arg2
= (double)(SWIG_As_double(obj1
));
20013 if (SWIG_arg_fail(2)) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20019 result
= (wxDateTime
*) &_result_ref
;
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20032 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20036 int arg3
= (int) 0 ;
20037 int arg4
= (int) 0 ;
20038 int arg5
= (int) 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 PyObject
* obj2
= 0 ;
20043 PyObject
* obj3
= 0 ;
20044 PyObject
* obj4
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20051 if (SWIG_arg_fail(1)) SWIG_fail
;
20053 arg2
= (int)(SWIG_As_int(obj1
));
20054 if (SWIG_arg_fail(2)) SWIG_fail
;
20058 arg3
= (int)(SWIG_As_int(obj2
));
20059 if (SWIG_arg_fail(3)) SWIG_fail
;
20064 arg4
= (int)(SWIG_As_int(obj3
));
20065 if (SWIG_arg_fail(4)) SWIG_fail
;
20070 arg5
= (int)(SWIG_As_int(obj4
));
20071 if (SWIG_arg_fail(5)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20078 result
= (wxDateTime
*) &_result_ref
;
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20091 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20095 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20096 int arg4
= (int) wxDateTime::Inv_Year
;
20097 int arg5
= (int) 0 ;
20098 int arg6
= (int) 0 ;
20099 int arg7
= (int) 0 ;
20100 int arg8
= (int) 0 ;
20101 wxDateTime
*result
;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 PyObject
* obj2
= 0 ;
20105 PyObject
* obj3
= 0 ;
20106 PyObject
* obj4
= 0 ;
20107 PyObject
* obj5
= 0 ;
20108 PyObject
* obj6
= 0 ;
20109 PyObject
* obj7
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 arg2
= (int)(SWIG_As_int(obj1
));
20119 if (SWIG_arg_fail(2)) SWIG_fail
;
20123 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20124 if (SWIG_arg_fail(3)) SWIG_fail
;
20129 arg4
= (int)(SWIG_As_int(obj3
));
20130 if (SWIG_arg_fail(4)) SWIG_fail
;
20135 arg5
= (int)(SWIG_As_int(obj4
));
20136 if (SWIG_arg_fail(5)) SWIG_fail
;
20141 arg6
= (int)(SWIG_As_int(obj5
));
20142 if (SWIG_arg_fail(6)) SWIG_fail
;
20147 arg7
= (int)(SWIG_As_int(obj6
));
20148 if (SWIG_arg_fail(7)) SWIG_fail
;
20153 arg8
= (int)(SWIG_As_int(obj7
));
20154 if (SWIG_arg_fail(8)) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20161 result
= (wxDateTime
*) &_result_ref
;
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20174 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20177 wxDateTime
*result
;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20190 result
= (wxDateTime
*) &_result_ref
;
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20203 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20207 wxDateTime
*result
;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "year", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20216 if (SWIG_arg_fail(1)) SWIG_fail
;
20218 arg2
= (int)(SWIG_As_int(obj1
));
20219 if (SWIG_arg_fail(2)) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20225 result
= (wxDateTime
*) &_result_ref
;
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20238 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20241 wxDateTime::Month arg2
;
20242 wxDateTime
*result
;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "month", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20260 result
= (wxDateTime
*) &_result_ref
;
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20273 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20277 wxDateTime
*result
;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "day", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 arg2
= (int)(SWIG_As_int(obj1
));
20289 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20295 result
= (wxDateTime
*) &_result_ref
;
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20308 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20312 wxDateTime
*result
;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "hour", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20321 if (SWIG_arg_fail(1)) SWIG_fail
;
20323 arg2
= (int)(SWIG_As_int(obj1
));
20324 if (SWIG_arg_fail(2)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20330 result
= (wxDateTime
*) &_result_ref
;
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20343 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20347 wxDateTime
*result
;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "minute", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 arg2
= (int)(SWIG_As_int(obj1
));
20359 if (SWIG_arg_fail(2)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20365 result
= (wxDateTime
*) &_result_ref
;
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20378 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20382 wxDateTime
*result
;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "second", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 arg2
= (int)(SWIG_As_int(obj1
));
20394 if (SWIG_arg_fail(2)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20400 result
= (wxDateTime
*) &_result_ref
;
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20413 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20417 wxDateTime
*result
;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "millisecond", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 arg2
= (int)(SWIG_As_int(obj1
));
20429 if (SWIG_arg_fail(2)) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20435 result
= (wxDateTime
*) &_result_ref
;
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20448 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20451 wxDateTime::WeekDay arg2
;
20452 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20453 wxDateTime
*result
;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20463 if (SWIG_arg_fail(1)) SWIG_fail
;
20465 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20466 if (SWIG_arg_fail(2)) SWIG_fail
;
20470 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20471 if (SWIG_arg_fail(3)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20478 result
= (wxDateTime
*) &_result_ref
;
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20491 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20494 wxDateTime::WeekDay arg2
;
20495 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20497 PyObject
* obj0
= 0 ;
20498 PyObject
* obj1
= 0 ;
20499 PyObject
* obj2
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20508 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20509 if (SWIG_arg_fail(2)) SWIG_fail
;
20513 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20514 if (SWIG_arg_fail(3)) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 wxDateTime
* resultptr
;
20526 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20535 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20538 wxDateTime::WeekDay arg2
;
20539 wxDateTime
*result
;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "weekday", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20548 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20551 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20557 result
= (wxDateTime
*) &_result_ref
;
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20570 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20573 wxDateTime::WeekDay arg2
;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "weekday", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20583 if (SWIG_arg_fail(1)) SWIG_fail
;
20585 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20586 if (SWIG_arg_fail(2)) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 wxDateTime
* resultptr
;
20597 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20606 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20609 wxDateTime::WeekDay arg2
;
20610 wxDateTime
*result
;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self",(char *) "weekday", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20619 if (SWIG_arg_fail(1)) SWIG_fail
;
20621 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20622 if (SWIG_arg_fail(2)) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20628 result
= (wxDateTime
*) &_result_ref
;
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20641 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20644 wxDateTime::WeekDay arg2
;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self",(char *) "weekday", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20654 if (SWIG_arg_fail(1)) SWIG_fail
;
20656 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20657 if (SWIG_arg_fail(2)) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 wxDateTime
* resultptr
;
20668 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20677 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20680 wxDateTime::WeekDay arg2
;
20681 int arg3
= (int) 1 ;
20682 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20683 int arg5
= (int) wxDateTime::Inv_Year
;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 PyObject
* obj2
= 0 ;
20688 PyObject
* obj3
= 0 ;
20689 PyObject
* obj4
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20699 if (SWIG_arg_fail(2)) SWIG_fail
;
20703 arg3
= (int)(SWIG_As_int(obj2
));
20704 if (SWIG_arg_fail(3)) SWIG_fail
;
20709 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20710 if (SWIG_arg_fail(4)) SWIG_fail
;
20715 arg5
= (int)(SWIG_As_int(obj4
));
20716 if (SWIG_arg_fail(5)) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20735 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20738 wxDateTime::WeekDay arg2
;
20739 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20740 int arg4
= (int) wxDateTime::Inv_Year
;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 PyObject
* obj3
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail
;
20754 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20755 if (SWIG_arg_fail(2)) SWIG_fail
;
20759 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20760 if (SWIG_arg_fail(3)) SWIG_fail
;
20765 arg4
= (int)(SWIG_As_int(obj3
));
20766 if (SWIG_arg_fail(4)) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20785 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20788 wxDateTime::WeekDay arg2
;
20789 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20790 int arg4
= (int) wxDateTime::Inv_Year
;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20802 if (SWIG_arg_fail(1)) SWIG_fail
;
20804 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20805 if (SWIG_arg_fail(2)) SWIG_fail
;
20809 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20810 if (SWIG_arg_fail(3)) SWIG_fail
;
20815 arg4
= (int)(SWIG_As_int(obj3
));
20816 if (SWIG_arg_fail(4)) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 wxDateTime
* resultptr
;
20828 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20837 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20841 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20842 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 PyObject
* obj2
= 0 ;
20847 PyObject
* obj3
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail
;
20856 arg2
= (int)(SWIG_As_int(obj1
));
20857 if (SWIG_arg_fail(2)) SWIG_fail
;
20861 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20862 if (SWIG_arg_fail(3)) SWIG_fail
;
20867 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20868 if (SWIG_arg_fail(4)) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20887 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20891 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20892 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 PyObject
* obj2
= 0 ;
20897 PyObject
* obj3
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20904 if (SWIG_arg_fail(1)) SWIG_fail
;
20906 arg2
= (int)(SWIG_As_int(obj1
));
20907 if (SWIG_arg_fail(2)) SWIG_fail
;
20911 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20912 if (SWIG_arg_fail(3)) SWIG_fail
;
20917 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20918 if (SWIG_arg_fail(4)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 wxDateTime
* resultptr
;
20930 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20939 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20943 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20954 arg1
= (int)(SWIG_As_int(obj0
));
20955 if (SWIG_arg_fail(1)) SWIG_fail
;
20958 arg2
= (int)(SWIG_As_int(obj1
));
20959 if (SWIG_arg_fail(2)) SWIG_fail
;
20963 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20964 if (SWIG_arg_fail(3)) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 wxDateTime
* resultptr
;
20976 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20985 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20988 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20989 int arg3
= (int) wxDateTime::Inv_Year
;
20990 wxDateTime
*result
;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 PyObject
* obj2
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self",(char *) "month",(char *) "year", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21003 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21004 if (SWIG_arg_fail(2)) SWIG_fail
;
21009 arg3
= (int)(SWIG_As_int(obj2
));
21010 if (SWIG_arg_fail(3)) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21017 result
= (wxDateTime
*) &_result_ref
;
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21030 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21033 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21034 int arg3
= (int) wxDateTime::Inv_Year
;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 PyObject
* obj2
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "month",(char *) "year", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21045 if (SWIG_arg_fail(1)) SWIG_fail
;
21048 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21049 if (SWIG_arg_fail(2)) SWIG_fail
;
21054 arg3
= (int)(SWIG_As_int(obj2
));
21055 if (SWIG_arg_fail(3)) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 wxDateTime
* resultptr
;
21067 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21076 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21080 wxDateTime
*result
;
21081 PyObject
* obj0
= 0 ;
21082 PyObject
* obj1
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self",(char *) "yday", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21089 if (SWIG_arg_fail(1)) SWIG_fail
;
21091 arg2
= (int)(SWIG_As_int(obj1
));
21092 if (SWIG_arg_fail(2)) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21098 result
= (wxDateTime
*) &_result_ref
;
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21111 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "yday", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail
;
21126 arg2
= (int)(SWIG_As_int(obj1
));
21127 if (SWIG_arg_fail(2)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (arg1
)->GetYearDay(arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21137 wxDateTime
* resultptr
;
21138 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21147 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21158 if (SWIG_arg_fail(1)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (double)(arg1
)->GetJulianDayNumber();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_From_double((double)(result
));
21175 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21186 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (double)(arg1
)->GetJDN();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_From_double((double)(result
));
21203 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 char *kwnames
[] = {
21209 (char *) "self", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21214 if (SWIG_arg_fail(1)) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_From_double((double)(result
));
21231 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (double)(arg1
)->GetMJD();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_double((double)(result
));
21259 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21270 if (SWIG_arg_fail(1)) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= (double)(arg1
)->GetRataDie();
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_From_double((double)(result
));
21287 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21290 wxDateTime::TimeZone
*arg2
= 0 ;
21291 bool arg3
= (bool) false ;
21293 bool temp2
= false ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21303 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21310 arg3
= (bool)(SWIG_As_bool(obj2
));
21311 if (SWIG_arg_fail(3)) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 wxDateTime
* resultptr
;
21323 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21327 if (temp2
) delete arg2
;
21332 if (temp2
) delete arg2
;
21338 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21341 wxDateTime::TimeZone
*arg2
= 0 ;
21342 bool arg3
= (bool) false ;
21343 wxDateTime
*result
;
21344 bool temp2
= false ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 PyObject
* obj2
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail
;
21356 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21361 arg3
= (bool)(SWIG_As_bool(obj2
));
21362 if (SWIG_arg_fail(3)) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21369 result
= (wxDateTime
*) &_result_ref
;
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21377 if (temp2
) delete arg2
;
21382 if (temp2
) delete arg2
;
21388 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21391 bool arg2
= (bool) false ;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self",(char *) "noDST", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21401 if (SWIG_arg_fail(1)) SWIG_fail
;
21404 arg2
= (bool)(SWIG_As_bool(obj1
));
21405 if (SWIG_arg_fail(2)) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (arg1
)->ToGMT(arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21416 wxDateTime
* resultptr
;
21417 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21426 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21429 bool arg2
= (bool) false ;
21430 wxDateTime
*result
;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "noDST", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21439 if (SWIG_arg_fail(1)) SWIG_fail
;
21442 arg2
= (bool)(SWIG_As_bool(obj1
));
21443 if (SWIG_arg_fail(2)) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21450 result
= (wxDateTime
*) &_result_ref
;
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21463 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21466 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "country", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21480 if (SWIG_arg_fail(2)) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_From_int((int)(result
));
21499 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21527 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21555 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21558 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21559 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21561 bool temp2
= false ;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "tz", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21570 if (SWIG_arg_fail(1)) SWIG_fail
;
21573 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_From_int((int)(result
));
21588 if (temp2
) delete arg2
;
21593 if (temp2
) delete arg2
;
21599 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21602 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21603 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21604 wxDateTime::Month result
;
21605 bool temp2
= false ;
21606 PyObject
* obj0
= 0 ;
21607 PyObject
* obj1
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self",(char *) "tz", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21614 if (SWIG_arg_fail(1)) SWIG_fail
;
21617 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_int((result
));
21630 if (temp2
) delete arg2
;
21635 if (temp2
) delete arg2
;
21641 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21644 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21645 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21647 bool temp2
= false ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "tz", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21659 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= SWIG_From_int((int)(result
));
21674 if (temp2
) delete arg2
;
21679 if (temp2
) delete arg2
;
21685 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21688 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21689 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21690 wxDateTime::WeekDay result
;
21691 bool temp2
= false ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "tz", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail
;
21703 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_From_int((result
));
21716 if (temp2
) delete arg2
;
21721 if (temp2
) delete arg2
;
21727 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21730 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21731 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21733 bool temp2
= false ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self",(char *) "tz", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21742 if (SWIG_arg_fail(1)) SWIG_fail
;
21745 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_From_int((int)(result
));
21760 if (temp2
) delete arg2
;
21765 if (temp2
) delete arg2
;
21771 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21774 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21775 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21777 bool temp2
= false ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "tz", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21786 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_From_int((int)(result
));
21804 if (temp2
) delete arg2
;
21809 if (temp2
) delete arg2
;
21815 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21818 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21819 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21821 bool temp2
= false ;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "tz", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21830 if (SWIG_arg_fail(1)) SWIG_fail
;
21833 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_From_int((int)(result
));
21848 if (temp2
) delete arg2
;
21853 if (temp2
) delete arg2
;
21859 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21862 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21863 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21865 bool temp2
= false ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "tz", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail
;
21877 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_From_int((int)(result
));
21892 if (temp2
) delete arg2
;
21897 if (temp2
) delete arg2
;
21903 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21906 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21907 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21909 bool temp2
= false ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "tz", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail
;
21921 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_From_int((int)(result
));
21936 if (temp2
) delete arg2
;
21941 if (temp2
) delete arg2
;
21947 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21950 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21951 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21952 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21954 bool temp3
= false ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 PyObject
* obj2
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "flags",(char *) "tz", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail
;
21967 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21968 if (SWIG_arg_fail(2)) SWIG_fail
;
21973 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= SWIG_From_int((int)(result
));
21988 if (temp3
) delete arg3
;
21993 if (temp3
) delete arg3
;
21999 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22002 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22003 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22004 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22006 bool temp3
= false ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "flags",(char *) "tz", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22016 if (SWIG_arg_fail(1)) SWIG_fail
;
22019 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22020 if (SWIG_arg_fail(2)) SWIG_fail
;
22025 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_From_int((int)(result
));
22040 if (temp3
) delete arg3
;
22045 if (temp3
) delete arg3
;
22051 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22054 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "country", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22067 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22068 if (SWIG_arg_fail(2)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22087 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22090 wxDateTime
*arg2
= 0 ;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self",(char *) "datetime", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22100 if (SWIG_arg_fail(1)) SWIG_fail
;
22102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22103 if (SWIG_arg_fail(2)) SWIG_fail
;
22104 if (arg2
== NULL
) {
22105 SWIG_null_ref("wxDateTime");
22107 if (SWIG_arg_fail(2)) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22125 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22128 wxDateTime
*arg2
= 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self",(char *) "datetime", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22138 if (SWIG_arg_fail(1)) SWIG_fail
;
22140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22141 if (SWIG_arg_fail(2)) SWIG_fail
;
22142 if (arg2
== NULL
) {
22143 SWIG_null_ref("wxDateTime");
22145 if (SWIG_arg_fail(2)) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22166 wxDateTime
*arg2
= 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "datetime", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22176 if (SWIG_arg_fail(1)) SWIG_fail
;
22178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22179 if (SWIG_arg_fail(2)) SWIG_fail
;
22180 if (arg2
== NULL
) {
22181 SWIG_null_ref("wxDateTime");
22183 if (SWIG_arg_fail(2)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22204 wxDateTime
*arg2
= 0 ;
22205 wxDateTime
*arg3
= 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "t1",(char *) "t2", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22219 if (SWIG_arg_fail(2)) SWIG_fail
;
22220 if (arg2
== NULL
) {
22221 SWIG_null_ref("wxDateTime");
22223 if (SWIG_arg_fail(2)) SWIG_fail
;
22226 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22227 if (SWIG_arg_fail(3)) SWIG_fail
;
22228 if (arg3
== NULL
) {
22229 SWIG_null_ref("wxDateTime");
22231 if (SWIG_arg_fail(3)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22249 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22252 wxDateTime
*arg2
= 0 ;
22253 wxDateTime
*arg3
= 0 ;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22257 PyObject
* obj2
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self",(char *) "t1",(char *) "t2", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22264 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22267 if (SWIG_arg_fail(2)) SWIG_fail
;
22268 if (arg2
== NULL
) {
22269 SWIG_null_ref("wxDateTime");
22271 if (SWIG_arg_fail(2)) SWIG_fail
;
22274 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22275 if (SWIG_arg_fail(3)) SWIG_fail
;
22276 if (arg3
== NULL
) {
22277 SWIG_null_ref("wxDateTime");
22279 if (SWIG_arg_fail(3)) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22297 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22300 wxDateTime
*arg2
= 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "dt", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail
;
22312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22313 if (SWIG_arg_fail(2)) SWIG_fail
;
22314 if (arg2
== NULL
) {
22315 SWIG_null_ref("wxDateTime");
22317 if (SWIG_arg_fail(2)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22335 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22338 wxDateTime
*arg2
= 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "dt", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(2)) SWIG_fail
;
22352 if (arg2
== NULL
) {
22353 SWIG_null_ref("wxDateTime");
22355 if (SWIG_arg_fail(2)) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22373 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22376 wxDateTime
*arg2
= 0 ;
22377 wxTimeSpan
*arg3
= 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self",(char *) "dt",(char *) "ts", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail
;
22390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(2)) SWIG_fail
;
22392 if (arg2
== NULL
) {
22393 SWIG_null_ref("wxDateTime");
22395 if (SWIG_arg_fail(2)) SWIG_fail
;
22398 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22399 if (SWIG_arg_fail(3)) SWIG_fail
;
22400 if (arg3
== NULL
) {
22401 SWIG_null_ref("wxTimeSpan");
22403 if (SWIG_arg_fail(3)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22421 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22424 wxTimeSpan
*arg2
= 0 ;
22425 wxDateTime
*result
;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self",(char *) "diff", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(2)) SWIG_fail
;
22438 if (arg2
== NULL
) {
22439 SWIG_null_ref("wxTimeSpan");
22441 if (SWIG_arg_fail(2)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22447 result
= (wxDateTime
*) &_result_ref
;
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22460 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22463 wxDateSpan
*arg2
= 0 ;
22464 wxDateTime
*result
;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "diff", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(2)) SWIG_fail
;
22477 if (arg2
== NULL
) {
22478 SWIG_null_ref("wxDateSpan");
22480 if (SWIG_arg_fail(2)) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22486 result
= (wxDateTime
*) &_result_ref
;
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22499 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22502 wxTimeSpan
*arg2
= 0 ;
22503 wxDateTime
*result
;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self",(char *) "diff", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22512 if (SWIG_arg_fail(1)) SWIG_fail
;
22514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22515 if (SWIG_arg_fail(2)) SWIG_fail
;
22516 if (arg2
== NULL
) {
22517 SWIG_null_ref("wxTimeSpan");
22519 if (SWIG_arg_fail(2)) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22525 result
= (wxDateTime
*) &_result_ref
;
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22538 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22541 wxDateSpan
*arg2
= 0 ;
22542 wxDateTime
*result
;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "diff", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22551 if (SWIG_arg_fail(1)) SWIG_fail
;
22553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(2)) SWIG_fail
;
22555 if (arg2
== NULL
) {
22556 SWIG_null_ref("wxDateSpan");
22558 if (SWIG_arg_fail(2)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22564 result
= (wxDateTime
*) &_result_ref
;
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22577 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22580 wxDateTime
*arg2
= 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "dt", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22590 if (SWIG_arg_fail(1)) SWIG_fail
;
22592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(2)) SWIG_fail
;
22594 if (arg2
== NULL
) {
22595 SWIG_null_ref("wxDateTime");
22597 if (SWIG_arg_fail(2)) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 wxTimeSpan
* resultptr
;
22608 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22617 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22618 PyObject
*resultobj
;
22619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22620 wxTimeSpan
*arg2
= 0 ;
22621 wxDateTime
*result
;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22625 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22631 if (arg2
== NULL
) {
22632 SWIG_null_ref("wxTimeSpan");
22634 if (SWIG_arg_fail(2)) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22640 result
= (wxDateTime
*) &_result_ref
;
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22653 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22654 PyObject
*resultobj
;
22655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22656 wxDateSpan
*arg2
= 0 ;
22657 wxDateTime
*result
;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22661 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22666 if (SWIG_arg_fail(2)) SWIG_fail
;
22667 if (arg2
== NULL
) {
22668 SWIG_null_ref("wxDateSpan");
22670 if (SWIG_arg_fail(2)) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22676 result
= (wxDateTime
*) &_result_ref
;
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22689 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22694 argc
= PyObject_Length(args
);
22695 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22696 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22702 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22712 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22720 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22738 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22746 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22751 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22756 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22757 PyObject
*resultobj
;
22758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22759 wxTimeSpan
*arg2
= 0 ;
22760 wxDateTime
*result
;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22764 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
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
)->operator -=((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
, 1);
22792 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22793 PyObject
*resultobj
;
22794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22795 wxDateSpan
*arg2
= 0 ;
22796 wxDateTime
*result
;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22800 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22802 if (SWIG_arg_fail(1)) SWIG_fail
;
22804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(2)) SWIG_fail
;
22806 if (arg2
== NULL
) {
22807 SWIG_null_ref("wxDateSpan");
22809 if (SWIG_arg_fail(2)) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22815 result
= (wxDateTime
*) &_result_ref
;
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22828 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22833 argc
= PyObject_Length(args
);
22834 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22835 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22841 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22851 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22859 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22877 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22885 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22890 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22895 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22896 PyObject
*resultobj
;
22897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22898 wxTimeSpan
*arg2
= 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22903 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22905 if (SWIG_arg_fail(1)) SWIG_fail
;
22907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(2)) SWIG_fail
;
22909 if (arg2
== NULL
) {
22910 SWIG_null_ref("wxTimeSpan");
22912 if (SWIG_arg_fail(2)) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22922 wxDateTime
* resultptr
;
22923 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22932 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22933 PyObject
*resultobj
;
22934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22935 wxDateSpan
*arg2
= 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22940 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22945 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 if (arg2
== NULL
) {
22947 SWIG_null_ref("wxDateSpan");
22949 if (SWIG_arg_fail(2)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 wxDateTime
* resultptr
;
22960 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22969 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22974 argc
= PyObject_Length(args
);
22975 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22982 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22992 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23000 return _wrap_DateTime___add____SWIG_0(self
,args
);
23008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23018 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23026 return _wrap_DateTime___add____SWIG_1(self
,args
);
23031 Py_INCREF(Py_NotImplemented
);
23032 return Py_NotImplemented
;
23036 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23037 PyObject
*resultobj
;
23038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23039 wxDateTime
*arg2
= 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23044 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(2)) SWIG_fail
;
23050 if (arg2
== NULL
) {
23051 SWIG_null_ref("wxDateTime");
23053 if (SWIG_arg_fail(2)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23063 wxTimeSpan
* resultptr
;
23064 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23073 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23074 PyObject
*resultobj
;
23075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23076 wxTimeSpan
*arg2
= 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23081 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23086 if (SWIG_arg_fail(2)) SWIG_fail
;
23087 if (arg2
== NULL
) {
23088 SWIG_null_ref("wxTimeSpan");
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 wxDateTime
* resultptr
;
23101 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23110 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23111 PyObject
*resultobj
;
23112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23113 wxDateSpan
*arg2
= 0 ;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23118 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23120 if (SWIG_arg_fail(1)) SWIG_fail
;
23122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23123 if (SWIG_arg_fail(2)) SWIG_fail
;
23124 if (arg2
== NULL
) {
23125 SWIG_null_ref("wxDateSpan");
23127 if (SWIG_arg_fail(2)) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 wxDateTime
* resultptr
;
23138 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23147 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23152 argc
= PyObject_Length(args
);
23153 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23154 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23160 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23170 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23178 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23196 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23204 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23222 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23230 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23235 Py_INCREF(Py_NotImplemented
);
23236 return Py_NotImplemented
;
23240 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23243 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "other", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail
;
23254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23255 if (SWIG_arg_fail(2)) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23272 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23275 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self",(char *) "other", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(2)) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23304 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23307 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "other", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23317 if (SWIG_arg_fail(1)) SWIG_fail
;
23318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23319 if (SWIG_arg_fail(2)) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23336 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23339 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "other", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail
;
23350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23351 if (SWIG_arg_fail(2)) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23368 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23371 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "other", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail
;
23382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(2)) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23400 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23403 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "other", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23415 if (SWIG_arg_fail(2)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23432 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23435 wxString
*arg2
= 0 ;
23437 bool temp2
= false ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self",(char *) "date", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23446 if (SWIG_arg_fail(1)) SWIG_fail
;
23448 arg2
= wxString_in_helper(obj1
);
23449 if (arg2
== NULL
) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_int((int)(result
));
23476 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23479 wxString
*arg2
= 0 ;
23480 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23482 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23483 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23485 bool temp2
= false ;
23486 bool temp3
= false ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 PyObject
* obj2
= 0 ;
23490 PyObject
* obj3
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 arg2
= wxString_in_helper(obj1
);
23500 if (arg2
== NULL
) SWIG_fail
;
23505 arg3
= wxString_in_helper(obj2
);
23506 if (arg3
== NULL
) SWIG_fail
;
23512 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23513 if (SWIG_arg_fail(4)) SWIG_fail
;
23514 if (arg4
== NULL
) {
23515 SWIG_null_ref("wxDateTime");
23517 if (SWIG_arg_fail(4)) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_From_int((int)(result
));
23552 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23555 wxString
*arg2
= 0 ;
23557 bool temp2
= false ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "datetime", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 arg2
= wxString_in_helper(obj1
);
23569 if (arg2
== NULL
) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_From_int((int)(result
));
23596 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23599 wxString
*arg2
= 0 ;
23601 bool temp2
= false ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self",(char *) "date", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23610 if (SWIG_arg_fail(1)) SWIG_fail
;
23612 arg2
= wxString_in_helper(obj1
);
23613 if (arg2
== NULL
) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_From_int((int)(result
));
23640 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23643 wxString
*arg2
= 0 ;
23645 bool temp2
= false ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "time", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 arg2
= wxString_in_helper(obj1
);
23657 if (arg2
== NULL
) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_From_int((int)(result
));
23684 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23687 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23688 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23689 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23690 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23692 bool temp2
= false ;
23693 bool temp3
= false ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 PyObject
* obj2
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self",(char *) "format",(char *) "tz", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23703 if (SWIG_arg_fail(1)) SWIG_fail
;
23706 arg2
= wxString_in_helper(obj1
);
23707 if (arg2
== NULL
) SWIG_fail
;
23713 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23736 if (temp3
) delete arg3
;
23745 if (temp3
) delete arg3
;
23751 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23762 if (SWIG_arg_fail(1)) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23783 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23815 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23826 if (SWIG_arg_fail(1)) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23847 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23879 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23882 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23884 return Py_BuildValue((char *)"");
23886 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23890 PyObject
* obj0
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "sec", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23897 arg1
= (long)(SWIG_As_long(obj0
));
23898 if (SWIG_arg_fail(1)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= wxTimeSpan::Seconds(arg1
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 wxTimeSpan
* resultptr
;
23909 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23918 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23921 char *kwnames
[] = {
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= wxTimeSpan::Second();
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 wxTimeSpan
* resultptr
;
23935 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23944 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23948 PyObject
* obj0
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "min", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23955 arg1
= (long)(SWIG_As_long(obj0
));
23956 if (SWIG_arg_fail(1)) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= wxTimeSpan::Minutes(arg1
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 wxTimeSpan
* resultptr
;
23967 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23976 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23979 char *kwnames
[] = {
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= wxTimeSpan::Minute();
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 wxTimeSpan
* resultptr
;
23993 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24002 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "hours", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24013 arg1
= (long)(SWIG_As_long(obj0
));
24014 if (SWIG_arg_fail(1)) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= wxTimeSpan::Hours(arg1
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 wxTimeSpan
* resultptr
;
24025 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24034 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24037 char *kwnames
[] = {
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 result
= wxTimeSpan::Hour();
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24050 wxTimeSpan
* resultptr
;
24051 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24060 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "days", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24071 arg1
= (long)(SWIG_As_long(obj0
));
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= wxTimeSpan::Days(arg1
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 wxTimeSpan
* resultptr
;
24083 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24092 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24095 char *kwnames
[] = {
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= wxTimeSpan::Day();
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 wxTimeSpan
* resultptr
;
24109 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24118 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "days", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24129 arg1
= (long)(SWIG_As_long(obj0
));
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= wxTimeSpan::Weeks(arg1
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24140 wxTimeSpan
* resultptr
;
24141 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24150 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24153 char *kwnames
[] = {
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= wxTimeSpan::Week();
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 wxTimeSpan
* resultptr
;
24167 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24176 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 long arg1
= (long) 0 ;
24179 long arg2
= (long) 0 ;
24180 long arg3
= (long) 0 ;
24181 long arg4
= (long) 0 ;
24182 wxTimeSpan
*result
;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 PyObject
* obj2
= 0 ;
24186 PyObject
* obj3
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24194 arg1
= (long)(SWIG_As_long(obj0
));
24195 if (SWIG_arg_fail(1)) SWIG_fail
;
24200 arg2
= (long)(SWIG_As_long(obj1
));
24201 if (SWIG_arg_fail(2)) SWIG_fail
;
24206 arg3
= (long)(SWIG_As_long(obj2
));
24207 if (SWIG_arg_fail(3)) SWIG_fail
;
24212 arg4
= (long)(SWIG_As_long(obj3
));
24213 if (SWIG_arg_fail(4)) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24230 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 Py_INCREF(Py_None
); resultobj
= Py_None
;
24255 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24258 wxTimeSpan
*arg2
= 0 ;
24259 wxTimeSpan
*result
;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "diff", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24271 if (SWIG_arg_fail(2)) SWIG_fail
;
24272 if (arg2
== NULL
) {
24273 SWIG_null_ref("wxTimeSpan");
24275 if (SWIG_arg_fail(2)) SWIG_fail
;
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24281 result
= (wxTimeSpan
*) &_result_ref
;
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24294 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24297 wxTimeSpan
*arg2
= 0 ;
24298 wxTimeSpan
*result
;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "diff", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(2)) SWIG_fail
;
24311 if (arg2
== NULL
) {
24312 SWIG_null_ref("wxTimeSpan");
24314 if (SWIG_arg_fail(2)) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24320 result
= (wxTimeSpan
*) &_result_ref
;
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24333 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24337 wxTimeSpan
*result
;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "n", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 arg2
= (int)(SWIG_As_int(obj1
));
24349 if (SWIG_arg_fail(2)) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24355 result
= (wxTimeSpan
*) &_result_ref
;
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24368 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24371 wxTimeSpan
*result
;
24372 PyObject
* obj0
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24379 if (SWIG_arg_fail(1)) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24384 result
= (wxTimeSpan
*) &_result_ref
;
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24397 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 wxTimeSpan
* resultptr
;
24418 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24427 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24430 wxTimeSpan
*arg2
= 0 ;
24431 wxTimeSpan
*result
;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "diff", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24443 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 if (arg2
== NULL
) {
24445 SWIG_null_ref("wxTimeSpan");
24447 if (SWIG_arg_fail(2)) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24453 result
= (wxTimeSpan
*) &_result_ref
;
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24466 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24469 wxTimeSpan
*arg2
= 0 ;
24470 wxTimeSpan
*result
;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "diff", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24479 if (SWIG_arg_fail(1)) SWIG_fail
;
24481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24482 if (SWIG_arg_fail(2)) SWIG_fail
;
24483 if (arg2
== NULL
) {
24484 SWIG_null_ref("wxTimeSpan");
24486 if (SWIG_arg_fail(2)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24492 result
= (wxTimeSpan
*) &_result_ref
;
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24505 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24509 wxTimeSpan
*result
;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self",(char *) "n", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24518 if (SWIG_arg_fail(1)) SWIG_fail
;
24520 arg2
= (int)(SWIG_As_int(obj1
));
24521 if (SWIG_arg_fail(2)) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24527 result
= (wxTimeSpan
*) &_result_ref
;
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24540 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24543 wxTimeSpan
*result
;
24544 PyObject
* obj0
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24551 if (SWIG_arg_fail(1)) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24556 result
= (wxTimeSpan
*) &_result_ref
;
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24569 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24572 wxTimeSpan
*arg2
= 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self",(char *) "other", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail
;
24584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24585 if (SWIG_arg_fail(2)) SWIG_fail
;
24586 if (arg2
== NULL
) {
24587 SWIG_null_ref("wxTimeSpan");
24589 if (SWIG_arg_fail(2)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 wxTimeSpan
* resultptr
;
24600 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24609 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24612 wxTimeSpan
*arg2
= 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "other", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24622 if (SWIG_arg_fail(1)) SWIG_fail
;
24624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24625 if (SWIG_arg_fail(2)) SWIG_fail
;
24626 if (arg2
== NULL
) {
24627 SWIG_null_ref("wxTimeSpan");
24629 if (SWIG_arg_fail(2)) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 wxTimeSpan
* resultptr
;
24640 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24649 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "n", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
24665 if (SWIG_arg_fail(2)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= wxTimeSpan___mul__(arg1
,arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 wxTimeSpan
* resultptr
;
24676 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24685 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "n", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(1)) SWIG_fail
;
24700 arg2
= (int)(SWIG_As_int(obj1
));
24701 if (SWIG_arg_fail(2)) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 wxTimeSpan
* resultptr
;
24712 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24721 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24724 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 PyObject
* obj1
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self",(char *) "other", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24734 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
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24753 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24756 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "other", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24766 if (SWIG_arg_fail(1)) SWIG_fail
;
24767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24768 if (SWIG_arg_fail(2)) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24785 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24788 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "other", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24798 if (SWIG_arg_fail(1)) SWIG_fail
;
24799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24800 if (SWIG_arg_fail(2)) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24817 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24820 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self",(char *) "other", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24830 if (SWIG_arg_fail(1)) SWIG_fail
;
24831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24832 if (SWIG_arg_fail(2)) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24849 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24852 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self",(char *) "other", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24864 if (SWIG_arg_fail(2)) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24881 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24884 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "other", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24894 if (SWIG_arg_fail(1)) SWIG_fail
;
24895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(2)) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24913 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 char *kwnames
[] = {
24919 (char *) "self", NULL
24922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24924 if (SWIG_arg_fail(1)) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24969 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24997 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25000 wxTimeSpan
*arg2
= 0 ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "ts", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25013 if (SWIG_arg_fail(2)) SWIG_fail
;
25014 if (arg2
== NULL
) {
25015 SWIG_null_ref("wxTimeSpan");
25017 if (SWIG_arg_fail(2)) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25035 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25038 wxTimeSpan
*arg2
= 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "ts", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25051 if (SWIG_arg_fail(2)) SWIG_fail
;
25052 if (arg2
== NULL
) {
25053 SWIG_null_ref("wxTimeSpan");
25055 if (SWIG_arg_fail(2)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25073 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25076 wxTimeSpan
*arg2
= 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "t", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25089 if (SWIG_arg_fail(2)) SWIG_fail
;
25090 if (arg2
== NULL
) {
25091 SWIG_null_ref("wxTimeSpan");
25093 if (SWIG_arg_fail(2)) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25111 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25122 if (SWIG_arg_fail(1)) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_From_int((int)(result
));
25139 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25150 if (SWIG_arg_fail(1)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_From_int((int)(result
));
25167 static PyObject
*_wrap_TimeSpan_GetHours(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_GetHours",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
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_From_int((int)(result
));
25195 static PyObject
*_wrap_TimeSpan_GetMinutes(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_GetMinutes",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
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_From_int((int)(result
));
25223 static PyObject
*_wrap_TimeSpan_GetSeconds(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_GetSeconds",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
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25244 hi
= PyLong_FromLong( (&result
)->GetHi() );
25245 lo
= PyLong_FromLong( (&result
)->GetLo() );
25246 shifter
= PyLong_FromLong(32);
25247 shifted
= PyNumber_Lshift(hi
, shifter
);
25248 resultobj
= PyNumber_Or(shifted
, lo
);
25251 Py_DECREF(shifter
);
25252 Py_DECREF(shifted
);
25260 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25271 if (SWIG_arg_fail(1)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25280 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25281 hi
= PyLong_FromLong( (&result
)->GetHi() );
25282 lo
= PyLong_FromLong( (&result
)->GetLo() );
25283 shifter
= PyLong_FromLong(32);
25284 shifted
= PyNumber_Lshift(hi
, shifter
);
25285 resultobj
= PyNumber_Or(shifted
, lo
);
25288 Py_DECREF(shifter
);
25289 Py_DECREF(shifted
);
25297 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25300 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25301 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25303 bool temp2
= false ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "format", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25312 if (SWIG_arg_fail(1)) SWIG_fail
;
25315 arg2
= wxString_in_helper(obj1
);
25316 if (arg2
== NULL
) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25348 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25351 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25353 return Py_BuildValue((char *)"");
25355 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 int arg1
= (int) 0 ;
25358 int arg2
= (int) 0 ;
25359 int arg3
= (int) 0 ;
25360 int arg4
= (int) 0 ;
25361 wxDateSpan
*result
;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 PyObject
* obj2
= 0 ;
25365 PyObject
* obj3
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25373 arg1
= (int)(SWIG_As_int(obj0
));
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 arg2
= (int)(SWIG_As_int(obj1
));
25380 if (SWIG_arg_fail(2)) SWIG_fail
;
25385 arg3
= (int)(SWIG_As_int(obj2
));
25386 if (SWIG_arg_fail(3)) SWIG_fail
;
25391 arg4
= (int)(SWIG_As_int(obj3
));
25392 if (SWIG_arg_fail(4)) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25409 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25419 if (SWIG_arg_fail(1)) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25438 PyObject
* obj0
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "days", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25445 arg1
= (int)(SWIG_As_int(obj0
));
25446 if (SWIG_arg_fail(1)) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= wxDateSpan::Days(arg1
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 wxDateSpan
* resultptr
;
25457 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25466 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25469 char *kwnames
[] = {
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= wxDateSpan::Day();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 wxDateSpan
* resultptr
;
25483 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25492 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "weeks", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25503 arg1
= (int)(SWIG_As_int(obj0
));
25504 if (SWIG_arg_fail(1)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= wxDateSpan::Weeks(arg1
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25514 wxDateSpan
* resultptr
;
25515 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25524 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25527 char *kwnames
[] = {
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= wxDateSpan::Week();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 wxDateSpan
* resultptr
;
25541 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25550 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25554 PyObject
* obj0
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "mon", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25561 arg1
= (int)(SWIG_As_int(obj0
));
25562 if (SWIG_arg_fail(1)) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= wxDateSpan::Months(arg1
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 wxDateSpan
* resultptr
;
25573 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25582 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25585 char *kwnames
[] = {
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= wxDateSpan::Month();
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 wxDateSpan
* resultptr
;
25599 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25608 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25612 PyObject
* obj0
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "years", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25619 arg1
= (int)(SWIG_As_int(obj0
));
25620 if (SWIG_arg_fail(1)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= wxDateSpan::Years(arg1
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 wxDateSpan
* resultptr
;
25631 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25640 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25643 char *kwnames
[] = {
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= wxDateSpan::Year();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 wxDateSpan
* resultptr
;
25657 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25666 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25670 wxDateSpan
*result
;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self",(char *) "n", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 arg2
= (int)(SWIG_As_int(obj1
));
25682 if (SWIG_arg_fail(2)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25688 result
= (wxDateSpan
*) &_result_ref
;
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25701 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25705 wxDateSpan
*result
;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "n", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25714 if (SWIG_arg_fail(1)) SWIG_fail
;
25716 arg2
= (int)(SWIG_As_int(obj1
));
25717 if (SWIG_arg_fail(2)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25723 result
= (wxDateSpan
*) &_result_ref
;
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25736 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25740 wxDateSpan
*result
;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "n", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25751 arg2
= (int)(SWIG_As_int(obj1
));
25752 if (SWIG_arg_fail(2)) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25758 result
= (wxDateSpan
*) &_result_ref
;
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25771 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25775 wxDateSpan
*result
;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self",(char *) "n", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail
;
25786 arg2
= (int)(SWIG_As_int(obj1
));
25787 if (SWIG_arg_fail(2)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25793 result
= (wxDateSpan
*) &_result_ref
;
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25806 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25817 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_From_int((int)(result
));
25834 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_From_int((int)(result
));
25862 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25866 PyObject
* obj0
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25873 if (SWIG_arg_fail(1)) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_From_int((int)(result
));
25890 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25894 PyObject
* obj0
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self", NULL
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25901 if (SWIG_arg_fail(1)) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_From_int((int)(result
));
25918 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_From_int((int)(result
));
25946 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25949 wxDateSpan
*arg2
= 0 ;
25950 wxDateSpan
*result
;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self",(char *) "other", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25959 if (SWIG_arg_fail(1)) SWIG_fail
;
25961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25962 if (SWIG_arg_fail(2)) SWIG_fail
;
25963 if (arg2
== NULL
) {
25964 SWIG_null_ref("wxDateSpan");
25966 if (SWIG_arg_fail(2)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25972 result
= (wxDateSpan
*) &_result_ref
;
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25985 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25988 wxDateSpan
*arg2
= 0 ;
25989 wxDateSpan
*result
;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "other", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(1)) SWIG_fail
;
26000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26001 if (SWIG_arg_fail(2)) SWIG_fail
;
26002 if (arg2
== NULL
) {
26003 SWIG_null_ref("wxDateSpan");
26005 if (SWIG_arg_fail(2)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26011 result
= (wxDateSpan
*) &_result_ref
;
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26024 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26027 wxDateSpan
*result
;
26028 PyObject
* obj0
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26035 if (SWIG_arg_fail(1)) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26040 result
= (wxDateSpan
*) &_result_ref
;
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26053 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26057 wxDateSpan
*result
;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "factor", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 arg2
= (int)(SWIG_As_int(obj1
));
26069 if (SWIG_arg_fail(2)) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26075 result
= (wxDateSpan
*) &_result_ref
;
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26088 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26091 wxDateSpan
*arg2
= 0 ;
26092 wxDateSpan
*result
;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "other", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26101 if (SWIG_arg_fail(1)) SWIG_fail
;
26103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(2)) SWIG_fail
;
26105 if (arg2
== NULL
) {
26106 SWIG_null_ref("wxDateSpan");
26108 if (SWIG_arg_fail(2)) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26114 result
= (wxDateSpan
*) &_result_ref
;
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26127 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26130 wxDateSpan
*arg2
= 0 ;
26131 wxDateSpan
*result
;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self",(char *) "other", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26140 if (SWIG_arg_fail(1)) SWIG_fail
;
26142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26143 if (SWIG_arg_fail(2)) SWIG_fail
;
26144 if (arg2
== NULL
) {
26145 SWIG_null_ref("wxDateSpan");
26147 if (SWIG_arg_fail(2)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26153 result
= (wxDateSpan
*) &_result_ref
;
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26166 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26169 wxDateSpan
*result
;
26170 PyObject
* obj0
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26182 result
= (wxDateSpan
*) &_result_ref
;
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26195 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26199 wxDateSpan
*result
;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "factor", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26208 if (SWIG_arg_fail(1)) SWIG_fail
;
26210 arg2
= (int)(SWIG_As_int(obj1
));
26211 if (SWIG_arg_fail(2)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26217 result
= (wxDateSpan
*) &_result_ref
;
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26230 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
;
26232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26233 wxDateSpan
*arg2
= 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "other", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(2)) SWIG_fail
;
26247 if (arg2
== NULL
) {
26248 SWIG_null_ref("wxDateSpan");
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26260 wxDateSpan
* resultptr
;
26261 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26270 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26273 wxDateSpan
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "other", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail
;
26285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail
;
26287 if (arg2
== NULL
) {
26288 SWIG_null_ref("wxDateSpan");
26290 if (SWIG_arg_fail(2)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 wxDateSpan
* resultptr
;
26301 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26310 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "n", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail
;
26325 arg2
= (int)(SWIG_As_int(obj1
));
26326 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= wxDateSpan___mul__(arg1
,arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 wxDateSpan
* resultptr
;
26337 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26346 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "n", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 arg2
= (int)(SWIG_As_int(obj1
));
26362 if (SWIG_arg_fail(2)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= wxDateSpan___rmul__(arg1
,arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 wxDateSpan
* resultptr
;
26373 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26382 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26385 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self",(char *) "other", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26395 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
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26414 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26417 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self",(char *) "other", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26427 if (SWIG_arg_fail(1)) SWIG_fail
;
26428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26429 if (SWIG_arg_fail(2)) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26446 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26449 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26451 return Py_BuildValue((char *)"");
26453 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26456 char *kwnames
[] = {
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (long)wxGetLocalTime();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_From_long((long)(result
));
26477 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26480 char *kwnames
[] = {
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= (long)wxGetUTCTime();
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_From_long((long)(result
));
26501 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26504 char *kwnames
[] = {
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (long)wxGetCurrentTime();
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_From_long((long)(result
));
26525 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26528 char *kwnames
[] = {
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= wxGetLocalTimeMillis();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26541 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26542 hi
= PyLong_FromLong( (&result
)->GetHi() );
26543 lo
= PyLong_FromLong( (&result
)->GetLo() );
26544 shifter
= PyLong_FromLong(32);
26545 shifted
= PyNumber_Lshift(hi
, shifter
);
26546 resultobj
= PyNumber_Or(shifted
, lo
);
26549 Py_DECREF(shifter
);
26550 Py_DECREF(shifted
);
26558 static int _wrap_DefaultDateTime_set(PyObject
*) {
26559 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26564 static PyObject
*_wrap_DefaultDateTime_get(void) {
26567 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26572 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxDataFormatId arg1
;
26575 wxDataFormat
*result
;
26576 PyObject
* obj0
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "type", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26583 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26584 if (SWIG_arg_fail(1)) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26600 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxString
*arg1
= 0 ;
26603 wxDataFormat
*result
;
26604 bool temp1
= false ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "format", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26612 arg1
= wxString_in_helper(obj0
);
26613 if (arg1
== NULL
) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26638 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26648 if (SWIG_arg_fail(1)) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 Py_INCREF(Py_None
); resultobj
= Py_None
;
26663 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26664 PyObject
*resultobj
;
26665 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26666 wxDataFormatId arg2
;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26671 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail
;
26675 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26676 if (SWIG_arg_fail(2)) SWIG_fail
;
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26694 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26695 PyObject
*resultobj
;
26696 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26697 wxDataFormatId arg2
;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26702 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26704 if (SWIG_arg_fail(1)) SWIG_fail
;
26706 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26707 if (SWIG_arg_fail(2)) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26725 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26726 PyObject
*resultobj
;
26727 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26728 wxDataFormat
*arg2
= 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26733 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(2)) SWIG_fail
;
26739 if (arg2
== NULL
) {
26740 SWIG_null_ref("wxDataFormat");
26742 if (SWIG_arg_fail(2)) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26760 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26765 argc
= PyObject_Length(args
);
26766 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26767 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26783 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26791 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26799 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26807 _v
= SWIG_Check_int(argv
[1]);
26809 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26814 Py_INCREF(Py_NotImplemented
);
26815 return Py_NotImplemented
;
26819 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26820 PyObject
*resultobj
;
26821 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26822 wxDataFormat
*arg2
= 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26827 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26829 if (SWIG_arg_fail(1)) SWIG_fail
;
26831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(2)) SWIG_fail
;
26833 if (arg2
== NULL
) {
26834 SWIG_null_ref("wxDataFormat");
26836 if (SWIG_arg_fail(2)) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26854 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26859 argc
= PyObject_Length(args
);
26860 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26861 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26877 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26885 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26893 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26901 _v
= SWIG_Check_int(argv
[1]);
26903 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26908 Py_INCREF(Py_NotImplemented
);
26909 return Py_NotImplemented
;
26913 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26916 wxDataFormatId arg2
;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self",(char *) "format", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail
;
26927 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26928 if (SWIG_arg_fail(2)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 (arg1
)->SetType((wxDataFormatId
)arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26947 wxDataFormatId result
;
26948 PyObject
* obj0
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_From_int((result
));
26970 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= ((wxDataFormat
const *)arg1
)->GetId();
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27002 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27005 wxString
*arg2
= 0 ;
27006 bool temp2
= false ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self",(char *) "format", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27015 if (SWIG_arg_fail(1)) SWIG_fail
;
27017 arg2
= wxString_in_helper(obj1
);
27018 if (arg2
== NULL
) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->SetId((wxString
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27043 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27046 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27048 return Py_BuildValue((char *)"");
27050 static int _wrap_FormatInvalid_set(PyObject
*) {
27051 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27056 static PyObject
*_wrap_FormatInvalid_get(void) {
27059 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27064 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27067 PyObject
* obj0
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27074 if (SWIG_arg_fail(1)) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27092 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27093 SwigValueWrapper
<wxDataFormat
> result
;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "dir", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail
;
27105 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27106 if (SWIG_arg_fail(2)) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 wxDataFormat
* resultptr
;
27118 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27127 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27130 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self",(char *) "dir", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27140 if (SWIG_arg_fail(1)) SWIG_fail
;
27143 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27144 if (SWIG_arg_fail(2)) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27163 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27166 wxDataFormat
*arg2
= 0 ;
27167 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 PyObject
* obj2
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self",(char *) "format",(char *) "dir", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27178 if (SWIG_arg_fail(1)) SWIG_fail
;
27180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(2)) SWIG_fail
;
27182 if (arg2
== NULL
) {
27183 SWIG_null_ref("wxDataFormat");
27185 if (SWIG_arg_fail(2)) SWIG_fail
;
27189 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27190 if (SWIG_arg_fail(3)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27209 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27212 wxDataFormat
*arg2
= 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "format", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(2)) SWIG_fail
;
27226 if (arg2
== NULL
) {
27227 SWIG_null_ref("wxDataFormat");
27229 if (SWIG_arg_fail(2)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27247 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27250 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self",(char *) "dir", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27264 if (SWIG_arg_fail(2)) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= result
;
27281 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27284 wxDataFormat
*arg2
= 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "format", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27294 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27297 if (SWIG_arg_fail(2)) SWIG_fail
;
27298 if (arg2
== NULL
) {
27299 SWIG_null_ref("wxDataFormat");
27301 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= result
;
27317 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27320 wxDataFormat
*arg2
= 0 ;
27321 PyObject
*arg3
= (PyObject
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 PyObject
* obj2
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self",(char *) "format",(char *) "data", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27332 if (SWIG_arg_fail(1)) SWIG_fail
;
27334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27335 if (SWIG_arg_fail(2)) SWIG_fail
;
27336 if (arg2
== NULL
) {
27337 SWIG_null_ref("wxDataFormat");
27339 if (SWIG_arg_fail(2)) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27361 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27363 return Py_BuildValue((char *)"");
27365 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27368 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27369 wxDataObjectSimple
*result
;
27370 PyObject
* obj0
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "format", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27380 if (arg1
== NULL
) {
27381 SWIG_null_ref("wxDataFormat");
27383 if (SWIG_arg_fail(1)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27400 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27403 wxDataFormat
*result
;
27404 PyObject
* obj0
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27416 result
= (wxDataFormat
*) &_result_ref
;
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27429 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27432 wxDataFormat
*arg2
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self",(char *) "format", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27444 if (SWIG_arg_fail(2)) SWIG_fail
;
27445 if (arg2
== NULL
) {
27446 SWIG_null_ref("wxDataFormat");
27448 if (SWIG_arg_fail(2)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 Py_INCREF(Py_None
); resultobj
= Py_None
;
27464 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27475 if (SWIG_arg_fail(1)) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27492 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= result
;
27518 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27521 PyObject
*arg2
= (PyObject
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self",(char *) "data", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(1)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27549 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27552 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27554 return Py_BuildValue((char *)"");
27556 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27559 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27560 wxPyDataObjectSimple
*result
;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "format", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27570 if (SWIG_arg_fail(1)) SWIG_fail
;
27571 if (arg1
== NULL
) {
27572 SWIG_null_ref("wxDataFormat");
27574 if (SWIG_arg_fail(1)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27591 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27594 PyObject
*arg2
= (PyObject
*) 0 ;
27595 PyObject
*arg3
= (PyObject
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 PyObject
* obj2
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "self",(char *) "_class", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27625 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27627 return Py_BuildValue((char *)"");
27629 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxDataObjectComposite
*result
;
27632 char *kwnames
[] = {
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27651 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27654 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27655 bool arg3
= (bool) false ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27667 if (SWIG_arg_fail(2)) SWIG_fail
;
27670 arg3
= (bool)(SWIG_As_bool(obj2
));
27671 if (SWIG_arg_fail(3)) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 (arg1
)->Add(arg2
,arg3
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 Py_INCREF(Py_None
); resultobj
= Py_None
;
27688 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27691 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27693 return Py_BuildValue((char *)"");
27695 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27698 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27699 wxTextDataObject
*result
;
27700 bool temp1
= false ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "text", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27709 arg1
= wxString_in_helper(obj0
);
27710 if (arg1
== NULL
) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27736 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (size_t)(arg1
)->GetTextLength();
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27764 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
;
27766 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 char *kwnames
[] = {
27770 (char *) "self", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27775 if (SWIG_arg_fail(1)) SWIG_fail
;
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 result
= (arg1
)->GetText();
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27796 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27799 wxString
*arg2
= 0 ;
27800 bool temp2
= false ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "self",(char *) "text", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27809 if (SWIG_arg_fail(1)) SWIG_fail
;
27811 arg2
= wxString_in_helper(obj1
);
27812 if (arg2
== NULL
) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->SetText((wxString
const &)*arg2
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27837 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27840 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27842 return Py_BuildValue((char *)"");
27844 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27847 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27848 wxPyTextDataObject
*result
;
27849 bool temp1
= false ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "text", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27858 arg1
= wxString_in_helper(obj0
);
27859 if (arg1
== NULL
) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27885 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27888 PyObject
*arg2
= (PyObject
*) 0 ;
27889 PyObject
*arg3
= (PyObject
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 PyObject
* obj2
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self",(char *) "self",(char *) "_class", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 Py_INCREF(Py_None
); resultobj
= Py_None
;
27916 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27919 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27921 return Py_BuildValue((char *)"");
27923 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27926 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27927 wxBitmapDataObject
*result
;
27928 PyObject
* obj0
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "bitmap", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27937 if (SWIG_arg_fail(1)) SWIG_fail
;
27938 if (arg1
== NULL
) {
27939 SWIG_null_ref("wxBitmap");
27941 if (SWIG_arg_fail(1)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27958 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27962 PyObject
* obj0
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27969 if (SWIG_arg_fail(1)) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27978 wxBitmap
* resultptr
;
27979 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27988 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27991 wxBitmap
*arg2
= 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char *kwnames
[] = {
27995 (char *) "self",(char *) "bitmap", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28000 if (SWIG_arg_fail(1)) SWIG_fail
;
28002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28003 if (SWIG_arg_fail(2)) SWIG_fail
;
28004 if (arg2
== NULL
) {
28005 SWIG_null_ref("wxBitmap");
28007 if (SWIG_arg_fail(2)) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 Py_INCREF(Py_None
); resultobj
= Py_None
;
28023 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28026 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28028 return Py_BuildValue((char *)"");
28030 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28033 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28034 wxPyBitmapDataObject
*result
;
28035 PyObject
* obj0
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "bitmap", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28044 if (SWIG_arg_fail(1)) SWIG_fail
;
28045 if (arg1
== NULL
) {
28046 SWIG_null_ref("wxBitmap");
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28065 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28068 PyObject
*arg2
= (PyObject
*) 0 ;
28069 PyObject
*arg3
= (PyObject
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 PyObject
* obj2
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self",(char *) "self",(char *) "_class", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 Py_INCREF(Py_None
); resultobj
= Py_None
;
28096 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28099 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28101 return Py_BuildValue((char *)"");
28103 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxFileDataObject
*result
;
28106 char *kwnames
[] = {
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (wxFileDataObject
*)new wxFileDataObject();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28125 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28128 wxArrayString
*result
;
28129 PyObject
* obj0
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28141 result
= (wxArrayString
*) &_result_ref
;
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= wxArrayString2PyList_helper(*result
);
28156 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28159 wxString
*arg2
= 0 ;
28160 bool temp2
= false ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self",(char *) "filename", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28169 if (SWIG_arg_fail(1)) SWIG_fail
;
28171 arg2
= wxString_in_helper(obj1
);
28172 if (arg2
== NULL
) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 (arg1
)->AddFile((wxString
const &)*arg2
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 Py_INCREF(Py_None
); resultobj
= Py_None
;
28197 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28200 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28202 return Py_BuildValue((char *)"");
28204 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28205 PyObject
*resultobj
;
28206 wxDataFormat
*arg1
= 0 ;
28207 wxCustomDataObject
*result
;
28208 PyObject
* obj0
= 0 ;
28210 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28214 if (arg1
== NULL
) {
28215 SWIG_null_ref("wxDataFormat");
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28233 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28234 PyObject
*resultobj
;
28235 wxString
*arg1
= 0 ;
28236 wxCustomDataObject
*result
;
28237 bool temp1
= false ;
28238 PyObject
* obj0
= 0 ;
28240 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28242 arg1
= wxString_in_helper(obj0
);
28243 if (arg1
== NULL
) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28268 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28269 PyObject
*resultobj
;
28270 wxCustomDataObject
*result
;
28272 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28287 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28292 argc
= PyObject_Length(args
);
28293 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28294 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28297 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28302 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28305 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28312 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28320 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28324 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28329 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28332 PyObject
*arg2
= (PyObject
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self",(char *) "data", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28360 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28371 if (SWIG_arg_fail(1)) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (size_t)(arg1
)->GetSize();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28388 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28392 PyObject
* obj0
= 0 ;
28393 char *kwnames
[] = {
28394 (char *) "self", NULL
28397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28399 if (SWIG_arg_fail(1)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= result
;
28414 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28417 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28419 return Py_BuildValue((char *)"");
28421 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
;
28423 wxURLDataObject
*result
;
28424 char *kwnames
[] = {
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (wxURLDataObject
*)new wxURLDataObject();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28443 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28454 if (SWIG_arg_fail(1)) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (arg1
)->GetURL();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28475 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28478 wxString
*arg2
= 0 ;
28479 bool temp2
= false ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "url", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail
;
28490 arg2
= wxString_in_helper(obj1
);
28491 if (arg2
== NULL
) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->SetURL((wxString
const &)*arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 Py_INCREF(Py_None
); resultobj
= Py_None
;
28516 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28519 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28521 return Py_BuildValue((char *)"");
28523 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxMetafileDataObject
*result
;
28526 char *kwnames
[] = {
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28545 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28548 wxMetafile
*arg2
= 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "metafile", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28560 if (SWIG_arg_fail(2)) SWIG_fail
;
28561 if (arg2
== NULL
) {
28562 SWIG_null_ref("wxMetafile");
28564 if (SWIG_arg_fail(2)) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 Py_INCREF(Py_None
); resultobj
= Py_None
;
28580 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28584 PyObject
* obj0
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28600 wxMetafile
* resultptr
;
28601 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28610 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28613 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28615 return Py_BuildValue((char *)"");
28617 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
;
28619 wxDragResult arg1
;
28621 PyObject
* obj0
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "res", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28628 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28629 if (SWIG_arg_fail(1)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28647 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxWindow
*arg1
= (wxWindow
*) 0 ;
28650 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28651 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28652 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28653 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28654 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28655 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28656 wxPyDropSource
*result
;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 PyObject
* obj2
= 0 ;
28660 PyObject
* obj3
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28667 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28671 if (SWIG_arg_fail(2)) SWIG_fail
;
28672 if (arg2
== NULL
) {
28673 SWIG_null_ref("wxCursor");
28675 if (SWIG_arg_fail(2)) SWIG_fail
;
28680 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28681 if (SWIG_arg_fail(3)) SWIG_fail
;
28682 if (arg3
== NULL
) {
28683 SWIG_null_ref("wxCursor");
28685 if (SWIG_arg_fail(3)) SWIG_fail
;
28690 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28691 if (SWIG_arg_fail(4)) SWIG_fail
;
28692 if (arg4
== NULL
) {
28693 SWIG_null_ref("wxCursor");
28695 if (SWIG_arg_fail(4)) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28712 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28715 PyObject
*arg2
= (PyObject
*) 0 ;
28716 PyObject
*arg3
= (PyObject
*) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 PyObject
* obj2
= 0 ;
28721 PyObject
* obj3
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail
;
28732 arg4
= (int)(SWIG_As_int(obj3
));
28733 if (SWIG_arg_fail(4)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 Py_INCREF(Py_None
); resultobj
= Py_None
;
28749 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28752 PyObject
* obj0
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "self", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28759 if (SWIG_arg_fail(1)) SWIG_fail
;
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 Py_INCREF(Py_None
); resultobj
= Py_None
;
28774 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28777 wxDataObject
*arg2
= 0 ;
28778 PyObject
* obj0
= 0 ;
28779 PyObject
* obj1
= 0 ;
28780 char *kwnames
[] = {
28781 (char *) "self",(char *) "data", NULL
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28786 if (SWIG_arg_fail(1)) SWIG_fail
;
28788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28789 if (SWIG_arg_fail(2)) SWIG_fail
;
28790 if (arg2
== NULL
) {
28791 SWIG_null_ref("wxDataObject");
28793 if (SWIG_arg_fail(2)) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 (arg1
)->SetData(*arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 Py_INCREF(Py_None
); resultobj
= Py_None
;
28809 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
;
28811 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28812 wxDataObject
*result
;
28813 PyObject
* obj0
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28820 if (SWIG_arg_fail(1)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28835 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28838 wxDragResult arg2
;
28839 wxCursor
*arg3
= 0 ;
28840 PyObject
* obj0
= 0 ;
28841 PyObject
* obj1
= 0 ;
28842 PyObject
* obj2
= 0 ;
28843 char *kwnames
[] = {
28844 (char *) "self",(char *) "res",(char *) "cursor", NULL
28847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28849 if (SWIG_arg_fail(1)) SWIG_fail
;
28851 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28852 if (SWIG_arg_fail(2)) SWIG_fail
;
28855 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(3)) SWIG_fail
;
28857 if (arg3
== NULL
) {
28858 SWIG_null_ref("wxCursor");
28860 if (SWIG_arg_fail(3)) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28879 int arg2
= (int) wxDrag_CopyOnly
;
28880 wxDragResult result
;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "self",(char *) "flags", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28889 if (SWIG_arg_fail(1)) SWIG_fail
;
28892 arg2
= (int)(SWIG_As_int(obj1
));
28893 if (SWIG_arg_fail(2)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_From_int((result
));
28910 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28913 wxDragResult arg2
;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "effect", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28925 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28926 if (SWIG_arg_fail(2)) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28944 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28947 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28949 return Py_BuildValue((char *)"");
28951 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28954 wxPyDropTarget
*result
;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "dataObject", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28963 if (SWIG_arg_fail(1)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28979 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28982 PyObject
*arg2
= (PyObject
*) 0 ;
28983 PyObject
*arg3
= (PyObject
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 PyObject
* obj1
= 0 ;
28986 PyObject
* obj2
= 0 ;
28987 char *kwnames
[] = {
28988 (char *) "self",(char *) "self",(char *) "_class", NULL
28991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28993 if (SWIG_arg_fail(1)) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 Py_INCREF(Py_None
); resultobj
= Py_None
;
29010 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29013 PyObject
* obj0
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29020 if (SWIG_arg_fail(1)) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 Py_INCREF(Py_None
); resultobj
= Py_None
;
29035 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29038 wxDataObject
*result
;
29039 PyObject
* obj0
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29046 if (SWIG_arg_fail(1)) SWIG_fail
;
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29061 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29064 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "self",(char *) "dataObject", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29073 if (SWIG_arg_fail(1)) SWIG_fail
;
29074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29075 if (SWIG_arg_fail(2)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->SetDataObject(arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 Py_INCREF(Py_None
); resultobj
= Py_None
;
29090 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29095 wxDragResult arg4
;
29096 wxDragResult result
;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 PyObject
* obj3
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail
;
29109 arg2
= (int)(SWIG_As_int(obj1
));
29110 if (SWIG_arg_fail(2)) SWIG_fail
;
29113 arg3
= (int)(SWIG_As_int(obj2
));
29114 if (SWIG_arg_fail(3)) SWIG_fail
;
29117 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29118 if (SWIG_arg_fail(4)) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_From_int((result
));
29134 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29139 wxDragResult arg4
;
29140 wxDragResult result
;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 PyObject
* obj2
= 0 ;
29144 PyObject
* obj3
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29151 if (SWIG_arg_fail(1)) SWIG_fail
;
29153 arg2
= (int)(SWIG_As_int(obj1
));
29154 if (SWIG_arg_fail(2)) SWIG_fail
;
29157 arg3
= (int)(SWIG_As_int(obj2
));
29158 if (SWIG_arg_fail(3)) SWIG_fail
;
29161 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29162 if (SWIG_arg_fail(4)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_From_int((result
));
29178 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 (arg1
)->base_OnLeave();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 Py_INCREF(Py_None
); resultobj
= Py_None
;
29203 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 PyObject
* obj1
= 0 ;
29211 PyObject
* obj2
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "x",(char *) "y", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29218 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 arg2
= (int)(SWIG_As_int(obj1
));
29221 if (SWIG_arg_fail(2)) SWIG_fail
;
29224 arg3
= (int)(SWIG_As_int(obj2
));
29225 if (SWIG_arg_fail(3)) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29243 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 char *kwnames
[] = {
29249 (char *) "self", NULL
29252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29254 if (SWIG_arg_fail(1)) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (bool)(arg1
)->GetData();
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29271 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29274 wxDragResult arg2
;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self",(char *) "action", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29283 if (SWIG_arg_fail(1)) SWIG_fail
;
29285 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29286 if (SWIG_arg_fail(2)) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29305 wxDragResult result
;
29306 PyObject
* obj0
= 0 ;
29307 char *kwnames
[] = {
29308 (char *) "self", NULL
29311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29313 if (SWIG_arg_fail(1)) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= SWIG_From_int((result
));
29328 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29331 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29333 return Py_BuildValue((char *)"");
29335 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
;
29337 wxPyTextDropTarget
*result
;
29338 char *kwnames
[] = {
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29357 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29360 PyObject
*arg2
= (PyObject
*) 0 ;
29361 PyObject
*arg3
= (PyObject
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 PyObject
* obj2
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self",(char *) "self",(char *) "_class", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29371 if (SWIG_arg_fail(1)) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29388 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, 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_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_From_int((result
));
29432 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29437 wxDragResult arg4
;
29438 wxDragResult result
;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 PyObject
* obj2
= 0 ;
29442 PyObject
* obj3
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail
;
29451 arg2
= (int)(SWIG_As_int(obj1
));
29452 if (SWIG_arg_fail(2)) SWIG_fail
;
29455 arg3
= (int)(SWIG_As_int(obj2
));
29456 if (SWIG_arg_fail(3)) SWIG_fail
;
29459 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29460 if (SWIG_arg_fail(4)) SWIG_fail
;
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= SWIG_From_int((result
));
29476 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29479 PyObject
* obj0
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 (arg1
)->base_OnLeave();
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 Py_INCREF(Py_None
); resultobj
= Py_None
;
29501 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29507 PyObject
* obj0
= 0 ;
29508 PyObject
* obj1
= 0 ;
29509 PyObject
* obj2
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "x",(char *) "y", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail
;
29518 arg2
= (int)(SWIG_As_int(obj1
));
29519 if (SWIG_arg_fail(2)) SWIG_fail
;
29522 arg3
= (int)(SWIG_As_int(obj2
));
29523 if (SWIG_arg_fail(3)) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29546 wxDragResult arg4
;
29547 wxDragResult result
;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 PyObject
* obj2
= 0 ;
29551 PyObject
* obj3
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 arg2
= (int)(SWIG_As_int(obj1
));
29561 if (SWIG_arg_fail(2)) SWIG_fail
;
29564 arg3
= (int)(SWIG_As_int(obj2
));
29565 if (SWIG_arg_fail(3)) SWIG_fail
;
29568 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29569 if (SWIG_arg_fail(4)) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_From_int((result
));
29585 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29588 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29590 return Py_BuildValue((char *)"");
29592 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxPyFileDropTarget
*result
;
29595 char *kwnames
[] = {
29599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29614 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29617 PyObject
*arg2
= (PyObject
*) 0 ;
29618 PyObject
*arg3
= (PyObject
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self",(char *) "self",(char *) "_class", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 Py_INCREF(Py_None
); resultobj
= Py_None
;
29645 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
;
29647 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29650 wxDragResult arg4
;
29651 wxDragResult result
;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 PyObject
* obj2
= 0 ;
29655 PyObject
* obj3
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail
;
29664 arg2
= (int)(SWIG_As_int(obj1
));
29665 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 arg3
= (int)(SWIG_As_int(obj2
));
29669 if (SWIG_arg_fail(3)) SWIG_fail
;
29672 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29673 if (SWIG_arg_fail(4)) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= SWIG_From_int((result
));
29689 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29694 wxDragResult arg4
;
29695 wxDragResult result
;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 PyObject
* obj2
= 0 ;
29699 PyObject
* obj3
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29706 if (SWIG_arg_fail(1)) SWIG_fail
;
29708 arg2
= (int)(SWIG_As_int(obj1
));
29709 if (SWIG_arg_fail(2)) SWIG_fail
;
29712 arg3
= (int)(SWIG_As_int(obj2
));
29713 if (SWIG_arg_fail(3)) SWIG_fail
;
29716 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29717 if (SWIG_arg_fail(4)) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= SWIG_From_int((result
));
29733 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29736 PyObject
* obj0
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 (arg1
)->base_OnLeave();
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29758 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 PyObject
* obj2
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self",(char *) "x",(char *) "y", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29773 if (SWIG_arg_fail(1)) SWIG_fail
;
29775 arg2
= (int)(SWIG_As_int(obj1
));
29776 if (SWIG_arg_fail(2)) SWIG_fail
;
29779 arg3
= (int)(SWIG_As_int(obj2
));
29780 if (SWIG_arg_fail(3)) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29798 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29803 wxDragResult arg4
;
29804 wxDragResult result
;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 PyObject
* obj2
= 0 ;
29808 PyObject
* obj3
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29815 if (SWIG_arg_fail(1)) SWIG_fail
;
29817 arg2
= (int)(SWIG_As_int(obj1
));
29818 if (SWIG_arg_fail(2)) SWIG_fail
;
29821 arg3
= (int)(SWIG_As_int(obj2
));
29822 if (SWIG_arg_fail(3)) SWIG_fail
;
29825 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29826 if (SWIG_arg_fail(4)) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_From_int((result
));
29842 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29845 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29847 return Py_BuildValue((char *)"");
29849 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
;
29851 wxClipboard
*result
;
29852 char *kwnames
[] = {
29856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= (wxClipboard
*)new wxClipboard();
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29871 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 Py_INCREF(Py_None
); resultobj
= Py_None
;
29896 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29900 PyObject
* obj0
= 0 ;
29901 char *kwnames
[] = {
29902 (char *) "self", NULL
29905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(1)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)(arg1
)->Open();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29924 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29927 PyObject
* obj0
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29934 if (SWIG_arg_fail(1)) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 Py_INCREF(Py_None
); resultobj
= Py_None
;
29949 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29960 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29977 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
;
29979 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29980 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self",(char *) "data", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29990 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (bool)(arg1
)->AddData(arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30009 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30012 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self",(char *) "data", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30022 if (SWIG_arg_fail(1)) SWIG_fail
;
30023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30024 if (SWIG_arg_fail(2)) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (bool)(arg1
)->SetData(arg2
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30041 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
;
30043 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30044 wxDataFormat
*arg2
= 0 ;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self",(char *) "format", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30054 if (SWIG_arg_fail(1)) SWIG_fail
;
30056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(2)) SWIG_fail
;
30058 if (arg2
== NULL
) {
30059 SWIG_null_ref("wxDataFormat");
30061 if (SWIG_arg_fail(2)) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30079 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30082 wxDataObject
*arg2
= 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "data", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30092 if (SWIG_arg_fail(1)) SWIG_fail
;
30094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 if (arg2
== NULL
) {
30097 SWIG_null_ref("wxDataObject");
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 result
= (bool)(arg1
)->GetData(*arg2
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30117 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30120 PyObject
* obj0
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30127 if (SWIG_arg_fail(1)) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 Py_INCREF(Py_None
); resultobj
= Py_None
;
30142 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30153 if (SWIG_arg_fail(1)) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (bool)(arg1
)->Flush();
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30170 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30173 bool arg2
= (bool) true ;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self",(char *) "primary", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(1)) SWIG_fail
;
30185 arg2
= (bool)(SWIG_As_bool(obj1
));
30186 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->UsePrimarySelection(arg2
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 Py_INCREF(Py_None
); resultobj
= Py_None
;
30203 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxClipboard
*result
;
30206 char *kwnames
[] = {
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= (wxClipboard
*)wxClipboard::Get();
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30225 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30228 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30230 return Py_BuildValue((char *)"");
30232 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30235 wxClipboardLocker
*result
;
30236 PyObject
* obj0
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "clipboard", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30260 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30263 PyObject
* obj0
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 Py_INCREF(Py_None
); resultobj
= Py_None
;
30285 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "self", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30296 if (SWIG_arg_fail(1)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30313 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30316 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30318 return Py_BuildValue((char *)"");
30320 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 int arg1
= (int) 0 ;
30323 int arg2
= (int) 0 ;
30324 int arg3
= (int) 0 ;
30325 int arg4
= (int) 0 ;
30326 wxVideoMode
*result
;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 PyObject
* obj2
= 0 ;
30330 PyObject
* obj3
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30338 arg1
= (int)(SWIG_As_int(obj0
));
30339 if (SWIG_arg_fail(1)) SWIG_fail
;
30344 arg2
= (int)(SWIG_As_int(obj1
));
30345 if (SWIG_arg_fail(2)) SWIG_fail
;
30350 arg3
= (int)(SWIG_As_int(obj2
));
30351 if (SWIG_arg_fail(3)) SWIG_fail
;
30356 arg4
= (int)(SWIG_As_int(obj3
));
30357 if (SWIG_arg_fail(4)) SWIG_fail
;
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30374 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
;
30376 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30384 if (SWIG_arg_fail(1)) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 Py_INCREF(Py_None
); resultobj
= Py_None
;
30399 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30402 wxVideoMode
*arg2
= 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "other", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 if (arg2
== NULL
) {
30417 SWIG_null_ref("wxVideoMode");
30419 if (SWIG_arg_fail(2)) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30437 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
;
30439 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30441 PyObject
* obj0
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail
;
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_From_int((int)(result
));
30465 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30476 if (SWIG_arg_fail(1)) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_From_int((int)(result
));
30493 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 char *kwnames
[] = {
30499 (char *) "self", NULL
30502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30504 if (SWIG_arg_fail(1)) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_From_int((int)(result
));
30521 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30549 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30552 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char *kwnames
[] = {
30557 (char *) "self",(char *) "other", NULL
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail
;
30563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30564 if (SWIG_arg_fail(2)) SWIG_fail
;
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30581 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30582 PyObject
*resultobj
;
30583 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30584 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "other", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30594 if (SWIG_arg_fail(1)) SWIG_fail
;
30595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30596 if (SWIG_arg_fail(2)) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30613 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self",(char *) "w", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30625 if (SWIG_arg_fail(1)) SWIG_fail
;
30627 arg2
= (int)(SWIG_As_int(obj1
));
30628 if (SWIG_arg_fail(2)) SWIG_fail
;
30630 if (arg1
) (arg1
)->w
= arg2
;
30632 Py_INCREF(Py_None
); resultobj
= Py_None
;
30639 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
;
30641 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30643 PyObject
* obj0
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30650 if (SWIG_arg_fail(1)) SWIG_fail
;
30651 result
= (int) ((arg1
)->w
);
30654 resultobj
= SWIG_From_int((int)(result
));
30662 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self",(char *) "h", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30674 if (SWIG_arg_fail(1)) SWIG_fail
;
30676 arg2
= (int)(SWIG_As_int(obj1
));
30677 if (SWIG_arg_fail(2)) SWIG_fail
;
30679 if (arg1
) (arg1
)->h
= arg2
;
30681 Py_INCREF(Py_None
); resultobj
= Py_None
;
30688 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
;
30690 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30692 PyObject
* obj0
= 0 ;
30693 char *kwnames
[] = {
30694 (char *) "self", NULL
30697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30699 if (SWIG_arg_fail(1)) SWIG_fail
;
30700 result
= (int) ((arg1
)->h
);
30703 resultobj
= SWIG_From_int((int)(result
));
30711 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "bpp", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 arg2
= (int)(SWIG_As_int(obj1
));
30726 if (SWIG_arg_fail(2)) SWIG_fail
;
30728 if (arg1
) (arg1
)->bpp
= arg2
;
30730 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30741 PyObject
* obj0
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail
;
30749 result
= (int) ((arg1
)->bpp
);
30752 resultobj
= SWIG_From_int((int)(result
));
30760 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "self",(char *) "refresh", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30772 if (SWIG_arg_fail(1)) SWIG_fail
;
30774 arg2
= (int)(SWIG_As_int(obj1
));
30775 if (SWIG_arg_fail(2)) SWIG_fail
;
30777 if (arg1
) (arg1
)->refresh
= arg2
;
30779 Py_INCREF(Py_None
); resultobj
= Py_None
;
30786 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30790 PyObject
* obj0
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30797 if (SWIG_arg_fail(1)) SWIG_fail
;
30798 result
= (int) ((arg1
)->refresh
);
30801 resultobj
= SWIG_From_int((int)(result
));
30809 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30812 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30814 return Py_BuildValue((char *)"");
30816 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30817 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30822 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30825 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30830 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 size_t arg1
= (size_t) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "index", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30842 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30843 if (SWIG_arg_fail(1)) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (wxDisplay
*)new wxDisplay(arg1
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30860 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30878 Py_INCREF(Py_None
); resultobj
= Py_None
;
30885 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
;
30888 char *kwnames
[] = {
30892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (size_t)wxDisplay::GetCount();
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30909 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxPoint
*arg1
= 0 ;
30914 PyObject
* obj0
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "pt", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30922 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_From_int((int)(result
));
30940 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30942 wxWindow
*arg1
= (wxWindow
*) 0 ;
30944 PyObject
* obj0
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "window", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30951 if (SWIG_arg_fail(1)) SWIG_fail
;
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (int)wxDisplay::GetFromWindow(arg1
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30960 resultobj
= SWIG_From_int((int)(result
));
30968 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30972 PyObject
* obj0
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30979 if (SWIG_arg_fail(1)) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30996 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30998 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31016 wxRect
* resultptr
;
31017 resultptr
= new wxRect((wxRect
&)(result
));
31018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31026 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
;
31028 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= ((wxDisplay
const *)arg1
)->GetName();
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31058 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
;
31060 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31062 PyObject
* obj0
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(1)) SWIG_fail
;
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31086 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31089 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31090 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "mode", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail
;
31103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31104 if (SWIG_arg_fail(2)) SWIG_fail
;
31105 if (arg2
== NULL
) {
31106 SWIG_null_ref("wxVideoMode");
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= result
;
31125 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
;
31127 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31128 wxVideoMode result
;
31129 PyObject
* obj0
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31136 if (SWIG_arg_fail(1)) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31145 wxVideoMode
* resultptr
;
31146 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31155 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31158 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31159 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self",(char *) "mode", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31169 if (SWIG_arg_fail(1)) SWIG_fail
;
31172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31173 if (SWIG_arg_fail(2)) SWIG_fail
;
31174 if (arg2
== NULL
) {
31175 SWIG_null_ref("wxVideoMode");
31177 if (SWIG_arg_fail(2)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31196 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 (arg1
)->ResetMode();
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 Py_INCREF(Py_None
); resultobj
= Py_None
;
31221 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31224 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31226 return Py_BuildValue((char *)"");
31228 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxStandardPaths
*result
;
31231 char *kwnames
[] = {
31235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (wxStandardPaths
*)StandardPaths_Get();
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31250 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31261 if (SWIG_arg_fail(1)) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31282 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
;
31284 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 char *kwnames
[] = {
31288 (char *) "self", NULL
31291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31293 if (SWIG_arg_fail(1)) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31314 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
;
31316 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31325 if (SWIG_arg_fail(1)) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31346 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31350 PyObject
* obj0
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31357 if (SWIG_arg_fail(1)) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31378 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31410 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31414 PyObject
* obj0
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "self", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31421 if (SWIG_arg_fail(1)) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31442 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
;
31444 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31446 PyObject
* obj0
= 0 ;
31447 char *kwnames
[] = {
31448 (char *) "self", NULL
31451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31453 if (SWIG_arg_fail(1)) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31474 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31477 wxString
*arg2
= 0 ;
31478 bool temp2
= false ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self",(char *) "prefix", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31487 if (SWIG_arg_fail(1)) SWIG_fail
;
31489 arg2
= wxString_in_helper(obj1
);
31490 if (arg2
== NULL
) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 Py_INCREF(Py_None
); resultobj
= Py_None
;
31515 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 char *kwnames
[] = {
31521 (char *) "self", NULL
31524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail
;
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31547 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31550 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31552 return Py_BuildValue((char *)"");
31554 static PyMethodDef SwigMethods
[] = {
31555 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31562 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31570 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31636 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31662 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31671 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31677 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31691 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31697 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31703 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31724 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31754 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31756 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31760 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31767 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31773 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31787 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31791 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31794 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31819 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31866 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31884 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31894 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31910 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31940 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31993 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32096 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32097 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32098 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32099 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32116 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32161 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32195 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32203 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32204 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32209 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32218 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32225 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32228 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32236 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32246 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32251 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32255 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32259 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32286 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32294 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32302 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32316 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32320 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32338 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32352 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32363 { NULL
, NULL
, 0, NULL
}
32367 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32369 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32370 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32372 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32373 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32375 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32376 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32378 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32379 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32381 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32382 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32384 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32385 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32387 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32390 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32393 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32396 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32399 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32402 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32405 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32408 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32411 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32412 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32414 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32415 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32417 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32418 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32420 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32421 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32423 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32424 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32426 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32427 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32429 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32432 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32433 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32435 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32436 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32438 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32441 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32442 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32444 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32445 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32447 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32448 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32450 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32451 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32453 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32454 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32456 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32457 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32459 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32462 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32463 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32465 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32466 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32468 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32469 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32471 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32474 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32477 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32478 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32480 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32481 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32483 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32484 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32486 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32487 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32489 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32490 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32492 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32493 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32495 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32496 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32498 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32499 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32501 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32502 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32504 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32505 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32507 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32508 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32510 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32511 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32513 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32514 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32516 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32517 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32519 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32520 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32522 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32523 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32525 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32526 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32528 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32529 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32531 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32532 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32534 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32535 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32537 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32538 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32540 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32541 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32543 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32544 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32546 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32547 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32549 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32550 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32552 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32553 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32555 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32556 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32558 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32559 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32561 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32562 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32564 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32567 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32568 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32570 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32571 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32573 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32574 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32576 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32577 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32579 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32582 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32583 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32585 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32586 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32588 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32589 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32591 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32594 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32597 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32600 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32603 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32606 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32609 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32612 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxSizer
*) x
));
32615 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32618 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32621 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32624 static void *_p_wxEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) ((wxEvent
*) x
));
32627 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32630 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32633 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32636 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32639 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32642 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32645 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32648 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32651 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32654 static void *_p_wxControlTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32657 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32660 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32663 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32666 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32669 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32672 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32675 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32678 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32681 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32684 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32687 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32690 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32693 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32696 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32699 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32702 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32705 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32708 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32711 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32714 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32717 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32720 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32723 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32726 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32729 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32732 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32735 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32738 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32741 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32744 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32747 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32750 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32753 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32756 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32759 static void *_p_wxImageTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) ((wxImage
*) x
));
32762 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32765 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32768 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32771 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32774 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32777 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32780 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32783 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32786 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32789 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32792 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32795 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32798 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32801 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32804 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32807 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32810 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32813 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32816 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32819 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32822 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32825 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32828 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32831 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32834 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32837 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32840 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32843 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32846 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32847 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32849 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32850 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32852 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32853 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32855 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32856 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32858 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32859 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32861 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32862 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32864 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) ((wxControl
*) x
));
32867 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32870 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32873 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32874 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32876 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32877 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 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}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32978 static swig_type_info
*swig_types_initial
[] = {
32979 _swigt__p_wxLogChain
,
32980 _swigt__p_wxMutexGuiLocker
,
32981 _swigt__p_wxMetafile
,
32982 _swigt__p_wxFileHistory
,
32986 _swigt__p_wxDateTime__TimeZone
,
32987 _swigt__p_wxConfigBase
,
32988 _swigt__p_wxDisplay
,
32989 _swigt__p_wxFileType
,
32990 _swigt__p_wxLogGui
,
32992 _swigt__p_wxDataFormat
,
32993 _swigt__p_wxTimerEvent
,
32996 _swigt__std__ptrdiff_t
,
33000 _swigt__p_wxClipboard
,
33001 _swigt__p_wxStopWatch
,
33003 _swigt__p_wxClipboardLocker
,
33005 _swigt__p_wxLogStderr
,
33006 _swigt__p_wxLogTextCtrl
,
33007 _swigt__p_wxTextCtrl
,
33008 _swigt__p_wxBusyCursor
,
33009 _swigt__p_wxBitmapDataObject
,
33010 _swigt__p_wxTextDataObject
,
33011 _swigt__p_wxDataObject
,
33012 _swigt__p_wxPyTextDataObject
,
33013 _swigt__p_wxPyBitmapDataObject
,
33014 _swigt__p_wxFileDataObject
,
33015 _swigt__p_wxCustomDataObject
,
33016 _swigt__p_wxURLDataObject
,
33017 _swigt__p_wxMetafileDataObject
,
33019 _swigt__p_wxTimerRunner
,
33020 _swigt__p_wxLogWindow
,
33021 _swigt__p_wxTimeSpan
,
33022 _swigt__p_wxArrayString
,
33023 _swigt__p_wxWindowDisabler
,
33024 _swigt__p_form_ops_t
,
33025 _swigt__p_wxToolTip
,
33026 _swigt__p_wxDataObjectComposite
,
33027 _swigt__p_wxSystemSettings
,
33028 _swigt__p_wxFileConfig
,
33029 _swigt__p_wxVideoMode
,
33030 _swigt__p_wxDataObjectSimple
,
33031 _swigt__p_wxPyDataObjectSimple
,
33032 _swigt__p_wxDuplexMode
,
33033 _swigt__p_wxEvtHandler
,
33036 _swigt__p_wxSingleInstanceChecker
,
33037 _swigt__p_wxStandardPaths
,
33038 _swigt__p_wxFileTypeInfo
,
33041 _swigt__p_wxPaperSize
,
33042 _swigt__p_wxMimeTypesManager
,
33043 _swigt__p_wxPyArtProvider
,
33044 _swigt__p_wxPyTipProvider
,
33045 _swigt__p_wxTipProvider
,
33046 _swigt__p_wxJoystick
,
33047 _swigt__p_wxSystemOptions
,
33049 _swigt__p_wxJoystickEvent
,
33050 _swigt__p_wxCursor
,
33051 _swigt__p_wxObject
,
33052 _swigt__p_wxOutputStream
,
33053 _swigt__p_wxDateTime
,
33054 _swigt__p_wxPyDropSource
,
33055 _swigt__p_unsigned_long
,
33056 _swigt__p_wxKillError
,
33057 _swigt__p_wxWindow
,
33058 _swigt__p_wxString
,
33059 _swigt__p_wxPyProcess
,
33060 _swigt__p_wxBitmap
,
33061 _swigt__unsigned_int
,
33062 _swigt__p_unsigned_int
,
33063 _swigt__p_wxConfig
,
33064 _swigt__p_unsigned_char
,
33066 _swigt__p_wxBusyInfo
,
33067 _swigt__p_wxPyDropTarget
,
33068 _swigt__p_wxPyTextDropTarget
,
33069 _swigt__p_wxPyFileDropTarget
,
33070 _swigt__p_wxProcessEvent
,
33072 _swigt__p_wxLogNull
,
33073 _swigt__p_wxColour
,
33074 _swigt__p_wxPyTimer
,
33075 _swigt__p_wxConfigPathChanger
,
33076 _swigt__p_wxDateSpan
,
33081 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33083 static swig_const_info swig_const_table
[] = {
33084 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33085 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33086 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33087 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33088 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33089 {0, 0, 0, 0.0, 0, 0}};
33100 /* Python-specific SWIG API */
33101 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33102 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33103 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33105 /* -----------------------------------------------------------------------------
33106 * global variable support code.
33107 * ----------------------------------------------------------------------------- */
33109 typedef struct swig_globalvar
{
33110 char *name
; /* Name of global variable */
33111 PyObject
*(*get_attr
)(); /* Return the current value */
33112 int (*set_attr
)(PyObject
*); /* Set the value */
33113 struct swig_globalvar
*next
;
33116 typedef struct swig_varlinkobject
{
33118 swig_globalvar
*vars
;
33119 } swig_varlinkobject
;
33122 swig_varlink_repr(swig_varlinkobject
*v
) {
33124 return PyString_FromString("<Swig global variables>");
33128 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33129 swig_globalvar
*var
;
33131 fprintf(fp
,"Swig global variables { ");
33132 for (var
= v
->vars
; var
; var
=var
->next
) {
33133 fprintf(fp
,"%s", var
->name
);
33134 if (var
->next
) fprintf(fp
,", ");
33136 fprintf(fp
," }\n");
33141 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33142 swig_globalvar
*var
= v
->vars
;
33144 if (strcmp(var
->name
,n
) == 0) {
33145 return (*var
->get_attr
)();
33149 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33154 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33155 swig_globalvar
*var
= v
->vars
;
33157 if (strcmp(var
->name
,n
) == 0) {
33158 return (*var
->set_attr
)(p
);
33162 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33166 static PyTypeObject varlinktype
= {
33167 PyObject_HEAD_INIT(0)
33168 0, /* Number of items in variable part (ob_size) */
33169 (char *)"swigvarlink", /* Type name (tp_name) */
33170 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33171 0, /* Itemsize (tp_itemsize) */
33172 0, /* Deallocator (tp_dealloc) */
33173 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33174 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33175 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33176 0, /* tp_compare */
33177 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33178 0, /* tp_as_number */
33179 0, /* tp_as_sequence */
33180 0, /* tp_as_mapping */
33184 0, /* tp_getattro */
33185 0, /* tp_setattro */
33186 0, /* tp_as_buffer */
33189 #if PY_VERSION_HEX >= 0x02000000
33190 0, /* tp_traverse */
33193 #if PY_VERSION_HEX >= 0x02010000
33194 0, /* tp_richcompare */
33195 0, /* tp_weaklistoffset */
33197 #if PY_VERSION_HEX >= 0x02020000
33198 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33200 #if PY_VERSION_HEX >= 0x02030000
33203 #ifdef COUNT_ALLOCS
33204 0,0,0,0 /* tp_alloc -> tp_next */
33208 /* Create a variable linking object for use later */
33210 SWIG_Python_newvarlink(void) {
33211 swig_varlinkobject
*result
= 0;
33212 result
= PyMem_NEW(swig_varlinkobject
,1);
33213 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33214 result
->ob_type
= &varlinktype
;
33216 result
->ob_refcnt
= 0;
33217 Py_XINCREF((PyObject
*) result
);
33218 return ((PyObject
*) result
);
33222 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33223 swig_varlinkobject
*v
;
33224 swig_globalvar
*gv
;
33225 v
= (swig_varlinkobject
*) p
;
33226 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33227 gv
->name
= (char *) malloc(strlen(name
)+1);
33228 strcpy(gv
->name
,name
);
33229 gv
->get_attr
= get_attr
;
33230 gv
->set_attr
= set_attr
;
33231 gv
->next
= v
->vars
;
33235 /* -----------------------------------------------------------------------------
33236 * constants/methods manipulation
33237 * ----------------------------------------------------------------------------- */
33239 /* Install Constants */
33241 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33244 for (i
= 0; constants
[i
].type
; i
++) {
33245 switch(constants
[i
].type
) {
33247 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33249 case SWIG_PY_FLOAT
:
33250 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33252 case SWIG_PY_STRING
:
33253 if (constants
[i
].pvalue
) {
33254 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33256 Py_INCREF(Py_None
);
33260 case SWIG_PY_POINTER
:
33261 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33263 case SWIG_PY_BINARY
:
33264 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33271 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33277 /* -----------------------------------------------------------------------------*/
33278 /* Fix SwigMethods to carry the callback ptrs when needed */
33279 /* -----------------------------------------------------------------------------*/
33282 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33283 swig_const_info
*const_table
,
33284 swig_type_info
**types
,
33285 swig_type_info
**types_initial
) {
33287 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33288 char *c
= methods
[i
].ml_doc
;
33289 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33291 swig_const_info
*ci
= 0;
33292 char *name
= c
+ 10;
33293 for (j
= 0; const_table
[j
].type
; j
++) {
33294 if (strncmp(const_table
[j
].name
, name
,
33295 strlen(const_table
[j
].name
)) == 0) {
33296 ci
= &(const_table
[j
]);
33301 size_t shift
= (ci
->ptype
) - types
;
33302 swig_type_info
*ty
= types_initial
[shift
];
33303 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33304 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33305 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33307 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33308 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33310 strncpy(buff
, "swig_ptr: ", 10);
33312 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33313 methods
[i
].ml_doc
= ndoc
;
33319 /* -----------------------------------------------------------------------------*
33320 * Initialize type list
33321 * -----------------------------------------------------------------------------*/
33323 #if PY_MAJOR_VERSION < 2
33324 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33325 is copied out of Python/modsupport.c in python version 2.3.4 */
33327 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33330 if (!PyModule_Check(m
)) {
33331 PyErr_SetString(PyExc_TypeError
,
33332 "PyModule_AddObject() needs module as first arg");
33336 PyErr_SetString(PyExc_TypeError
,
33337 "PyModule_AddObject() needs non-NULL value");
33341 dict
= PyModule_GetDict(m
);
33342 if (dict
== NULL
) {
33343 /* Internal error -- modules must have a dict! */
33344 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33345 PyModule_GetName(m
));
33348 if (PyDict_SetItemString(dict
, name
, o
))
33355 static swig_type_info
**
33356 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33357 static PyMethodDef swig_empty_runtime_method_table
[] = {
33359 NULL
, NULL
, 0, NULL
33363 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33364 swig_empty_runtime_method_table
);
33365 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33366 if (pointer
&& module) {
33367 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33369 return type_list_handle
;
33372 static swig_type_info
**
33373 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33374 swig_type_info
**type_pointer
;
33376 /* first check if module already created */
33377 type_pointer
= SWIG_Python_GetTypeListHandle();
33378 if (type_pointer
) {
33379 return type_pointer
;
33381 /* create a new module and variable */
33382 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33390 /* -----------------------------------------------------------------------------*
33391 * Partial Init method
33392 * -----------------------------------------------------------------------------*/
33394 #ifdef SWIG_LINK_RUNTIME
33398 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33404 SWIGEXPORT(void) SWIG_init(void) {
33405 static PyObject
*SWIG_globals
= 0;
33406 static int typeinit
= 0;
33409 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33411 /* Fix SwigMethods to carry the callback ptrs when needed */
33412 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33414 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33415 d
= PyModule_GetDict(m
);
33418 #ifdef SWIG_LINK_RUNTIME
33419 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33421 # ifndef SWIG_STATIC_RUNTIME
33422 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33425 for (i
= 0; swig_types_initial
[i
]; i
++) {
33426 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33430 SWIG_InstallConstants(d
,swig_const_table
);
33433 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33436 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33439 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33442 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33445 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33448 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33451 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33454 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33457 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33460 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33463 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33466 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33469 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33472 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33475 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33478 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33481 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33484 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33487 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33490 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33493 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33496 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33499 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33502 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33505 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33508 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33511 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33514 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33517 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33520 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33523 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33526 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33529 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33532 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33535 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33538 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33541 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33544 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33547 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33550 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33553 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33556 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33559 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33562 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33565 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33568 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33571 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33574 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33577 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33580 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33583 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33586 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33589 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33592 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33595 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33598 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33601 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33604 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33607 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33610 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33613 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33616 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33619 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33622 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33625 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33628 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33631 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33634 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33637 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33640 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33643 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33646 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33649 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33652 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33655 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33658 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33661 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33664 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33667 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33670 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33673 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33676 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33679 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33682 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33685 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33688 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33691 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33694 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33697 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33700 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33703 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33705 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33706 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33707 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33708 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33709 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33711 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33714 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33717 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33720 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33722 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33724 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33727 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33730 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33733 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33736 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33739 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33742 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33745 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33748 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33751 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33754 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33757 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33759 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33760 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33761 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33762 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33763 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33765 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33768 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33771 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33774 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33777 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33780 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33783 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33786 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33789 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33792 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33795 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33798 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33801 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33804 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33807 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33810 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33813 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33816 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33819 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33822 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33825 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33828 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33831 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33834 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33837 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33840 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33843 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33846 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33849 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33852 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33855 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33857 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33859 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33862 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33865 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33868 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33871 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33874 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33877 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33880 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33883 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33886 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33889 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33892 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33895 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33897 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33898 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33899 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33900 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33902 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33905 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33908 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33911 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33914 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33917 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33920 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33923 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33925 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33935 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33937 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33982 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33985 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33988 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33991 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33994 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33997 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34000 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34003 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34006 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34009 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34011 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34012 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34014 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34017 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34020 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34023 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34026 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34029 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34032 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34035 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34038 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34041 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34044 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34047 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34050 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34053 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34056 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34059 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34062 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34065 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34068 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34071 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34074 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34077 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34080 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34083 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34086 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34089 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34092 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34095 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34098 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34101 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34104 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34107 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34110 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34113 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34116 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34119 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34122 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34125 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34128 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34131 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34134 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34137 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34140 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34143 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34146 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34149 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34152 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34155 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34158 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34161 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34164 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34167 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34170 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34173 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34176 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34179 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34182 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34185 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34188 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34191 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34194 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34197 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34200 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34203 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34206 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34209 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34212 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34215 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34218 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34221 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34224 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34227 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34230 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34233 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34236 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34239 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34242 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34245 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34248 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34251 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34254 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34257 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34260 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34263 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34266 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34269 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34272 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34275 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34278 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34281 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34284 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34287 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34290 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34293 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34296 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34299 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34302 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34305 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34308 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34311 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34314 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34317 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34320 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34323 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34326 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34329 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34332 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34335 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34338 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34341 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34344 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34347 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34350 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34353 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34356 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34359 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34362 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34365 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34368 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34371 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34374 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34377 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34380 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34383 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34386 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34389 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34392 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34395 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34398 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34401 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34404 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34407 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34410 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34413 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34416 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34419 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34422 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34425 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34428 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34431 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34434 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34437 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34440 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34443 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34446 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34449 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34452 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34455 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34458 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34461 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34464 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34467 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34470 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34473 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34476 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34478 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34480 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34483 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34486 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34489 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34492 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34495 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34498 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34501 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34504 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34507 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34510 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34513 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34516 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34519 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34522 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34525 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34528 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34531 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34534 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34537 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34539 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34541 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34544 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34547 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34550 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34553 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34556 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34559 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34562 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34565 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34568 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34571 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34574 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34577 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34578 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34579 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34580 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34582 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);