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_wxLogBuffer swig_types[77]
1420 #define SWIGTYPE_p_wxKillError swig_types[78]
1421 #define SWIGTYPE_p_wxWindow swig_types[79]
1422 #define SWIGTYPE_p_wxString swig_types[80]
1423 #define SWIGTYPE_p_wxPyProcess swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_wxConfig swig_types[85]
1428 #define SWIGTYPE_p_unsigned_char swig_types[86]
1429 #define SWIGTYPE_p_wxChar swig_types[87]
1430 #define SWIGTYPE_p_wxBusyInfo swig_types[88]
1431 #define SWIGTYPE_p_wxPyDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[90]
1433 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[91]
1434 #define SWIGTYPE_p_wxProcessEvent swig_types[92]
1435 #define SWIGTYPE_p_wxPyLog swig_types[93]
1436 #define SWIGTYPE_p_wxLogNull swig_types[94]
1437 #define SWIGTYPE_p_wxColour swig_types[95]
1438 #define SWIGTYPE_p_wxPyTimer swig_types[96]
1439 #define SWIGTYPE_p_wxConfigPathChanger swig_types[97]
1440 #define SWIGTYPE_p_wxDateSpan swig_types[98]
1441 static swig_type_info
*swig_types
[100];
1443 /* -------- TYPES TABLE (END) -------- */
1446 /*-----------------------------------------------
1447 @(target):= _misc_.so
1448 ------------------------------------------------*/
1449 #define SWIG_init init_misc_
1451 #define SWIG_name "_misc_"
1453 #include "wx/wxPython/wxPython.h"
1454 #include "wx/wxPython/pyclasses.h"
1455 #include "wx/wxPython/pyistream.h"
1457 static const wxString
wxPyEmptyString(wxEmptyString
);
1461 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1462 #define SWIG_From_int PyInt_FromLong
1470 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1473 if (value
< min_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is less than '%s' minimum %ld",
1477 value
, errmsg
, min_value
);
1480 } else if (value
> max_value
) {
1482 PyErr_Format(PyExc_OverflowError
,
1483 "value %ld is greater than '%s' maximum %ld",
1484 value
, errmsg
, max_value
);
1493 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1495 if (PyNumber_Check(obj
)) {
1496 if (val
) *val
= PyInt_AsLong(obj
);
1500 SWIG_type_error("number", obj
);
1506 #if INT_MAX != LONG_MAX
1508 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1510 const char* errmsg
= val
? "int" : (char*)0;
1512 if (SWIG_AsVal_long(obj
, &v
)) {
1513 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1514 if (val
) *val
= (int)(v
);
1523 SWIG_type_error(errmsg
, obj
);
1529 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1531 return SWIG_AsVal_long(obj
,(long*)val
);
1537 SWIG_As_int(PyObject
* obj
)
1540 if (!SWIG_AsVal_int(obj
, &v
)) {
1542 this is needed to make valgrind/purify happier.
1544 memset((void*)&v
, 0, sizeof(int));
1551 SWIG_Check_int(PyObject
* obj
)
1553 return SWIG_AsVal_int(obj
, (int*)0);
1556 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1558 #include <wx/stockitem.h>
1560 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1561 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1562 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1564 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1565 #define SWIG_From_long PyInt_FromLong
1569 SWIGINTERNSHORT
long
1570 SWIG_As_long(PyObject
* obj
)
1573 if (!SWIG_AsVal_long(obj
, &v
)) {
1575 this is needed to make valgrind/purify happier.
1577 memset((void*)&v
, 0, sizeof(long));
1584 SWIG_Check_long(PyObject
* obj
)
1586 return SWIG_AsVal_long(obj
, (long*)0);
1591 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1593 if (obj
== Py_True
) {
1594 if (val
) *val
= true;
1597 if (obj
== Py_False
) {
1598 if (val
) *val
= false;
1602 if (SWIG_AsVal_int(obj
, &res
)) {
1603 if (val
) *val
= res
? true : false;
1609 SWIG_type_error("bool", obj
);
1615 SWIGINTERNSHORT
bool
1616 SWIG_As_bool(PyObject
* obj
)
1619 if (!SWIG_AsVal_bool(obj
, &v
)) {
1621 this is needed to make valgrind/purify happier.
1623 memset((void*)&v
, 0, sizeof(bool));
1630 SWIG_Check_bool(PyObject
* obj
)
1632 return SWIG_AsVal_bool(obj
, (bool*)0);
1636 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1642 } else if (target
== Py_None
) {
1646 if (!PyTuple_Check(target
)) {
1648 target
= PyTuple_New(1);
1649 PyTuple_SetItem(target
, 0, o2
);
1651 o3
= PyTuple_New(1);
1652 PyTuple_SetItem(o3
, 0, o
);
1655 target
= PySequence_Concat(o2
, o3
);
1665 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1668 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1669 SWIG_type_error("unsigned number", obj
);
1672 *val
= (unsigned long)v
;
1677 SWIGINTERNSHORT
unsigned long
1678 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1681 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1683 this is needed to make valgrind/purify happier.
1685 memset((void*)&v
, 0, sizeof(unsigned long));
1692 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1694 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1698 SWIGINTERNSHORT PyObject
*
1699 SWIG_From_unsigned_SS_long(unsigned long value
)
1701 return (value
> LONG_MAX
) ?
1702 PyLong_FromUnsignedLong(value
)
1703 : PyInt_FromLong((long)(value
));
1707 void* wxGetXDisplay()
1710 return wxGetDisplay();
1717 bool wxThread_IsMain() {
1718 #ifdef WXP_WITH_THREAD
1719 return wxThread::IsMain();
1725 static void wxCaret_Destroy(wxCaret
*self
){
1729 #include <wx/snglinst.h>
1733 #include <wx/msw/private.h>
1734 #include <wx/dynload.h>
1739 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1750 // This one only partially works. Appears to be an undocumented
1751 // "standard" convention that not all widgets adhear to. For
1752 // example, for some widgets backgrounds or non-client areas may
1754 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1759 // This one works much better, nearly all widgets and their
1760 // children are captured correctly[**]. Prior to the big
1761 // background erase changes that Vadim did in 2004-2005 this
1762 // method failed badly on XP with Themes activated, most native
1763 // widgets draw only partially, if at all. Without themes it
1764 // worked just like on Win2k. After those changes this method
1767 // ** For example the radio buttons in a wxRadioBox are not its
1768 // children by default, but you can capture it via the panel
1769 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1770 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1771 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1772 PRF_ERASEBKGND
| PRF_OWNED
);
1778 // This one is only defined in the latest SDK and is only
1779 // available on XP. MSDN says it is similar to sending WM_PRINT
1780 // so I expect that it will work similar to the above. Since it
1781 // is avaialble only on XP, it can't be compiled like this and
1782 // will have to be loaded dynamically.
1783 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1788 // Use PrintWindow if available, or fallback to WM_PRINT
1789 // otherwise. Unfortunately using PrintWindow is even worse than
1790 // WM_PRINT. For most native widgets nothing is drawn to the dc
1791 // at all, with or without Themes.
1792 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1793 static bool s_triedToLoad
= false;
1794 static PrintWindow_t pfnPrintWindow
= NULL
;
1795 if ( !s_triedToLoad
)
1798 s_triedToLoad
= true;
1799 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1800 if ( dllUser32
.IsLoaded() )
1802 wxLogNull nolog
; // Don't report errors here
1803 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1808 //printf("Using PrintWindow\n");
1809 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1813 //printf("Using WM_PRINT\n");
1814 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1815 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1816 PRF_ERASEBKGND
| PRF_OWNED
);
1827 #include <wx/tipdlg.h>
1830 class wxPyTipProvider
: public wxTipProvider
{
1832 wxPyTipProvider(size_t currentTip
)
1833 : wxTipProvider(currentTip
) {}
1835 DEC_PYCALLBACK_STRING__pure(GetTip
);
1836 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1840 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1841 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1844 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1846 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1848 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1849 : wxTimer(owner
, id
)
1851 if (owner
== NULL
) SetOwner(this);
1855 void wxPyTimer::Notify() {
1857 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1858 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1859 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1860 wxPyEndBlockThreads(blocked
);
1864 void wxPyTimer::base_Notify() {
1870 SWIGINTERN PyObject
*
1871 SWIG_FromCharPtr(const char* cptr
)
1874 size_t size
= strlen(cptr
);
1875 if (size
> INT_MAX
) {
1876 return SWIG_NewPointerObj((char*)(cptr
),
1877 SWIG_TypeQuery("char *"), 0);
1880 return PyString_FromStringAndSize(cptr
, size
);
1882 return PyString_FromString(cptr
);
1892 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1893 unsigned long max_value
,
1896 if (value
> max_value
) {
1898 PyErr_Format(PyExc_OverflowError
,
1899 "value %lu is greater than '%s' minimum %lu",
1900 value
, errmsg
, max_value
);
1908 #if UINT_MAX != ULONG_MAX
1910 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1912 const char* errmsg
= val
? "unsigned int" : (char*)0;
1914 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1915 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1916 if (val
) *val
= (unsigned int)(v
);
1923 SWIG_type_error(errmsg
, obj
);
1928 SWIGINTERNSHORT
unsigned int
1929 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1931 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1936 SWIGINTERNSHORT
unsigned int
1937 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1940 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1942 this is needed to make valgrind/purify happier.
1944 memset((void*)&v
, 0, sizeof(unsigned int));
1951 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1953 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1956 static wxString
Log_TimeStamp(){
1958 wxLog::TimeStamp(&msg
);
1961 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1962 // Make somce wrappers that double any % signs so they are 'escaped'
1963 void wxPyLogFatalError(const wxString
& msg
)
1966 m
.Replace(wxT("%"), wxT("%%"));
1970 void wxPyLogError(const wxString
& msg
)
1973 m
.Replace(wxT("%"), wxT("%%"));
1977 void wxPyLogWarning(const wxString
& msg
)
1980 m
.Replace(wxT("%"), wxT("%%"));
1984 void wxPyLogMessage(const wxString
& msg
)
1987 m
.Replace(wxT("%"), wxT("%%"));
1991 void wxPyLogInfo(const wxString
& msg
)
1994 m
.Replace(wxT("%"), wxT("%%"));
1998 void wxPyLogDebug(const wxString
& msg
)
2001 m
.Replace(wxT("%"), wxT("%%"));
2005 void wxPyLogVerbose(const wxString
& msg
)
2008 m
.Replace(wxT("%"), wxT("%%"));
2012 void wxPyLogStatus(const wxString
& msg
)
2015 m
.Replace(wxT("%"), wxT("%%"));
2019 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2022 m
.Replace(wxT("%"), wxT("%%"));
2023 wxLogStatus(pFrame
, m
);
2026 void wxPyLogSysError(const wxString
& msg
)
2029 m
.Replace(wxT("%"), wxT("%%"));
2033 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2036 m
.Replace(wxT("%"), wxT("%%"));
2037 wxLogGeneric(level
, m
);
2040 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2043 m
.Replace(wxT("%"), wxT("%%"));
2044 wxLogTrace(mask
, m
);
2047 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2050 m
.Replace(wxT("%"), wxT("%%"));
2051 wxLogTrace(mask
, m
);
2056 // A wxLog class that can be derived from in wxPython
2057 class wxPyLog
: public wxLog
{
2059 wxPyLog() : wxLog() {}
2061 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2065 PyObject
* s
= wx2PyString(szString
);
2066 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2069 wxPyEndBlockThreads(blocked
);
2071 wxLog::DoLog(level
, szString
, t
);
2074 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2076 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2077 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2078 PyObject
* s
= wx2PyString(szString
);
2079 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2082 wxPyEndBlockThreads(blocked
);
2084 wxLog::DoLogString(szString
, t
);
2093 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2096 #include <wx/joystick.h>
2099 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2100 // A C++ stub class for wxJoystick for platforms that don't have it.
2101 class wxJoystick
: public wxObject
{
2103 wxJoystick(int joystick
= wxJOYSTICK1
) {
2104 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2105 PyErr_SetString(PyExc_NotImplementedError
,
2106 "wxJoystick is not available on this platform.");
2107 wxPyEndBlockThreads(blocked
);
2109 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2110 int GetZPosition() { return -1; }
2111 int GetButtonState() { return -1; }
2112 int GetPOVPosition() { return -1; }
2113 int GetPOVCTSPosition() { return -1; }
2114 int GetRudderPosition() { return -1; }
2115 int GetUPosition() { return -1; }
2116 int GetVPosition() { return -1; }
2117 int GetMovementThreshold() { return -1; }
2118 void SetMovementThreshold(int threshold
) {}
2120 bool IsOk(void) { return false; }
2121 int GetNumberJoysticks() { return -1; }
2122 int GetManufacturerId() { return -1; }
2123 int GetProductId() { return -1; }
2124 wxString
GetProductName() { return wxEmptyString
; }
2125 int GetXMin() { return -1; }
2126 int GetYMin() { return -1; }
2127 int GetZMin() { return -1; }
2128 int GetXMax() { return -1; }
2129 int GetYMax() { return -1; }
2130 int GetZMax() { return -1; }
2131 int GetNumberButtons() { return -1; }
2132 int GetNumberAxes() { return -1; }
2133 int GetMaxButtons() { return -1; }
2134 int GetMaxAxes() { return -1; }
2135 int GetPollingMin() { return -1; }
2136 int GetPollingMax() { return -1; }
2137 int GetRudderMin() { return -1; }
2138 int GetRudderMax() { return -1; }
2139 int GetUMin() { return -1; }
2140 int GetUMax() { return -1; }
2141 int GetVMin() { return -1; }
2142 int GetVMax() { return -1; }
2144 bool HasRudder() { return false; }
2145 bool HasZ() { return false; }
2146 bool HasU() { return false; }
2147 bool HasV() { return false; }
2148 bool HasPOV() { return false; }
2149 bool HasPOV4Dir() { return false; }
2150 bool HasPOVCTS() { return false; }
2152 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2153 bool ReleaseCapture() { return false; }
2158 #include <wx/sound.h>
2162 // A C++ stub class for wxWave for platforms that don't have it.
2163 class wxSound
: public wxObject
2167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2168 PyErr_SetString(PyExc_NotImplementedError
,
2169 "wxSound is not available on this platform.");
2170 wxPyEndBlockThreads(blocked
);
2172 wxSound(const wxString
&/*, bool*/) {
2173 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2174 PyErr_SetString(PyExc_NotImplementedError
,
2175 "wxSound is not available on this platform.");
2176 wxPyEndBlockThreads(blocked
);
2178 wxSound(int, const wxByte
*) {
2179 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2180 PyErr_SetString(PyExc_NotImplementedError
,
2181 "wxSound is not available on this platform.");
2182 wxPyEndBlockThreads(blocked
);
2187 bool Create(const wxString
&/*, bool*/) { return false; }
2188 bool Create(int, const wxByte
*) { return false; };
2189 bool IsOk() { return false; };
2190 bool Play(unsigned) const { return false; }
2191 static bool Play(const wxString
&, unsigned) { return false; }
2192 static void Stop() {}
2197 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2198 if (fileName
.Length() == 0)
2201 return new wxSound(fileName
);
2203 static wxSound
*new_wxSound(PyObject
*data
){
2204 unsigned char* buffer
; int size
;
2205 wxSound
*sound
= NULL
;
2207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2208 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2210 sound
= new wxSound(size
, buffer
);
2212 wxPyEndBlockThreads(blocked
);
2215 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2217 unsigned char* buffer
;
2221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2222 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2224 rv
= self
->Create(size
, buffer
);
2226 wxPyEndBlockThreads(blocked
);
2229 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2230 PyErr_SetString(PyExc_NotImplementedError
,
2231 "Create from data is not available on this platform.");
2232 wxPyEndBlockThreads(blocked
);
2237 #include <wx/mimetype.h>
2239 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2241 if (self
->GetMimeType(&str
))
2242 return wx2PyString(str
);
2246 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2248 if (self
->GetMimeTypes(arr
))
2249 return wxArrayString2PyList_helper(arr
);
2253 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2255 if (self
->GetExtensions(arr
))
2256 return wxArrayString2PyList_helper(arr
);
2260 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2262 if (self
->GetIcon(&loc
))
2263 return new wxIcon(loc
);
2267 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2269 if (self
->GetIcon(&loc
)) {
2270 wxString iconFile
= loc
.GetFileName();
2273 iconIndex
= loc
.GetIndex();
2275 // Make a tuple and put the values in it
2276 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2277 PyObject
* tuple
= PyTuple_New(3);
2278 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2279 wxT("wxIcon"), true));
2280 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2281 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2282 wxPyEndBlockThreads(blocked
);
2288 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2290 if (self
->GetDescription(&str
))
2291 return wx2PyString(str
);
2295 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2298 return wx2PyString(str
);
2302 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2304 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2305 return wx2PyString(str
);
2309 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2310 wxArrayString verbs
;
2311 wxArrayString commands
;
2312 if (self
->GetAllCommands(&verbs
, &commands
,
2313 wxFileType::MessageParameters(filename
, mimetype
))) {
2314 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2315 PyObject
* tuple
= PyTuple_New(2);
2316 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2317 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2318 wxPyEndBlockThreads(blocked
);
2324 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2325 return wxFileType::ExpandCommand(command
,
2326 wxFileType::MessageParameters(filename
, mimetype
));
2328 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2330 self
->EnumAllFileTypes(arr
);
2331 return wxArrayString2PyList_helper(arr
);
2334 #include <wx/artprov.h>
2336 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2337 static const wxString
wxPyART_MENU(wxART_MENU
);
2338 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2339 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2340 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2341 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2342 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2343 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2344 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2345 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2346 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2347 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2348 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2349 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2350 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2351 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2352 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2353 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2354 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2355 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2356 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2357 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2358 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2359 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2360 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2361 static const wxString
wxPyART_HELP(wxART_HELP
);
2362 static const wxString
wxPyART_TIP(wxART_TIP
);
2363 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2364 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2365 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2366 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2367 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2368 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2369 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2370 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2371 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2372 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2373 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2374 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2375 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2376 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2377 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2378 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2379 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2380 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2381 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2382 static const wxString
wxPyART_COPY(wxART_COPY
);
2383 static const wxString
wxPyART_CUT(wxART_CUT
);
2384 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2385 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2386 static const wxString
wxPyART_NEW(wxART_NEW
);
2387 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2388 static const wxString
wxPyART_REDO(wxART_REDO
);
2389 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2390 static const wxString
wxPyART_FIND(wxART_FIND
);
2391 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2392 // Python aware wxArtProvider
2393 class wxPyArtProvider
: public wxArtProvider
{
2396 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2397 const wxArtClient
& client
,
2398 const wxSize
& size
) {
2399 wxBitmap rval
= wxNullBitmap
;
2400 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2401 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2402 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2406 s1
= wx2PyString(id
);
2407 s2
= wx2PyString(client
);
2408 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2413 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2418 wxPyEndBlockThreads(blocked
);
2425 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2429 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2430 PyObject
* ret
= PyTuple_New(3);
2432 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2433 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2434 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2439 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2444 cont
= self
->GetFirstGroup(value
, index
);
2445 return __EnumerationHelper(cont
, value
, index
);
2447 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2451 cont
= self
->GetNextGroup(value
, index
);
2452 return __EnumerationHelper(cont
, value
, index
);
2454 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2459 cont
= self
->GetFirstEntry(value
, index
);
2460 return __EnumerationHelper(cont
, value
, index
);
2462 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2466 cont
= self
->GetNextEntry(value
, index
);
2467 return __EnumerationHelper(cont
, value
, index
);
2469 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2471 self
->Read(key
, &rv
, defaultVal
);
2476 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2478 if (PyNumber_Check(obj
)) {
2479 if (val
) *val
= PyFloat_AsDouble(obj
);
2483 SWIG_type_error("number", obj
);
2489 SWIGINTERNSHORT
double
2490 SWIG_As_double(PyObject
* obj
)
2493 if (!SWIG_AsVal_double(obj
, &v
)) {
2495 this is needed to make valgrind/purify happier.
2497 memset((void*)&v
, 0, sizeof(double));
2504 SWIG_Check_double(PyObject
* obj
)
2506 return SWIG_AsVal_double(obj
, (double*)0);
2509 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2511 self
->Read(key
, &rv
, defaultVal
);
2515 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2516 #define SWIG_From_double PyFloat_FromDouble
2519 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2521 self
->Read(key
, &rv
, defaultVal
);
2525 #include <wx/datetime.h>
2527 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2528 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2530 #define LOCAL_TZ wxDateTime::Local
2532 static PyObject
*DateTime_GetAmPmStrings(){
2535 wxDateTime::GetAmPmStrings(&am
, &pm
);
2536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2537 PyObject
* tup
= PyTuple_New(2);
2538 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2539 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2540 wxPyEndBlockThreads(blocked
);
2544 #if UINT_MAX < LONG_MAX
2545 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2546 #define SWIG_From_unsigned_SS_int SWIG_From_long
2549 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2550 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2554 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2555 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2556 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2557 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2558 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2559 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2560 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2561 return (*self
< *other
);
2563 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2564 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2565 return (*self
<= *other
);
2567 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2568 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2569 return (*self
> *other
);
2571 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2572 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2573 return (*self
>= *other
);
2575 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2576 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2577 return (*self
== *other
);
2579 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2580 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2581 return (*self
!= *other
);
2583 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2585 const wxChar
* _date
= date
;
2586 rv
= self
->ParseRfc822Date(_date
);
2587 if (rv
== NULL
) return -1;
2590 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2592 const wxChar
* _date
= date
;
2593 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2594 if (rv
== NULL
) return -1;
2597 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2599 const wxChar
* _datetime
= datetime
;
2600 rv
= self
->ParseDateTime(_datetime
);
2601 if (rv
== NULL
) return -1;
2602 return rv
- _datetime
;
2604 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2606 const wxChar
* _date
= date
;
2607 rv
= self
->ParseDate(_date
);
2608 if (rv
== NULL
) return -1;
2611 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2613 const wxChar
* _time
= time
;
2614 rv
= self
->ParseTime(_time
);
2615 if (rv
== NULL
) return -1;
2618 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2619 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2620 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2621 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2622 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2623 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2624 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2625 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2626 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2627 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2628 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2629 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2630 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2631 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2632 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2633 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2635 #include <wx/dataobj.h>
2637 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2638 size_t count
= self
->GetFormatCount(dir
);
2639 wxDataFormat
* formats
= new wxDataFormat
[count
];
2640 self
->GetAllFormats(formats
, dir
);
2642 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2643 PyObject
* list
= PyList_New(count
);
2644 for (size_t i
=0; i
<count
; i
++) {
2645 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2646 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2647 PyList_Append(list
, obj
);
2650 wxPyEndBlockThreads(blocked
);
2654 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2655 PyObject
* rval
= NULL
;
2656 size_t size
= self
->GetDataSize(format
);
2657 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2659 char* buf
= new char[size
];
2660 if (self
->GetDataHere(format
, buf
))
2661 rval
= PyString_FromStringAndSize(buf
, size
);
2668 wxPyEndBlockThreads(blocked
);
2671 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2673 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2674 if (PyString_Check(data
)) {
2675 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2678 // raise a TypeError if not a string
2679 PyErr_SetString(PyExc_TypeError
, "String expected.");
2682 wxPyEndBlockThreads(blocked
);
2685 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2686 PyObject
* rval
= NULL
;
2687 size_t size
= self
->GetDataSize();
2688 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2690 char* buf
= new char[size
];
2691 if (self
->GetDataHere(buf
))
2692 rval
= PyString_FromStringAndSize(buf
, size
);
2699 wxPyEndBlockThreads(blocked
);
2702 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2704 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2705 if (PyString_Check(data
)) {
2706 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2709 // raise a TypeError if not a string
2710 PyErr_SetString(PyExc_TypeError
, "String expected.");
2713 wxPyEndBlockThreads(blocked
);
2716 // Create a new class for wxPython to use
2717 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2719 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2720 : wxDataObjectSimple(format
) {}
2722 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2723 bool GetDataHere(void *buf
) const;
2724 bool SetData(size_t len
, const void *buf
) const;
2728 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2730 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2731 // We need to get the data for this object and write it to buf. I think
2732 // the best way to do this for wxPython is to have the Python method
2733 // return either a string or None and then act appropriately with the
2737 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2738 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2740 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2742 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2744 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2748 wxPyEndBlockThreads(blocked
);
2752 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2753 // For this one we simply need to make a string from buf and len
2754 // and send it to the Python method.
2756 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2757 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2758 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2759 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2762 wxPyEndBlockThreads(blocked
);
2766 // Create a new class for wxPython to use
2767 class wxPyTextDataObject
: public wxTextDataObject
{
2769 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2770 : wxTextDataObject(text
) {}
2772 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2773 DEC_PYCALLBACK_STRING__const(GetText
);
2774 DEC_PYCALLBACK__STRING(SetText
);
2778 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2779 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2780 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2783 // Create a new class for wxPython to use
2784 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2786 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2787 : wxBitmapDataObject(bitmap
) {}
2789 wxBitmap
GetBitmap() const;
2790 void SetBitmap(const wxBitmap
& bitmap
);
2794 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2795 wxBitmap
* rval
= &wxNullBitmap
;
2796 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2797 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2800 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2802 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2807 wxPyEndBlockThreads(blocked
);
2811 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2813 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2814 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2815 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2818 wxPyEndBlockThreads(blocked
);
2821 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2822 return new wxCustomDataObject(wxDataFormat(formatName
));
2824 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2826 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2827 if (PyString_Check(data
)) {
2828 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2831 // raise a TypeError if not a string
2832 PyErr_SetString(PyExc_TypeError
, "String expected.");
2835 wxPyEndBlockThreads(blocked
);
2838 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2842 wxPyEndBlockThreads(blocked
);
2846 #include <wx/metafile.h>
2849 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2852 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2853 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2854 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2855 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2856 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2859 class wxPyTextDropTarget
: public wxTextDropTarget
{
2861 wxPyTextDropTarget() {}
2863 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2865 DEC_PYCALLBACK__(OnLeave
);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2868 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2869 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2874 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2875 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2876 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2877 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2878 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2879 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2883 class wxPyFileDropTarget
: public wxFileDropTarget
{
2885 wxPyFileDropTarget() {}
2887 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2889 DEC_PYCALLBACK__(OnLeave
);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2892 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2893 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2898 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2899 const wxArrayString
& filenames
) {
2901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2902 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2903 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2904 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2907 wxPyEndBlockThreads(blocked
);
2913 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2914 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2915 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2916 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2917 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2922 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2924 #include <wx/display.h>
2926 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2927 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2929 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2931 #include <wx/dynarray.h>
2932 #include <wx/vidmode.h>
2934 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2935 #include "wx/arrimpl.cpp"
2936 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2937 const wxVideoMode wxDefaultVideoMode
;
2942 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2945 static size_t GetCount()
2946 { wxPyRaiseNotImplemented(); return 0; }
2948 static int GetFromPoint(const wxPoint
& pt
)
2949 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2950 static int GetFromWindow(wxWindow
*window
)
2951 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2953 virtual bool IsOk() const { return false; }
2954 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2955 virtual wxString
GetName() const { return wxEmptyString
; }
2956 bool IsPrimary() const { return false; }
2958 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2959 { wxArrayVideoModes a
; return a
; }
2961 virtual wxVideoMode
GetCurrentMode() const
2962 { return wxDefaultVideoMode
; }
2964 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2971 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2972 PyObject
* pyList
= NULL
;
2973 wxArrayVideoModes arr
= self
->GetModes(mode
);
2974 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2975 pyList
= PyList_New(0);
2976 for (int i
=0; i
< arr
.GetCount(); i
++) {
2977 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2978 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2979 PyList_Append(pyList
, pyObj
);
2982 wxPyEndBlockThreads(blocked
);
2986 #include <wx/stdpaths.h>
2988 static wxStandardPaths
*StandardPaths_Get(){
2989 return (wxStandardPaths
*) &wxStandardPaths::Get();
2991 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2992 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2996 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxSystemColour arg1
;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "index", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3007 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
3008 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 if (!wxPyCheckForApp()) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3019 wxColour
* resultptr
;
3020 resultptr
= new wxColour((wxColour
&)(result
));
3021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3029 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3033 PyObject
* obj0
= 0 ;
3035 (char *) "index", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3040 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3044 if (!wxPyCheckForApp()) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3053 resultptr
= new wxFont((wxFont
&)(result
));
3054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3062 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxSystemMetric arg1
;
3065 wxWindow
*arg2
= (wxWindow
*) NULL
;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 (char *) "index",(char *) "win", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3076 if (SWIG_arg_fail(1)) SWIG_fail
;
3079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(2)) SWIG_fail
;
3083 if (!wxPyCheckForApp()) SWIG_fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= SWIG_From_int((int)(result
));
3099 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxSystemFeature arg1
;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "index", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3110 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3111 if (SWIG_arg_fail(1)) SWIG_fail
;
3114 if (!wxPyCheckForApp()) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3130 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxSystemScreenType result
;
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3139 if (!wxPyCheckForApp()) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= SWIG_From_int((result
));
3153 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxSystemScreenType arg1
;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "screen", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3163 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3164 if (SWIG_arg_fail(1)) SWIG_fail
;
3167 if (!wxPyCheckForApp()) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3184 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3186 return Py_BuildValue((char *)"");
3188 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3189 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3194 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3199 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3201 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3208 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxSystemOptions
*result
;
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (wxSystemOptions
*)new wxSystemOptions();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3230 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxString
*arg1
= 0 ;
3233 wxString
*arg2
= 0 ;
3234 bool temp1
= false ;
3235 bool temp2
= false ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3239 (char *) "name",(char *) "value", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 arg1
= wxString_in_helper(obj0
);
3245 if (arg1
== NULL
) SWIG_fail
;
3249 arg2
= wxString_in_helper(obj1
);
3250 if (arg2
== NULL
) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxString
*arg1
= 0 ;
3287 bool temp1
= false ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "name",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 arg1
= wxString_in_helper(obj0
);
3297 if (arg1
== NULL
) SWIG_fail
;
3301 arg2
= (int)(SWIG_As_int(obj1
));
3302 if (SWIG_arg_fail(2)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3326 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxString
*arg1
= 0 ;
3330 bool temp1
= false ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "name", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3338 arg1
= wxString_in_helper(obj0
);
3339 if (arg1
== NULL
) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3370 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxString
*arg1
= 0 ;
3374 bool temp1
= false ;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "name", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3382 arg1
= wxString_in_helper(obj0
);
3383 if (arg1
== NULL
) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_From_int((int)(result
));
3410 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxString
*arg1
= 0 ;
3414 bool temp1
= false ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "name", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3422 arg1
= wxString_in_helper(obj0
);
3423 if (arg1
== NULL
) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3450 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxString
*arg1
= 0 ;
3454 bool temp1
= false ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "name", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3462 arg1
= wxString_in_helper(obj0
);
3463 if (arg1
== NULL
) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3490 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3493 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3495 return Py_BuildValue((char *)"");
3497 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3498 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3503 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3508 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3510 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3517 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3518 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3523 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3528 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3530 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3537 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3538 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3543 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3548 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3550 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3557 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (long)wxNewId();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_From_long((long)(result
));
3581 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3584 PyObject
* obj0
= 0 ;
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3591 arg1
= (long)(SWIG_As_long(obj0
));
3592 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (long)wxGetCurrentId();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_From_long((long)(result
));
3632 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3636 PyObject
* obj0
= 0 ;
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3643 arg1
= (int)(SWIG_As_int(obj0
));
3644 if (SWIG_arg_fail(1)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (bool)wxIsStockID(arg1
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3662 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3665 wxString
*arg2
= 0 ;
3667 bool temp2
= false ;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3671 (char *) "id",(char *) "label", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3676 arg1
= (int)(SWIG_As_int(obj0
));
3677 if (SWIG_arg_fail(1)) SWIG_fail
;
3680 arg2
= wxString_in_helper(obj1
);
3681 if (arg2
== NULL
) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3708 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3711 bool arg2
= (bool) true ;
3712 wxString arg3
= (wxString
) wxPyEmptyString
;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3718 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3723 arg1
= (int)(SWIG_As_int(obj0
));
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 arg2
= (bool)(SWIG_As_bool(obj1
));
3729 if (SWIG_arg_fail(2)) SWIG_fail
;
3734 wxString
* sptr
= wxString_in_helper(obj2
);
3735 if (sptr
== NULL
) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3760 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3768 if (!wxPyCheckForApp()) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3790 if (!wxPyCheckForApp()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 bool arg1
= (bool) true ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "resetTimer", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3816 arg1
= (bool)(SWIG_As_bool(obj0
));
3817 if (SWIG_arg_fail(1)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (long)wxGetElapsedTime(arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_From_long((long)(result
));
3836 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 int *arg1
= (int *) 0 ;
3839 int *arg2
= (int *) 0 ;
3848 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3849 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3852 if (!wxPyCheckForApp()) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 wxGetMousePosition(arg1
,arg2
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 Py_INCREF(Py_None
); resultobj
= Py_None
;
3860 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3861 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3862 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3863 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3870 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (bool)wxIsBusy();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3894 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3922 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3925 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3927 bool temp1
= false ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "command", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3936 arg1
= wxString_in_helper(obj0
);
3937 if (arg1
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)wxShell((wxString
const &)*arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 int *arg1
= (int *) 0 ;
3989 int *arg2
= (int *) 0 ;
3999 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4000 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 result
= (int)wxGetOsVersion(arg1
,arg2
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_From_int((int)(result
));
4012 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4013 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4022 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= wxGetOsDescription();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4050 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (long)wxGetFreeMemory();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_From_long((long)(result
));
4074 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxShutdownFlags arg1
;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "wFlags", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4085 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4086 if (SWIG_arg_fail(1)) SWIG_fail
;
4089 if (!wxPyCheckForApp()) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "secs", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4115 arg1
= (int)(SWIG_As_int(obj0
));
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 Py_INCREF(Py_None
); resultobj
= Py_None
;
4132 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 unsigned long arg1
;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "milliseconds", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4142 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4143 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 unsigned long arg1
;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "microseconds", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4169 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4170 if (SWIG_arg_fail(1)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "enable", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4196 arg1
= (bool)(SWIG_As_bool(obj0
));
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 wxEnableTopLevelWindows(arg1
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxString
*arg1
= 0 ;
4217 bool temp1
= false ;
4218 PyObject
* obj0
= 0 ;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4225 arg1
= wxString_in_helper(obj0
);
4226 if (arg1
== NULL
) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4257 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= wxGetEmailAddress();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4285 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= wxGetHostName();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4313 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= wxGetFullHostName();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4341 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= wxGetUserId();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4369 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= wxGetUserName();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4397 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= wxGetHomeDir();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4425 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4428 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4430 bool temp1
= false ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "user", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4439 arg1
= wxString_in_helper(obj0
);
4440 if (arg1
== NULL
) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxGetUserHome((wxString
const &)*arg1
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4472 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 unsigned long result
;
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (unsigned long)wxGetProcessId();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4496 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
;
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4520 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4521 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4527 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4528 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4529 int arg6
= (int) 0 ;
4530 wxWindow
*arg7
= (wxWindow
*) NULL
;
4531 int arg8
= (int) -1 ;
4532 int arg9
= (int) -1 ;
4534 bool temp1
= false ;
4535 bool temp2
= false ;
4536 bool temp3
= false ;
4537 bool temp4
= false ;
4538 bool temp5
= false ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 PyObject
* obj2
= 0 ;
4542 PyObject
* obj3
= 0 ;
4543 PyObject
* obj4
= 0 ;
4544 PyObject
* obj5
= 0 ;
4545 PyObject
* obj6
= 0 ;
4546 PyObject
* obj7
= 0 ;
4547 PyObject
* obj8
= 0 ;
4549 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4555 arg1
= wxString_in_helper(obj0
);
4556 if (arg1
== NULL
) SWIG_fail
;
4562 arg2
= wxString_in_helper(obj1
);
4563 if (arg2
== NULL
) SWIG_fail
;
4569 arg3
= wxString_in_helper(obj2
);
4570 if (arg3
== NULL
) SWIG_fail
;
4576 arg4
= wxString_in_helper(obj3
);
4577 if (arg4
== NULL
) SWIG_fail
;
4583 arg5
= wxString_in_helper(obj4
);
4584 if (arg5
== NULL
) SWIG_fail
;
4590 arg6
= (int)(SWIG_As_int(obj5
));
4591 if (SWIG_arg_fail(6)) SWIG_fail
;
4595 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4596 if (SWIG_arg_fail(7)) SWIG_fail
;
4600 arg8
= (int)(SWIG_As_int(obj7
));
4601 if (SWIG_arg_fail(8)) SWIG_fail
;
4606 arg9
= (int)(SWIG_As_int(obj8
));
4607 if (SWIG_arg_fail(9)) SWIG_fail
;
4611 if (!wxPyCheckForApp()) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4671 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxString
*arg1
= 0 ;
4674 wxString
*arg2
= 0 ;
4675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4677 wxWindow
*arg4
= (wxWindow
*) NULL
;
4679 bool temp1
= false ;
4680 bool temp2
= false ;
4681 bool temp3
= false ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4685 PyObject
* obj3
= 0 ;
4687 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4692 arg1
= wxString_in_helper(obj0
);
4693 if (arg1
== NULL
) SWIG_fail
;
4697 arg2
= wxString_in_helper(obj1
);
4698 if (arg2
== NULL
) SWIG_fail
;
4703 arg3
= wxString_in_helper(obj2
);
4704 if (arg3
== NULL
) SWIG_fail
;
4709 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4710 if (SWIG_arg_fail(4)) SWIG_fail
;
4713 if (!wxPyCheckForApp()) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4757 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxString
*arg1
= 0 ;
4760 wxString
*arg2
= 0 ;
4761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4763 wxWindow
*arg4
= (wxWindow
*) NULL
;
4765 bool temp1
= false ;
4766 bool temp2
= false ;
4767 bool temp3
= false ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4771 PyObject
* obj3
= 0 ;
4773 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4778 arg1
= wxString_in_helper(obj0
);
4779 if (arg1
== NULL
) SWIG_fail
;
4783 arg2
= wxString_in_helper(obj1
);
4784 if (arg2
== NULL
) SWIG_fail
;
4789 arg3
= wxString_in_helper(obj2
);
4790 if (arg3
== NULL
) SWIG_fail
;
4795 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4796 if (SWIG_arg_fail(4)) SWIG_fail
;
4799 if (!wxPyCheckForApp()) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4843 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4846 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4847 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4848 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4849 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4852 wxWindow
*arg5
= (wxWindow
*) NULL
;
4854 bool temp1
= false ;
4855 bool temp2
= false ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 PyObject
* obj4
= 0 ;
4863 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4869 arg1
= wxString_in_helper(obj0
);
4870 if (arg1
== NULL
) SWIG_fail
;
4876 arg2
= wxString_in_helper(obj1
);
4877 if (arg2
== NULL
) SWIG_fail
;
4883 arg3
= (long)(SWIG_As_long(obj2
));
4884 if (SWIG_arg_fail(3)) SWIG_fail
;
4890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4894 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4895 if (SWIG_arg_fail(5)) SWIG_fail
;
4898 if (!wxPyCheckForApp()) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4934 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxString
*arg1
= 0 ;
4937 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4938 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4941 wxWindow
*arg4
= (wxWindow
*) NULL
;
4942 int arg5
= (int) -1 ;
4943 int arg6
= (int) -1 ;
4944 bool arg7
= (bool) true ;
4946 bool temp1
= false ;
4947 bool temp2
= false ;
4948 bool temp3
= false ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 PyObject
* obj3
= 0 ;
4953 PyObject
* obj4
= 0 ;
4954 PyObject
* obj5
= 0 ;
4955 PyObject
* obj6
= 0 ;
4957 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4962 arg1
= wxString_in_helper(obj0
);
4963 if (arg1
== NULL
) SWIG_fail
;
4968 arg2
= wxString_in_helper(obj1
);
4969 if (arg2
== NULL
) SWIG_fail
;
4975 arg3
= wxString_in_helper(obj2
);
4976 if (arg3
== NULL
) SWIG_fail
;
4981 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(4)) SWIG_fail
;
4986 arg5
= (int)(SWIG_As_int(obj4
));
4987 if (SWIG_arg_fail(5)) SWIG_fail
;
4992 arg6
= (int)(SWIG_As_int(obj5
));
4993 if (SWIG_arg_fail(6)) SWIG_fail
;
4998 arg7
= (bool)(SWIG_As_bool(obj6
));
4999 if (SWIG_arg_fail(7)) SWIG_fail
;
5003 if (!wxPyCheckForApp()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5047 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxString
*arg1
= 0 ;
5050 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5051 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5054 wxWindow
*arg4
= (wxWindow
*) NULL
;
5056 bool temp1
= false ;
5057 bool temp2
= false ;
5058 bool temp3
= false ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 PyObject
* obj2
= 0 ;
5062 PyObject
* obj3
= 0 ;
5064 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5069 arg1
= wxString_in_helper(obj0
);
5070 if (arg1
== NULL
) SWIG_fail
;
5075 arg2
= wxString_in_helper(obj1
);
5076 if (arg2
== NULL
) SWIG_fail
;
5082 arg3
= wxString_in_helper(obj2
);
5083 if (arg3
== NULL
) SWIG_fail
;
5088 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(4)) SWIG_fail
;
5092 if (!wxPyCheckForApp()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5136 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxString
*arg1
= 0 ;
5139 wxString
*arg2
= 0 ;
5141 wxString
*arg4
= (wxString
*) 0 ;
5142 wxWindow
*arg5
= (wxWindow
*) NULL
;
5143 int arg6
= (int) -1 ;
5144 int arg7
= (int) -1 ;
5145 bool arg8
= (bool) true ;
5146 int arg9
= (int) 150 ;
5147 int arg10
= (int) 200 ;
5149 bool temp1
= false ;
5150 bool temp2
= false ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5155 PyObject
* obj4
= 0 ;
5156 PyObject
* obj5
= 0 ;
5157 PyObject
* obj6
= 0 ;
5158 PyObject
* obj7
= 0 ;
5159 PyObject
* obj8
= 0 ;
5161 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5166 arg1
= wxString_in_helper(obj0
);
5167 if (arg1
== NULL
) SWIG_fail
;
5171 arg2
= wxString_in_helper(obj1
);
5172 if (arg2
== NULL
) SWIG_fail
;
5176 arg3
= PyList_Size(obj2
);
5177 arg4
= wxString_LIST_helper(obj2
);
5178 if (arg4
== NULL
) SWIG_fail
;
5181 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5182 if (SWIG_arg_fail(5)) SWIG_fail
;
5186 arg6
= (int)(SWIG_As_int(obj4
));
5187 if (SWIG_arg_fail(6)) SWIG_fail
;
5192 arg7
= (int)(SWIG_As_int(obj5
));
5193 if (SWIG_arg_fail(7)) SWIG_fail
;
5198 arg8
= (bool)(SWIG_As_bool(obj6
));
5199 if (SWIG_arg_fail(8)) SWIG_fail
;
5204 arg9
= (int)(SWIG_As_int(obj7
));
5205 if (SWIG_arg_fail(9)) SWIG_fail
;
5210 arg10
= (int)(SWIG_As_int(obj8
));
5211 if (SWIG_arg_fail(10)) SWIG_fail
;
5215 if (!wxPyCheckForApp()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5238 if (arg4
) delete [] arg4
;
5251 if (arg4
) delete [] arg4
;
5257 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxString
*arg1
= 0 ;
5260 wxString
*arg2
= 0 ;
5262 wxString
*arg4
= (wxString
*) 0 ;
5263 wxWindow
*arg5
= (wxWindow
*) NULL
;
5264 int arg6
= (int) -1 ;
5265 int arg7
= (int) -1 ;
5266 bool arg8
= (bool) true ;
5267 int arg9
= (int) 150 ;
5268 int arg10
= (int) 200 ;
5270 bool temp1
= false ;
5271 bool temp2
= false ;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj1
= 0 ;
5274 PyObject
* obj2
= 0 ;
5275 PyObject
* obj3
= 0 ;
5276 PyObject
* obj4
= 0 ;
5277 PyObject
* obj5
= 0 ;
5278 PyObject
* obj6
= 0 ;
5279 PyObject
* obj7
= 0 ;
5280 PyObject
* obj8
= 0 ;
5282 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5287 arg1
= wxString_in_helper(obj0
);
5288 if (arg1
== NULL
) SWIG_fail
;
5292 arg2
= wxString_in_helper(obj1
);
5293 if (arg2
== NULL
) SWIG_fail
;
5297 arg3
= PyList_Size(obj2
);
5298 arg4
= wxString_LIST_helper(obj2
);
5299 if (arg4
== NULL
) SWIG_fail
;
5302 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(5)) SWIG_fail
;
5307 arg6
= (int)(SWIG_As_int(obj4
));
5308 if (SWIG_arg_fail(6)) SWIG_fail
;
5313 arg7
= (int)(SWIG_As_int(obj5
));
5314 if (SWIG_arg_fail(7)) SWIG_fail
;
5319 arg8
= (bool)(SWIG_As_bool(obj6
));
5320 if (SWIG_arg_fail(8)) SWIG_fail
;
5325 arg9
= (int)(SWIG_As_int(obj7
));
5326 if (SWIG_arg_fail(9)) SWIG_fail
;
5331 arg10
= (int)(SWIG_As_int(obj8
));
5332 if (SWIG_arg_fail(10)) SWIG_fail
;
5336 if (!wxPyCheckForApp()) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_From_int((int)(result
));
5355 if (arg4
) delete [] arg4
;
5368 if (arg4
) delete [] arg4
;
5374 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxString
*arg1
= 0 ;
5377 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5378 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5379 int arg3
= (int) wxOK
|wxCENTRE
;
5380 wxWindow
*arg4
= (wxWindow
*) NULL
;
5381 int arg5
= (int) -1 ;
5382 int arg6
= (int) -1 ;
5384 bool temp1
= false ;
5385 bool temp2
= false ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 PyObject
* obj2
= 0 ;
5389 PyObject
* obj3
= 0 ;
5390 PyObject
* obj4
= 0 ;
5391 PyObject
* obj5
= 0 ;
5393 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5398 arg1
= wxString_in_helper(obj0
);
5399 if (arg1
== NULL
) SWIG_fail
;
5404 arg2
= wxString_in_helper(obj1
);
5405 if (arg2
== NULL
) SWIG_fail
;
5411 arg3
= (int)(SWIG_As_int(obj2
));
5412 if (SWIG_arg_fail(3)) SWIG_fail
;
5416 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(4)) SWIG_fail
;
5421 arg5
= (int)(SWIG_As_int(obj4
));
5422 if (SWIG_arg_fail(5)) SWIG_fail
;
5427 arg6
= (int)(SWIG_As_int(obj5
));
5428 if (SWIG_arg_fail(6)) SWIG_fail
;
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_From_int((int)(result
));
5464 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxString
*arg1
= 0 ;
5467 wxString
*arg2
= 0 ;
5468 wxString
*arg3
= 0 ;
5470 long arg5
= (long) 0 ;
5471 long arg6
= (long) 100 ;
5472 wxWindow
*arg7
= (wxWindow
*) NULL
;
5473 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5474 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5476 bool temp1
= false ;
5477 bool temp2
= false ;
5478 bool temp3
= false ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5482 PyObject
* obj2
= 0 ;
5483 PyObject
* obj3
= 0 ;
5484 PyObject
* obj4
= 0 ;
5485 PyObject
* obj5
= 0 ;
5486 PyObject
* obj6
= 0 ;
5487 PyObject
* obj7
= 0 ;
5489 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5494 arg1
= wxString_in_helper(obj0
);
5495 if (arg1
== NULL
) SWIG_fail
;
5499 arg2
= wxString_in_helper(obj1
);
5500 if (arg2
== NULL
) SWIG_fail
;
5504 arg3
= wxString_in_helper(obj2
);
5505 if (arg3
== NULL
) SWIG_fail
;
5509 arg4
= (long)(SWIG_As_long(obj3
));
5510 if (SWIG_arg_fail(4)) SWIG_fail
;
5514 arg5
= (long)(SWIG_As_long(obj4
));
5515 if (SWIG_arg_fail(5)) SWIG_fail
;
5520 arg6
= (long)(SWIG_As_long(obj5
));
5521 if (SWIG_arg_fail(6)) SWIG_fail
;
5525 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(7)) SWIG_fail
;
5531 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5535 if (!wxPyCheckForApp()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_From_long((long)(result
));
5575 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5584 if (!wxPyCheckForApp()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (bool)wxColourDisplay();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5600 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)wxDisplayDepth();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_From_int((int)(result
));
5625 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (int)wxGetDisplayDepth();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_From_int((int)(result
));
5650 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 int *arg1
= (int *) 0 ;
5653 int *arg2
= (int *) 0 ;
5662 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5663 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5666 if (!wxPyCheckForApp()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxDisplaySize(arg1
,arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5675 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5676 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5677 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5684 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5693 if (!wxPyCheckForApp()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= wxGetDisplaySize();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5702 resultptr
= new wxSize((wxSize
&)(result
));
5703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5711 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 int *arg1
= (int *) 0 ;
5714 int *arg2
= (int *) 0 ;
5723 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5724 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxDisplaySizeMM(arg1
,arg2
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5736 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5737 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5738 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5745 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5754 if (!wxPyCheckForApp()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= wxGetDisplaySizeMM();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5763 resultptr
= new wxSize((wxSize
&)(result
));
5764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5772 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 int *arg1
= (int *) 0 ;
5775 int *arg2
= (int *) 0 ;
5776 int *arg3
= (int *) 0 ;
5777 int *arg4
= (int *) 0 ;
5790 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5791 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5792 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5793 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5796 if (!wxPyCheckForApp()) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5805 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5806 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5807 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5808 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5809 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5810 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5811 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5818 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5827 if (!wxPyCheckForApp()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= wxGetClientDisplayRect();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5836 resultptr
= new wxRect((wxRect
&)(result
));
5837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5845 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxCursor
*arg1
= 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "cursor", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5858 SWIG_null_ref("wxCursor");
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 if (!wxPyCheckForApp()) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5886 if (!wxPyCheckForApp()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (void *)wxGetXDisplay();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5900 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "cursor", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail
;
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxBeginBusyCursor(arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5928 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (wxWindow
*)wxGetActiveWindow();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= wxPyMake_wxObject(result
, 0);
5953 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5958 PyObject
* obj0
= 0 ;
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5966 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5969 if (!wxPyCheckForApp()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= wxPyMake_wxObject(result
, 0);
5985 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5990 PyObject
* obj0
= 0 ;
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5998 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6001 if (!wxPyCheckForApp()) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= wxPyMake_wxObject(result
, 0);
6017 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxWindow
*arg1
= (wxWindow
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6023 (char *) "win", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail
;
6030 if (!wxPyCheckForApp()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= wxPyMake_wxObject(result
, 0);
6046 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxString
*arg1
= 0 ;
6050 bool temp1
= false ;
6051 PyObject
* obj0
= 0 ;
6053 (char *) "url", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6058 arg1
= wxString_in_helper(obj0
);
6059 if (arg1
== NULL
) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6086 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "key", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6097 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if (!wxPyCheckForApp()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6117 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6125 if (!wxPyCheckForApp()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 wxWakeUpMainThread();
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6147 if (!wxPyCheckForApp()) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6169 if (!wxPyCheckForApp()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxMutexGuiLocker
*result
;
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6192 if (!wxPyCheckForApp()) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6206 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6216 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (bool)wxThread_IsMain();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6262 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxString
*arg1
= 0 ;
6266 bool temp1
= false ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "tip", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6274 arg1
= wxString_in_helper(obj0
);
6275 if (arg1
== NULL
) SWIG_fail
;
6279 if (!wxPyCheckForApp()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= wxPyMake_wxObject(result
, 1);
6303 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6306 wxString
*arg2
= 0 ;
6307 bool temp2
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6311 (char *) "self",(char *) "tip", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6318 arg2
= wxString_in_helper(obj1
);
6319 if (arg2
== NULL
) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetTip((wxString
const &)*arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6344 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (arg1
)->GetTip();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6376 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (wxWindow
*)(arg1
)->GetWindow();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= wxPyMake_wxObject(result
, 0);
6404 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "flag", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6414 arg1
= (bool)(SWIG_As_bool(obj0
));
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxToolTip::Enable(arg1
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "milliseconds", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6441 arg1
= (long)(SWIG_As_long(obj0
));
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 wxToolTip::SetDelay(arg1
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxWindow
*arg1
= (wxWindow
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "window",(char *) "size", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6485 if (!wxPyCheckForApp()) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6499 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxCaret
*arg1
= (wxCaret
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6509 if (SWIG_arg_fail(1)) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 wxCaret_Destroy(arg1
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 Py_INCREF(Py_None
); resultobj
= Py_None
;
6524 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxCaret
*arg1
= (wxCaret
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6530 (char *) "self", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (bool)(arg1
)->IsOk();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6552 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxCaret
*arg1
= (wxCaret
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6558 (char *) "self", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6563 if (SWIG_arg_fail(1)) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (bool)(arg1
)->IsVisible();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6580 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxCaret
*arg1
= (wxCaret
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (arg1
)->GetPosition();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 wxPoint
* resultptr
;
6601 resultptr
= new wxPoint((wxPoint
&)(result
));
6602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6610 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxCaret
*arg1
= (wxCaret
*) 0 ;
6613 int *arg2
= (int *) 0 ;
6614 int *arg3
= (int *) 0 ;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6625 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->GetPosition(arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6638 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6639 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6640 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6647 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxCaret
*arg1
= (wxCaret
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (arg1
)->GetSize();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6668 resultptr
= new wxSize((wxSize
&)(result
));
6669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6677 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxCaret
*arg1
= (wxCaret
*) 0 ;
6680 int *arg2
= (int *) 0 ;
6681 int *arg3
= (int *) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6692 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->GetSize(arg2
,arg3
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6704 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6705 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6706 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6707 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6714 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxCaret
*arg1
= (wxCaret
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxWindow
*)(arg1
)->GetWindow();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= wxPyMake_wxObject(result
, 0);
6742 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxCaret
*arg1
= (wxCaret
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 PyObject
* obj2
= 0 ;
6751 (char *) "self",(char *) "x",(char *) "y", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= (int)(SWIG_As_int(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 arg3
= (int)(SWIG_As_int(obj2
));
6763 if (SWIG_arg_fail(3)) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->Move(arg2
,arg3
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxCaret
*arg1
= (wxCaret
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "pt", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->Move((wxPoint
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxCaret
*arg1
= (wxCaret
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6818 PyObject
* obj2
= 0 ;
6820 (char *) "self",(char *) "width",(char *) "height", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6825 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 arg2
= (int)(SWIG_As_int(obj1
));
6828 if (SWIG_arg_fail(2)) SWIG_fail
;
6831 arg3
= (int)(SWIG_As_int(obj2
));
6832 if (SWIG_arg_fail(3)) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 (arg1
)->SetSize(arg2
,arg3
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 Py_INCREF(Py_None
); resultobj
= Py_None
;
6848 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxCaret
*arg1
= (wxCaret
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "size", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(1)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetSize((wxSize
const &)*arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCaret
*arg1
= (wxCaret
*) 0 ;
6883 int arg2
= (int) true ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "show", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 arg2
= (int)(SWIG_As_int(obj1
));
6896 if (SWIG_arg_fail(2)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxCaret
*arg1
= (wxCaret
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (int)wxCaret::GetBlinkTime();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_From_int((int)(result
));
6962 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "milliseconds", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6972 arg1
= (int)(SWIG_As_int(obj0
));
6973 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxCaret::SetBlinkTime(arg1
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6992 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6994 return Py_BuildValue((char *)"");
6996 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6999 wxBusyCursor
*result
;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "cursor", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(1)) SWIG_fail
;
7011 if (!wxPyCheckForApp()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7025 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7053 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7055 return Py_BuildValue((char *)"");
7057 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxWindow
*arg1
= (wxWindow
*) NULL
;
7060 wxWindowDisabler
*result
;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "winToSkip", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 if (!wxPyCheckForApp()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7086 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "self", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7111 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7114 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7116 return Py_BuildValue((char *)"");
7118 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxString
*arg1
= 0 ;
7122 bool temp1
= false ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "message", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7130 arg1
= wxString_in_helper(obj0
);
7131 if (arg1
== NULL
) SWIG_fail
;
7135 if (!wxPyCheckForApp()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7157 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7162 (char *) "self", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7185 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7187 return Py_BuildValue((char *)"");
7189 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxStopWatch
*result
;
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxStopWatch
*)new wxStopWatch();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7211 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7214 long arg2
= (long) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "t0", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7226 arg2
= (long)(SWIG_As_long(obj1
));
7227 if (SWIG_arg_fail(2)) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->Start(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "self", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7279 if (SWIG_arg_fail(1)) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_From_long((long)(result
));
7322 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7327 return Py_BuildValue((char *)"");
7329 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 int arg1
= (int) 9 ;
7332 int arg2
= (int) wxID_FILE1
;
7333 wxFileHistory
*result
;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "maxFiles",(char *) "idBase", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7343 arg1
= (int)(SWIG_As_int(obj0
));
7344 if (SWIG_arg_fail(1)) SWIG_fail
;
7349 arg2
= (int)(SWIG_As_int(obj1
));
7350 if (SWIG_arg_fail(2)) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7367 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7377 if (SWIG_arg_fail(1)) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7395 wxString
*arg2
= 0 ;
7396 bool temp2
= false ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "file", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7405 if (SWIG_arg_fail(1)) SWIG_fail
;
7407 arg2
= wxString_in_helper(obj1
);
7408 if (arg2
== NULL
) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7440 (char *) "self",(char *) "i", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail
;
7447 arg2
= (int)(SWIG_As_int(obj1
));
7448 if (SWIG_arg_fail(2)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->RemoveFileFromHistory(arg2
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7470 (char *) "self", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_From_int((int)(result
));
7492 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7495 wxMenu
*arg2
= (wxMenu
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "menu", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->UseMenu(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7524 wxMenu
*arg2
= (wxMenu
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "menu", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(2)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->RemoveMenu(arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7553 wxConfigBase
*arg2
= 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "config", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(2)) SWIG_fail
;
7567 SWIG_null_ref("wxConfigBase");
7569 if (SWIG_arg_fail(2)) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 (arg1
)->Load(*arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7585 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7588 wxConfigBase
*arg2
= 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "config", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(1)) SWIG_fail
;
7599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(2)) SWIG_fail
;
7602 SWIG_null_ref("wxConfigBase");
7604 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->Save(*arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 (arg1
)->AddFilesToMenu();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7648 wxMenu
*arg2
= (wxMenu
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "menu", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(2)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->AddFilesToMenu(arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7674 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "self",(char *) "i", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 arg2
= (int)(SWIG_As_int(obj1
));
7690 if (SWIG_arg_fail(2)) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7712 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_From_int((int)(result
));
7740 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxString
*arg1
= 0 ;
7750 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7751 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7752 wxSingleInstanceChecker
*result
;
7753 bool temp1
= false ;
7754 bool temp2
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "name",(char *) "path", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7769 arg2
= wxString_in_helper(obj1
);
7770 if (arg2
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7804 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSingleInstanceChecker
*result
;
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7826 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 Py_INCREF(Py_None
); resultobj
= Py_None
;
7851 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7854 wxString
*arg2
= 0 ;
7855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7858 bool temp2
= false ;
7859 bool temp3
= false ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 PyObject
* obj2
= 0 ;
7864 (char *) "self",(char *) "name",(char *) "path", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 arg2
= wxString_in_helper(obj1
);
7872 if (arg2
== NULL
) SWIG_fail
;
7877 arg3
= wxString_in_helper(obj2
);
7878 if (arg3
== NULL
) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7925 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7942 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7945 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7947 return Py_BuildValue((char *)"");
7949 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxWindow
*arg1
= (wxWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "window",(char *) "dc", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7962 if (SWIG_arg_fail(1)) SWIG_fail
;
7964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(2)) SWIG_fail
;
7967 SWIG_null_ref("wxDC");
7969 if (SWIG_arg_fail(2)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7987 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(1)) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (arg1
)->GetTip();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8044 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (size_t)(arg1
)->GetCurrentTip();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8072 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8075 wxString
*arg2
= 0 ;
8077 bool temp2
= false ;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8081 (char *) "self",(char *) "tip", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 arg2
= wxString_in_helper(obj1
);
8089 if (arg2
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8120 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8123 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8125 return Py_BuildValue((char *)"");
8127 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8130 wxPyTipProvider
*result
;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "currentTip", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8138 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8139 if (SWIG_arg_fail(1)) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8155 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8158 PyObject
*arg2
= (PyObject
*) 0 ;
8159 PyObject
*arg3
= (PyObject
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8164 (char *) "self",(char *) "self",(char *) "_class", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8169 if (SWIG_arg_fail(1)) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8191 return Py_BuildValue((char *)"");
8193 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxWindow
*arg1
= (wxWindow
*) 0 ;
8196 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8197 bool arg3
= (bool) true ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8203 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8208 if (SWIG_arg_fail(1)) SWIG_fail
;
8209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(2)) SWIG_fail
;
8213 arg3
= (bool)(SWIG_As_bool(obj2
));
8214 if (SWIG_arg_fail(3)) SWIG_fail
;
8218 if (!wxPyCheckForApp()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8234 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxString
*arg1
= 0 ;
8238 wxTipProvider
*result
;
8239 bool temp1
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "filename",(char *) "currentTip", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8248 arg1
= wxString_in_helper(obj0
);
8249 if (arg1
== NULL
) SWIG_fail
;
8253 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8254 if (SWIG_arg_fail(2)) SWIG_fail
;
8257 if (!wxPyCheckForApp()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8279 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8282 int arg2
= (int) -1 ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "owner",(char *) "id", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8297 arg2
= (int)(SWIG_As_int(obj1
));
8298 if (SWIG_arg_fail(2)) SWIG_fail
;
8302 if (!wxPyCheckForApp()) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8316 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8326 if (SWIG_arg_fail(1)) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8344 PyObject
*arg2
= (PyObject
*) 0 ;
8345 PyObject
*arg3
= (PyObject
*) 0 ;
8346 int arg4
= (int) 1 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8352 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg4
= (int)(SWIG_As_int(obj3
));
8363 if (SWIG_arg_fail(4)) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8383 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8384 int arg3
= (int) -1 ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8389 (char *) "self",(char *) "owner",(char *) "id", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8399 arg3
= (int)(SWIG_As_int(obj2
));
8400 if (SWIG_arg_fail(3)) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 (arg1
)->SetOwner(arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8420 wxEvtHandler
*result
;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= wxPyMake_wxObject(result
, 0);
8445 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8448 int arg2
= (int) -1 ;
8449 bool arg3
= (bool) false ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8455 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 arg2
= (int)(SWIG_As_int(obj1
));
8464 if (SWIG_arg_fail(2)) SWIG_fail
;
8469 arg3
= (bool)(SWIG_As_bool(obj2
));
8470 if (SWIG_arg_fail(3)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8525 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_From_int((int)(result
));
8570 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8576 (char *) "self", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8581 if (SWIG_arg_fail(1)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_From_int((int)(result
));
8626 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8629 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8631 return Py_BuildValue((char *)"");
8633 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 int arg1
= (int) 0 ;
8636 int arg2
= (int) 0 ;
8637 wxTimerEvent
*result
;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8641 (char *) "timerid",(char *) "interval", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 arg1
= (int)(SWIG_As_int(obj0
));
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8653 arg2
= (int)(SWIG_As_int(obj1
));
8654 if (SWIG_arg_fail(2)) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8671 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_From_int((int)(result
));
8699 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8704 return Py_BuildValue((char *)"");
8706 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8707 PyObject
*resultobj
;
8709 wxTimerRunner
*result
;
8710 PyObject
* obj0
= 0 ;
8712 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 SWIG_null_ref("wxTimer");
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 if (!wxPyCheckForApp()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8736 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8737 PyObject
*resultobj
;
8740 bool arg3
= (bool) false ;
8741 wxTimerRunner
*result
;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8749 if (SWIG_arg_fail(1)) SWIG_fail
;
8751 SWIG_null_ref("wxTimer");
8753 if (SWIG_arg_fail(1)) SWIG_fail
;
8756 arg2
= (int)(SWIG_As_int(obj1
));
8757 if (SWIG_arg_fail(2)) SWIG_fail
;
8761 arg3
= (bool)(SWIG_As_bool(obj2
));
8762 if (SWIG_arg_fail(3)) SWIG_fail
;
8766 if (!wxPyCheckForApp()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8780 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8785 argc
= PyObject_Length(args
);
8786 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8787 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8793 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8801 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8804 if ((argc
>= 2) && (argc
<= 3)) {
8808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8816 _v
= SWIG_Check_int(argv
[1]);
8819 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8821 _v
= SWIG_Check_bool(argv
[2]);
8823 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8829 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8834 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8839 (char *) "self", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8863 bool arg3
= (bool) false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= (int)(SWIG_As_int(obj1
));
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8880 arg3
= (bool)(SWIG_As_bool(obj2
));
8881 if (SWIG_arg_fail(3)) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->Start(arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8901 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8903 return Py_BuildValue((char *)"");
8905 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (wxLog
*)new wxLog();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8927 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)wxLog::IsEnabled();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 bool arg1
= (bool) true ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "doIt", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8963 arg1
= (bool)(SWIG_As_bool(obj0
));
8964 if (SWIG_arg_fail(1)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 result
= (bool)wxLog::EnableLogging(arg1
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8986 wxChar
*arg2
= (wxChar
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8990 PyObject
* obj2
= 0 ;
8992 (char *) "level",(char *) "szString",(char *) "t", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8997 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8998 if (SWIG_arg_fail(1)) SWIG_fail
;
9000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9001 if (SWIG_arg_fail(2)) SWIG_fail
;
9003 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
9004 if (SWIG_arg_fail(3)) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9020 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxLog
*arg1
= (wxLog
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9030 if (SWIG_arg_fail(1)) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxLog::FlushActive();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxLog
*)wxLog::GetActiveTarget();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9088 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxLog
*arg1
= (wxLog
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "pLogger", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9114 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 bool arg1
= (bool) true ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "bVerbose", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9167 arg1
= (bool)(SWIG_As_bool(obj0
));
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxLog::SetVerbose(arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "logLevel", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9195 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9196 if (SWIG_arg_fail(1)) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxLog::SetLogLevel(arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxLog::DontCreateOnDemand();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "ulMask", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9243 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxLog::SetTraceMask(arg1
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxString
*arg1
= 0 ;
9263 bool temp1
= false ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "str", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9271 arg1
= wxString_in_helper(obj0
);
9272 if (arg1
== NULL
) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxLog::AddTraceMask((wxString
const &)*arg1
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxString
*arg1
= 0 ;
9300 bool temp1
= false ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "str", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9308 arg1
= wxString_in_helper(obj0
);
9309 if (arg1
== NULL
) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxLog::ClearTraceMasks();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxArrayString
*result
;
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9367 result
= (wxArrayString
*) &_result_ref
;
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= wxArrayString2PyList_helper(*result
);
9382 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxChar
*arg1
= (wxChar
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxLog::SetTimestamp((wxChar
const *)arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 Py_INCREF(Py_None
); resultobj
= Py_None
;
9407 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)wxLog::GetVerbose();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9431 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (wxTraceMask
)wxLog::GetTraceMask();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9455 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxChar
*arg1
= (wxChar
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "mask", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (wxLogLevel
)wxLog::GetLogLevel();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9507 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (wxChar
*)wxLog::GetTimestamp();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9529 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= Log_TimeStamp();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9557 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxLog
*arg1
= (wxLog
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9567 if (SWIG_arg_fail(1)) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 wxLog_Destroy(arg1
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9585 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9587 return Py_BuildValue((char *)"");
9589 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxLogStderr
*result
;
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxLogStderr
*)new wxLogStderr();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9611 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9614 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9616 return Py_BuildValue((char *)"");
9618 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9621 wxLogTextCtrl
*result
;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "pTextCtrl", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9644 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9647 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9649 return Py_BuildValue((char *)"");
9651 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (wxLogGui
*)new wxLogGui();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9673 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9676 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9678 return Py_BuildValue((char *)"");
9680 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxFrame
*arg1
= (wxFrame
*) 0 ;
9683 wxString
*arg2
= 0 ;
9684 bool arg3
= (bool) true ;
9685 bool arg4
= (bool) true ;
9686 wxLogWindow
*result
;
9687 bool temp2
= false ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 PyObject
* obj2
= 0 ;
9691 PyObject
* obj3
= 0 ;
9693 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9706 arg3
= (bool)(SWIG_As_bool(obj2
));
9707 if (SWIG_arg_fail(3)) SWIG_fail
;
9712 arg4
= (bool)(SWIG_As_bool(obj3
));
9713 if (SWIG_arg_fail(4)) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9738 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9741 bool arg2
= (bool) true ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9745 (char *) "self",(char *) "bShow", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(1)) SWIG_fail
;
9753 arg2
= (bool)(SWIG_As_bool(obj1
));
9754 if (SWIG_arg_fail(2)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= wxPyMake_wxObject(result
, 0);
9799 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "self", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9825 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9860 (char *) "self",(char *) "bDoPass", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 arg2
= (bool)(SWIG_As_bool(obj1
));
9868 if (SWIG_arg_fail(2)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 (arg1
)->PassMessages(arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 Py_INCREF(Py_None
); resultobj
= Py_None
;
9884 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9887 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9889 return Py_BuildValue((char *)"");
9891 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxLog
*arg1
= (wxLog
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "logger", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxLogChain
*)new wxLogChain(arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9917 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9920 wxLog
*arg2
= (wxLog
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "logger", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(2)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 (arg1
)->SetLog(arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 Py_INCREF(Py_None
); resultobj
= Py_None
;
9946 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9953 (char *) "self",(char *) "bDoPass", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9960 arg2
= (bool)(SWIG_As_bool(obj1
));
9961 if (SWIG_arg_fail(2)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->PassMessages(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)(arg1
)->IsPassingMessages();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10005 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10016 if (SWIG_arg_fail(1)) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (wxLog
*)(arg1
)->GetOldLog();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10031 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10036 return Py_BuildValue((char *)"");
10038 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxLogBuffer
*result
;
10041 char *kwnames
[] = {
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (wxLogBuffer
*)new wxLogBuffer();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10060 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10071 if (SWIG_arg_fail(1)) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10076 result
= (wxString
*) &_result_ref
;
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10095 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 Py_INCREF(Py_None
); resultobj
= Py_None
;
10120 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10123 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10125 return Py_BuildValue((char *)"");
10127 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 unsigned long result
;
10130 char *kwnames
[] = {
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (unsigned long)wxSysErrorCode();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10151 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 unsigned long arg1
= (unsigned long) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "nErrCode", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10163 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10164 if (SWIG_arg_fail(1)) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= wxSysErrorMsg(arg1
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10187 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxString
*arg1
= 0 ;
10190 bool temp1
= false ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "msg", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10198 arg1
= wxString_in_helper(obj0
);
10199 if (arg1
== NULL
) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 wxPyLogFatalError((wxString
const &)*arg1
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 Py_INCREF(Py_None
); resultobj
= Py_None
;
10224 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxString
*arg1
= 0 ;
10227 bool temp1
= false ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "msg", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10235 arg1
= wxString_in_helper(obj0
);
10236 if (arg1
== NULL
) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 wxPyLogError((wxString
const &)*arg1
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxString
*arg1
= 0 ;
10264 bool temp1
= false ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "msg", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10272 arg1
= wxString_in_helper(obj0
);
10273 if (arg1
== NULL
) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 wxPyLogWarning((wxString
const &)*arg1
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 Py_INCREF(Py_None
); resultobj
= Py_None
;
10298 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxString
*arg1
= 0 ;
10301 bool temp1
= false ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "msg", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10309 arg1
= wxString_in_helper(obj0
);
10310 if (arg1
== NULL
) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 wxPyLogMessage((wxString
const &)*arg1
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxString
*arg1
= 0 ;
10338 bool temp1
= false ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "msg", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10346 arg1
= wxString_in_helper(obj0
);
10347 if (arg1
== NULL
) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 wxPyLogInfo((wxString
const &)*arg1
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxString
*arg1
= 0 ;
10375 bool temp1
= false ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "msg", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10383 arg1
= wxString_in_helper(obj0
);
10384 if (arg1
== NULL
) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxPyLogDebug((wxString
const &)*arg1
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxString
*arg1
= 0 ;
10412 bool temp1
= false ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "msg", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10420 arg1
= wxString_in_helper(obj0
);
10421 if (arg1
== NULL
) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 wxPyLogVerbose((wxString
const &)*arg1
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxString
*arg1
= 0 ;
10449 bool temp1
= false ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "msg", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10457 arg1
= wxString_in_helper(obj0
);
10458 if (arg1
== NULL
) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 wxPyLogStatus((wxString
const &)*arg1
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxFrame
*arg1
= (wxFrame
*) 0 ;
10486 wxString
*arg2
= 0 ;
10487 bool temp2
= false ;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "pFrame",(char *) "msg", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10496 if (SWIG_arg_fail(1)) SWIG_fail
;
10498 arg2
= wxString_in_helper(obj1
);
10499 if (arg2
== NULL
) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 Py_INCREF(Py_None
); resultobj
= Py_None
;
10524 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxString
*arg1
= 0 ;
10527 bool temp1
= false ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "msg", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10535 arg1
= wxString_in_helper(obj0
);
10536 if (arg1
== NULL
) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxPyLogSysError((wxString
const &)*arg1
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 unsigned long arg1
;
10564 wxString
*arg2
= 0 ;
10565 bool temp2
= false ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "level",(char *) "msg", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10574 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10575 if (SWIG_arg_fail(1)) SWIG_fail
;
10578 arg2
= wxString_in_helper(obj1
);
10579 if (arg2
== NULL
) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10605 PyObject
*resultobj
;
10606 unsigned long arg1
;
10607 wxString
*arg2
= 0 ;
10608 bool temp2
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10612 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10614 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 arg2
= wxString_in_helper(obj1
);
10619 if (arg2
== NULL
) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10644 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
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 ;
10653 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10655 arg1
= wxString_in_helper(obj0
);
10656 if (arg1
== NULL
) SWIG_fail
;
10660 arg2
= wxString_in_helper(obj1
);
10661 if (arg2
== NULL
) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10694 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10699 argc
= PyObject_Length(args
);
10700 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10701 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10706 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10710 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10713 return _wrap_LogTrace__SWIG_1(self
,args
);
10719 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10722 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10725 return _wrap_LogTrace__SWIG_0(self
,args
);
10730 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10735 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxString
*arg1
= 0 ;
10738 wxString
*arg2
= 0 ;
10739 bool temp1
= false ;
10740 bool temp2
= false ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "title",(char *) "text", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10749 arg1
= wxString_in_helper(obj0
);
10750 if (arg1
== NULL
) SWIG_fail
;
10754 arg2
= wxString_in_helper(obj1
);
10755 if (arg2
== NULL
) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10788 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10791 char *kwnames
[] = {
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (wxLogNull
*)new wxLogNull();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10810 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10838 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10840 return Py_BuildValue((char *)"");
10842 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10845 char *kwnames
[] = {
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxPyLog
*)new wxPyLog();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10864 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10867 PyObject
*arg2
= (PyObject
*) 0 ;
10868 PyObject
*arg3
= (PyObject
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "self",(char *) "_class", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10898 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10900 return Py_BuildValue((char *)"");
10902 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10905 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10906 int arg3
= (int) wxKILL_NOCHILDREN
;
10907 wxKillError result
;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10917 arg1
= (int)(SWIG_As_int(obj0
));
10918 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10923 if (SWIG_arg_fail(2)) SWIG_fail
;
10928 arg3
= (int)(SWIG_As_int(obj2
));
10929 if (SWIG_arg_fail(3)) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_From_int((result
));
10946 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "pid", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10957 arg1
= (int)(SWIG_As_int(obj0
));
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)wxPyProcess::Exists(arg1
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxString
*arg1
= 0 ;
10979 int arg2
= (int) wxEXEC_ASYNC
;
10980 wxPyProcess
*result
;
10981 bool temp1
= false ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "cmd",(char *) "flags", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10990 arg1
= wxString_in_helper(obj0
);
10991 if (arg1
== NULL
) SWIG_fail
;
10996 arg2
= (int)(SWIG_As_int(obj1
));
10997 if (SWIG_arg_fail(2)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11022 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11025 int arg2
= (int) -1 ;
11026 wxPyProcess
*result
;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "parent",(char *) "id", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail
;
11040 arg2
= (int)(SWIG_As_int(obj1
));
11041 if (SWIG_arg_fail(2)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11058 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11061 PyObject
*arg2
= (PyObject
*) 0 ;
11062 PyObject
*arg3
= (PyObject
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 PyObject
* obj2
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "self",(char *) "_class", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "pid",(char *) "status", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11103 if (SWIG_arg_fail(1)) SWIG_fail
;
11105 arg2
= (int)(SWIG_As_int(obj1
));
11106 if (SWIG_arg_fail(2)) SWIG_fail
;
11109 arg3
= (int)(SWIG_As_int(obj2
));
11110 if (SWIG_arg_fail(3)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->base_OnTerminate(arg2
,arg3
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11136 if (SWIG_arg_fail(1)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 (arg1
)->Redirect();
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11151 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11162 if (SWIG_arg_fail(1)) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 result
= (bool)(arg1
)->IsRedirected();
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11179 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11207 wxInputStream
*result
;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",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 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 wxPyInputStream
* _ptr
= NULL
;
11227 _ptr
= new wxPyInputStream(result
);
11229 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11237 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11240 wxInputStream
*result
;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 wxPyInputStream
* _ptr
= NULL
;
11260 _ptr
= new wxPyInputStream(result
);
11262 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11270 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11273 wxOutputStream
*result
;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11296 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11299 PyObject
* obj0
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11306 if (SWIG_arg_fail(1)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 (arg1
)->CloseOutput();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 Py_INCREF(Py_None
); resultobj
= Py_None
;
11321 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11349 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11360 if (SWIG_arg_fail(1)) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11377 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11388 if (SWIG_arg_fail(1)) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11405 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11408 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11410 return Py_BuildValue((char *)"");
11412 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 int arg1
= (int) 0 ;
11415 int arg2
= (int) 0 ;
11416 int arg3
= (int) 0 ;
11417 wxProcessEvent
*result
;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 PyObject
* obj2
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11428 arg1
= (int)(SWIG_As_int(obj0
));
11429 if (SWIG_arg_fail(1)) SWIG_fail
;
11434 arg2
= (int)(SWIG_As_int(obj1
));
11435 if (SWIG_arg_fail(2)) SWIG_fail
;
11440 arg3
= (int)(SWIG_As_int(obj2
));
11441 if (SWIG_arg_fail(3)) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11458 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11469 if (SWIG_arg_fail(1)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (int)(arg1
)->GetPid();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_int((int)(result
));
11486 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11497 if (SWIG_arg_fail(1)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (int)(arg1
)->GetExitCode();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_From_int((int)(result
));
11514 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "m_pid", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11526 if (SWIG_arg_fail(1)) SWIG_fail
;
11528 arg2
= (int)(SWIG_As_int(obj1
));
11529 if (SWIG_arg_fail(2)) SWIG_fail
;
11531 if (arg1
) (arg1
)->m_pid
= arg2
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11551 if (SWIG_arg_fail(1)) SWIG_fail
;
11552 result
= (int) ((arg1
)->m_pid
);
11555 resultobj
= SWIG_From_int((int)(result
));
11563 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self",(char *) "m_exitcode", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11575 if (SWIG_arg_fail(1)) SWIG_fail
;
11577 arg2
= (int)(SWIG_As_int(obj1
));
11578 if (SWIG_arg_fail(2)) SWIG_fail
;
11580 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11601 result
= (int) ((arg1
)->m_exitcode
);
11604 resultobj
= SWIG_From_int((int)(result
));
11612 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11615 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11617 return Py_BuildValue((char *)"");
11619 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxString
*arg1
= 0 ;
11622 int arg2
= (int) wxEXEC_ASYNC
;
11623 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11625 bool temp1
= false ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "command",(char *) "flags",(char *) "process", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11635 arg1
= wxString_in_helper(obj0
);
11636 if (arg1
== NULL
) SWIG_fail
;
11641 arg2
= (int)(SWIG_As_int(obj1
));
11642 if (SWIG_arg_fail(2)) SWIG_fail
;
11646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11647 if (SWIG_arg_fail(3)) SWIG_fail
;
11650 if (!wxPyCheckForApp()) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_long((long)(result
));
11674 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11677 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11678 wxKillError
*arg3
= (wxKillError
*) 0 ;
11679 int arg4
= (int) wxKILL_NOCHILDREN
;
11681 wxKillError temp3
;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11694 arg1
= (long)(SWIG_As_long(obj0
));
11695 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11700 if (SWIG_arg_fail(2)) SWIG_fail
;
11705 arg4
= (int)(SWIG_As_int(obj2
));
11706 if (SWIG_arg_fail(4)) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_From_int((int)(result
));
11721 o
= PyInt_FromLong((long) (*arg3
));
11722 resultobj
= t_output_helper(resultobj
, o
);
11730 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 int arg1
= (int) wxJOYSTICK1
;
11733 wxJoystick
*result
;
11734 PyObject
* obj0
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "joystick", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11742 arg1
= (int)(SWIG_As_int(obj0
));
11743 if (SWIG_arg_fail(1)) SWIG_fail
;
11747 if (!wxPyCheckForApp()) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (wxJoystick
*)new wxJoystick(arg1
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11761 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11771 if (SWIG_arg_fail(1)) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 Py_INCREF(Py_None
); resultobj
= Py_None
;
11786 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11797 if (SWIG_arg_fail(1)) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (arg1
)->GetPosition();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 wxPoint
* resultptr
;
11807 resultptr
= new wxPoint((wxPoint
&)(result
));
11808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11816 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11827 if (SWIG_arg_fail(1)) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (int)(arg1
)->GetZPosition();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= SWIG_From_int((int)(result
));
11844 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11848 PyObject
* obj0
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11855 if (SWIG_arg_fail(1)) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (int)(arg1
)->GetButtonState();
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_From_int((int)(result
));
11872 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (int)(arg1
)->GetPOVPosition();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_int((int)(result
));
11900 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (int)(arg1
)->GetPOVCTSPosition();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_From_int((int)(result
));
11928 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11939 if (SWIG_arg_fail(1)) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (int)(arg1
)->GetRudderPosition();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int((int)(result
));
11956 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (int)(arg1
)->GetUPosition();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_From_int((int)(result
));
11984 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (int)(arg1
)->GetVPosition();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_int((int)(result
));
12012 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)(arg1
)->GetMovementThreshold();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_From_int((int)(result
));
12040 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "threshold", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 arg2
= (int)(SWIG_As_int(obj1
));
12055 if (SWIG_arg_fail(2)) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 (arg1
)->SetMovementThreshold(arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 Py_INCREF(Py_None
); resultobj
= Py_None
;
12071 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (bool)(arg1
)->IsOk();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12099 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (int)(arg1
)->GetNumberJoysticks();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_From_int((int)(result
));
12127 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12138 if (SWIG_arg_fail(1)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)(arg1
)->GetManufacturerId();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_From_int((int)(result
));
12155 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12166 if (SWIG_arg_fail(1)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (int)(arg1
)->GetProductId();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_From_int((int)(result
));
12183 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (arg1
)->GetProductName();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12215 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (int)(arg1
)->GetXMin();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int((int)(result
));
12243 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (int)(arg1
)->GetYMin();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int((int)(result
));
12271 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (int)(arg1
)->GetZMin();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_From_int((int)(result
));
12299 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12310 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (int)(arg1
)->GetXMax();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_int((int)(result
));
12327 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12338 if (SWIG_arg_fail(1)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (int)(arg1
)->GetYMax();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_From_int((int)(result
));
12355 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (int)(arg1
)->GetZMax();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_From_int((int)(result
));
12383 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12394 if (SWIG_arg_fail(1)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (int)(arg1
)->GetNumberButtons();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_From_int((int)(result
));
12411 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12422 if (SWIG_arg_fail(1)) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (int)(arg1
)->GetNumberAxes();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_From_int((int)(result
));
12439 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12450 if (SWIG_arg_fail(1)) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (int)(arg1
)->GetMaxButtons();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= SWIG_From_int((int)(result
));
12467 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (int)(arg1
)->GetMaxAxes();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_From_int((int)(result
));
12495 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (int)(arg1
)->GetPollingMin();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_From_int((int)(result
));
12523 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (int)(arg1
)->GetPollingMax();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_From_int((int)(result
));
12551 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (int)(arg1
)->GetRudderMin();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= SWIG_From_int((int)(result
));
12579 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (int)(arg1
)->GetRudderMax();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_From_int((int)(result
));
12607 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (int)(arg1
)->GetUMin();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_From_int((int)(result
));
12635 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12646 if (SWIG_arg_fail(1)) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (int)(arg1
)->GetUMax();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_From_int((int)(result
));
12663 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12674 if (SWIG_arg_fail(1)) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (int)(arg1
)->GetVMin();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_From_int((int)(result
));
12691 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12702 if (SWIG_arg_fail(1)) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (int)(arg1
)->GetVMax();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= SWIG_From_int((int)(result
));
12719 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12730 if (SWIG_arg_fail(1)) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (bool)(arg1
)->HasRudder();
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12747 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12758 if (SWIG_arg_fail(1)) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (bool)(arg1
)->HasZ();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12775 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (bool)(arg1
)->HasU();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12814 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->HasV();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12831 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->HasPOV();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12859 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12870 if (SWIG_arg_fail(1)) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (bool)(arg1
)->HasPOV4Dir();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12887 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->HasPOVCTS();
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12915 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12918 wxWindow
*arg2
= (wxWindow
*) 0 ;
12919 int arg3
= (int) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12932 if (SWIG_arg_fail(2)) SWIG_fail
;
12935 arg3
= (int)(SWIG_As_int(obj2
));
12936 if (SWIG_arg_fail(3)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12955 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (bool)(arg1
)->ReleaseCapture();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12983 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12986 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12988 return Py_BuildValue((char *)"");
12990 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12993 int arg2
= (int) 0 ;
12994 int arg3
= (int) wxJOYSTICK1
;
12995 int arg4
= (int) 0 ;
12996 wxJoystickEvent
*result
;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 PyObject
* obj2
= 0 ;
13000 PyObject
* obj3
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13008 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13009 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 arg2
= (int)(SWIG_As_int(obj1
));
13015 if (SWIG_arg_fail(2)) SWIG_fail
;
13020 arg3
= (int)(SWIG_As_int(obj2
));
13021 if (SWIG_arg_fail(3)) SWIG_fail
;
13026 arg4
= (int)(SWIG_As_int(obj3
));
13027 if (SWIG_arg_fail(4)) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13044 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 wxPoint
* resultptr
;
13065 resultptr
= new wxPoint((wxPoint
&)(result
));
13066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13074 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_From_int((int)(result
));
13102 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_From_int((int)(result
));
13130 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13141 if (SWIG_arg_fail(1)) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_From_int((int)(result
));
13158 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_From_int((int)(result
));
13186 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "stick", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 arg2
= (int)(SWIG_As_int(obj1
));
13201 if (SWIG_arg_fail(2)) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 (arg1
)->SetJoystick(arg2
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "state", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 arg2
= (int)(SWIG_As_int(obj1
));
13232 if (SWIG_arg_fail(2)) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->SetButtonState(arg2
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "change", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail
;
13262 arg2
= (int)(SWIG_As_int(obj1
));
13263 if (SWIG_arg_fail(2)) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->SetButtonChange(arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13282 wxPoint
*arg2
= 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "pos", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 Py_INCREF(Py_None
); resultobj
= Py_None
;
13311 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "zPos", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13325 arg2
= (int)(SWIG_As_int(obj1
));
13326 if (SWIG_arg_fail(2)) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetZPosition(arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13353 if (SWIG_arg_fail(1)) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13381 if (SWIG_arg_fail(1)) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13398 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13409 if (SWIG_arg_fail(1)) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13429 int arg2
= (int) wxJOY_BUTTON_ANY
;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "but", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13439 if (SWIG_arg_fail(1)) SWIG_fail
;
13442 arg2
= (int)(SWIG_As_int(obj1
));
13443 if (SWIG_arg_fail(2)) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13462 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13465 int arg2
= (int) wxJOY_BUTTON_ANY
;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "but", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail
;
13478 arg2
= (int)(SWIG_As_int(obj1
));
13479 if (SWIG_arg_fail(2)) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13501 int arg2
= (int) wxJOY_BUTTON_ANY
;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "but", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13514 arg2
= (int)(SWIG_As_int(obj1
));
13515 if (SWIG_arg_fail(2)) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13537 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13539 return Py_BuildValue((char *)"");
13541 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13544 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13546 bool temp1
= false ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "fileName", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13555 arg1
= wxString_in_helper(obj0
);
13556 if (arg1
== NULL
) SWIG_fail
;
13561 if (!wxPyCheckForApp()) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13583 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 PyObject
*arg1
= (PyObject
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "data", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13595 if (!wxPyCheckForApp()) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxSound
*)new_wxSound(arg1
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13609 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxSound
*arg1
= (wxSound
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13619 if (SWIG_arg_fail(1)) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxSound
*arg1
= (wxSound
*) 0 ;
13637 wxString
*arg2
= 0 ;
13639 bool temp2
= false ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "fileName", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13648 if (SWIG_arg_fail(1)) SWIG_fail
;
13650 arg2
= wxString_in_helper(obj1
);
13651 if (arg2
== NULL
) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13678 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxSound
*arg1
= (wxSound
*) 0 ;
13681 PyObject
*arg2
= (PyObject
*) 0 ;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "data", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13691 if (SWIG_arg_fail(1)) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxSound
*arg1
= (wxSound
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13720 if (SWIG_arg_fail(1)) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)(arg1
)->IsOk();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxSound
*arg1
= (wxSound
*) 0 ;
13740 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "flags", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13750 if (SWIG_arg_fail(1)) SWIG_fail
;
13753 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13754 if (SWIG_arg_fail(2)) SWIG_fail
;
13758 if (!wxPyCheckForApp()) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxString
*arg1
= 0 ;
13777 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13779 bool temp1
= false ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "filename",(char *) "flags", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13788 arg1
= wxString_in_helper(obj0
);
13789 if (arg1
== NULL
) SWIG_fail
;
13794 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13795 if (SWIG_arg_fail(2)) SWIG_fail
;
13799 if (!wxPyCheckForApp()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13823 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 char *kwnames
[] = {
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13831 if (!wxPyCheckForApp()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13848 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13850 return Py_BuildValue((char *)"");
13852 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxString
*arg1
= 0 ;
13855 wxString
*arg2
= 0 ;
13856 wxString
*arg3
= 0 ;
13857 wxString
*arg4
= 0 ;
13858 wxFileTypeInfo
*result
;
13859 bool temp1
= false ;
13860 bool temp2
= false ;
13861 bool temp3
= false ;
13862 bool temp4
= false ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13873 arg1
= wxString_in_helper(obj0
);
13874 if (arg1
== NULL
) SWIG_fail
;
13878 arg2
= wxString_in_helper(obj1
);
13879 if (arg2
== NULL
) SWIG_fail
;
13883 arg3
= wxString_in_helper(obj2
);
13884 if (arg3
== NULL
) SWIG_fail
;
13888 arg4
= wxString_in_helper(obj3
);
13889 if (arg4
== NULL
) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13938 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxArrayString
*arg1
= 0 ;
13941 wxFileTypeInfo
*result
;
13942 bool temp1
= false ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "sArray", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13950 if (! PySequence_Check(obj0
)) {
13951 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13954 arg1
= new wxArrayString
;
13956 int i
, len
=PySequence_Length(obj0
);
13957 for (i
=0; i
<len
; i
++) {
13958 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13959 wxString
* s
= wxString_in_helper(item
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13975 if (temp1
) delete arg1
;
13980 if (temp1
) delete arg1
;
13986 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxFileTypeInfo
*result
;
13989 char *kwnames
[] = {
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14008 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14019 if (SWIG_arg_fail(1)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14036 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14039 wxString
*arg2
= 0 ;
14040 int arg3
= (int) 0 ;
14041 bool temp2
= false ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail
;
14053 arg2
= wxString_in_helper(obj1
);
14054 if (arg2
== NULL
) SWIG_fail
;
14059 arg3
= (int)(SWIG_As_int(obj2
));
14060 if (SWIG_arg_fail(3)) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14088 wxString
*arg2
= 0 ;
14089 bool temp2
= false ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self",(char *) "shortDesc", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14098 if (SWIG_arg_fail(1)) SWIG_fail
;
14100 arg2
= wxString_in_helper(obj1
);
14101 if (arg2
== NULL
) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 Py_INCREF(Py_None
); resultobj
= Py_None
;
14126 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14142 result
= (wxString
*) &_result_ref
;
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14152 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14161 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14172 if (SWIG_arg_fail(1)) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14177 result
= (wxString
*) &_result_ref
;
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14196 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14207 if (SWIG_arg_fail(1)) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14212 result
= (wxString
*) &_result_ref
;
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14231 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14242 if (SWIG_arg_fail(1)) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14247 result
= (wxString
*) &_result_ref
;
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14266 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14277 if (SWIG_arg_fail(1)) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14282 result
= (wxString
*) &_result_ref
;
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14292 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14301 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14304 wxArrayString
*result
;
14305 PyObject
* obj0
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14312 if (SWIG_arg_fail(1)) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14317 result
= (wxArrayString
*) &_result_ref
;
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= wxArrayString2PyList_helper(*result
);
14332 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_int((int)(result
));
14360 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14371 if (SWIG_arg_fail(1)) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14376 result
= (wxString
*) &_result_ref
;
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14386 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14395 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14406 if (SWIG_arg_fail(1)) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_From_int((int)(result
));
14423 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14426 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14428 return Py_BuildValue((char *)"");
14430 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxFileTypeInfo
*arg1
= 0 ;
14433 wxFileType
*result
;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "ftInfo", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14443 if (arg1
== NULL
) {
14444 SWIG_null_ref("wxFileTypeInfo");
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14462 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxFileType
*arg1
= (wxFileType
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14472 if (SWIG_arg_fail(1)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxFileType
*arg1
= (wxFileType
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
;
14513 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxFileType
*arg1
= (wxFileType
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
;
14539 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxFileType
*arg1
= (wxFileType
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= result
;
14565 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxFileType
*arg1
= (wxFileType
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14591 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxFileType
*arg1
= (wxFileType
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= result
;
14617 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxFileType
*arg1
= (wxFileType
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14628 if (SWIG_arg_fail(1)) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
;
14643 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxFileType
*arg1
= (wxFileType
*) 0 ;
14646 wxString
*arg2
= 0 ;
14647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14650 bool temp2
= false ;
14651 bool temp3
= false ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 arg2
= wxString_in_helper(obj1
);
14664 if (arg2
== NULL
) SWIG_fail
;
14669 arg3
= wxString_in_helper(obj2
);
14670 if (arg3
== NULL
) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= result
;
14704 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxFileType
*arg1
= (wxFileType
*) 0 ;
14707 wxString
*arg2
= 0 ;
14708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14711 bool temp2
= false ;
14712 bool temp3
= false ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 PyObject
* obj2
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14722 if (SWIG_arg_fail(1)) SWIG_fail
;
14724 arg2
= wxString_in_helper(obj1
);
14725 if (arg2
== NULL
) SWIG_fail
;
14730 arg3
= wxString_in_helper(obj2
);
14731 if (arg3
== NULL
) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
;
14765 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxFileType
*arg1
= (wxFileType
*) 0 ;
14768 wxString
*arg2
= 0 ;
14769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14772 bool temp2
= false ;
14773 bool temp3
= false ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 PyObject
* obj2
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14783 if (SWIG_arg_fail(1)) SWIG_fail
;
14785 arg2
= wxString_in_helper(obj1
);
14786 if (arg2
== NULL
) SWIG_fail
;
14791 arg3
= wxString_in_helper(obj2
);
14792 if (arg3
== NULL
) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
;
14826 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxFileType
*arg1
= (wxFileType
*) 0 ;
14829 wxString
*arg2
= 0 ;
14830 wxString
*arg3
= 0 ;
14831 bool arg4
= (bool) true ;
14833 bool temp2
= false ;
14834 bool temp3
= false ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 PyObject
* obj2
= 0 ;
14838 PyObject
* obj3
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14845 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 arg2
= wxString_in_helper(obj1
);
14848 if (arg2
== NULL
) SWIG_fail
;
14852 arg3
= wxString_in_helper(obj2
);
14853 if (arg3
== NULL
) SWIG_fail
;
14858 arg4
= (bool)(SWIG_As_bool(obj3
));
14859 if (SWIG_arg_fail(4)) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14894 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxFileType
*arg1
= (wxFileType
*) 0 ;
14897 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14898 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14899 int arg3
= (int) 0 ;
14901 bool temp2
= false ;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 PyObject
* obj2
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "cmd",(char *) "index", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14911 if (SWIG_arg_fail(1)) SWIG_fail
;
14914 arg2
= wxString_in_helper(obj1
);
14915 if (arg2
== NULL
) SWIG_fail
;
14921 arg3
= (int)(SWIG_As_int(obj2
));
14922 if (SWIG_arg_fail(3)) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14949 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxFileType
*arg1
= (wxFileType
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14960 if (SWIG_arg_fail(1)) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (bool)(arg1
)->Unassociate();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14977 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxString
*arg1
= 0 ;
14980 wxString
*arg2
= 0 ;
14981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14984 bool temp1
= false ;
14985 bool temp2
= false ;
14986 bool temp3
= false ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14996 arg1
= wxString_in_helper(obj0
);
14997 if (arg1
== NULL
) SWIG_fail
;
15001 arg2
= wxString_in_helper(obj1
);
15002 if (arg2
== NULL
) SWIG_fail
;
15007 arg3
= wxString_in_helper(obj2
);
15008 if (arg3
== NULL
) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15056 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15059 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15061 return Py_BuildValue((char *)"");
15063 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15064 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15069 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15072 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15077 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxString
*arg1
= 0 ;
15080 wxString
*arg2
= 0 ;
15082 bool temp1
= false ;
15083 bool temp2
= false ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "mimeType",(char *) "wildcard", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 arg1
= wxString_in_helper(obj0
);
15093 if (arg1
== NULL
) SWIG_fail
;
15097 arg2
= wxString_in_helper(obj1
);
15098 if (arg2
== NULL
) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxMimeTypesManager
*result
;
15136 char *kwnames
[] = {
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15155 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15158 int arg2
= (int) wxMAILCAP_ALL
;
15159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15161 bool temp3
= false ;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 PyObject
* obj2
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15174 arg2
= (int)(SWIG_As_int(obj1
));
15175 if (SWIG_arg_fail(2)) SWIG_fail
;
15180 arg3
= wxString_in_helper(obj2
);
15181 if (arg3
== NULL
) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15207 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 (arg1
)->ClearData();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15232 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15235 wxString
*arg2
= 0 ;
15236 wxFileType
*result
;
15237 bool temp2
= false ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "ext", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15248 arg2
= wxString_in_helper(obj1
);
15249 if (arg2
== NULL
) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15274 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15277 wxString
*arg2
= 0 ;
15278 wxFileType
*result
;
15279 bool temp2
= false ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "mimeType", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15290 arg2
= wxString_in_helper(obj1
);
15291 if (arg2
== NULL
) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15316 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15319 wxString
*arg2
= 0 ;
15320 bool arg3
= (bool) false ;
15322 bool temp2
= false ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 PyObject
* obj2
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
15335 if (arg2
== NULL
) SWIG_fail
;
15340 arg3
= (bool)(SWIG_As_bool(obj2
));
15341 if (SWIG_arg_fail(3)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15368 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15371 wxString
*arg2
= 0 ;
15373 bool temp2
= false ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "filename", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 arg2
= wxString_in_helper(obj1
);
15385 if (arg2
== NULL
) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
;
15438 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15441 wxFileTypeInfo
*arg2
= 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "ft", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15454 if (arg2
== NULL
) {
15455 SWIG_null_ref("wxFileTypeInfo");
15457 if (SWIG_arg_fail(2)) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15476 wxFileTypeInfo
*arg2
= 0 ;
15477 wxFileType
*result
;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "ftInfo", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(2)) SWIG_fail
;
15490 if (arg2
== NULL
) {
15491 SWIG_null_ref("wxFileTypeInfo");
15493 if (SWIG_arg_fail(2)) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15509 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15512 wxFileType
*arg2
= (wxFileType
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "ft", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15524 if (SWIG_arg_fail(2)) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)(arg1
)->Unassociate(arg2
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15551 if (SWIG_arg_fail(1)) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 Py_INCREF(Py_None
); resultobj
= Py_None
;
15566 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15569 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15571 return Py_BuildValue((char *)"");
15573 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15574 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15579 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15584 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15586 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15593 static int _wrap_ART_MENU_set(PyObject
*) {
15594 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15599 static PyObject
*_wrap_ART_MENU_get(void) {
15604 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15606 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15613 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15614 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15619 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15624 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15626 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15633 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15634 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15639 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15644 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15646 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15653 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15654 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15659 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15664 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15666 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15673 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15674 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15679 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15684 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15686 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15693 static int _wrap_ART_BUTTON_set(PyObject
*) {
15694 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15699 static PyObject
*_wrap_ART_BUTTON_get(void) {
15704 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15706 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15713 static int _wrap_ART_OTHER_set(PyObject
*) {
15714 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15719 static PyObject
*_wrap_ART_OTHER_get(void) {
15724 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15726 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15733 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15734 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15739 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15744 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15746 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15753 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15754 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15759 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15764 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15766 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15773 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15774 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15779 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15784 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15786 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15793 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15794 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15799 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15804 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15806 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15813 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15814 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15819 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15824 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15826 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15833 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15834 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15839 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15844 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15846 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15853 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15854 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15859 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15864 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15866 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15873 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15874 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15879 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15884 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15886 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15893 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15894 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15899 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15904 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15906 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15913 static int _wrap_ART_GO_UP_set(PyObject
*) {
15914 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15919 static PyObject
*_wrap_ART_GO_UP_get(void) {
15924 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15926 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15933 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15934 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15939 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15944 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15946 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15953 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15954 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15959 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15964 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15966 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15973 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15974 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15979 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15984 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15986 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15993 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15994 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15999 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16004 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16006 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16013 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16014 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16019 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16024 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16026 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16033 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16034 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16039 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16044 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16046 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16053 static int _wrap_ART_PRINT_set(PyObject
*) {
16054 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16059 static PyObject
*_wrap_ART_PRINT_get(void) {
16064 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16066 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16073 static int _wrap_ART_HELP_set(PyObject
*) {
16074 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16079 static PyObject
*_wrap_ART_HELP_get(void) {
16084 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16086 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16093 static int _wrap_ART_TIP_set(PyObject
*) {
16094 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16099 static PyObject
*_wrap_ART_TIP_get(void) {
16104 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16106 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16113 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16114 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16119 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16124 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16126 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16133 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16134 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16139 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16144 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16146 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16153 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16154 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16159 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16164 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16166 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16173 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16174 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16179 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16184 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16186 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16193 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16194 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16199 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16204 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16206 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16213 static int _wrap_ART_CDROM_set(PyObject
*) {
16214 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16219 static PyObject
*_wrap_ART_CDROM_get(void) {
16224 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16226 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16233 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16234 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16239 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16244 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16246 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16253 static int _wrap_ART_FOLDER_set(PyObject
*) {
16254 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16259 static PyObject
*_wrap_ART_FOLDER_get(void) {
16264 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16266 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16273 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16274 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16279 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16284 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16286 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16293 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16294 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16299 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16304 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16306 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16313 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16314 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16319 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16324 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16326 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16333 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16334 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16339 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16344 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16346 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16353 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16354 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16359 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16364 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16366 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16373 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16379 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16384 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16386 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16393 static int _wrap_ART_ERROR_set(PyObject
*) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16399 static PyObject
*_wrap_ART_ERROR_get(void) {
16404 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16413 static int _wrap_ART_QUESTION_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16419 static PyObject
*_wrap_ART_QUESTION_get(void) {
16424 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16433 static int _wrap_ART_WARNING_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16439 static PyObject
*_wrap_ART_WARNING_get(void) {
16444 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16453 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16459 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16464 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16473 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16479 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16484 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16493 static int _wrap_ART_COPY_set(PyObject
*) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16499 static PyObject
*_wrap_ART_COPY_get(void) {
16504 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16506 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16513 static int _wrap_ART_CUT_set(PyObject
*) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16519 static PyObject
*_wrap_ART_CUT_get(void) {
16524 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16526 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16533 static int _wrap_ART_PASTE_set(PyObject
*) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16539 static PyObject
*_wrap_ART_PASTE_get(void) {
16544 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16546 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16553 static int _wrap_ART_DELETE_set(PyObject
*) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16559 static PyObject
*_wrap_ART_DELETE_get(void) {
16564 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16566 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16573 static int _wrap_ART_NEW_set(PyObject
*) {
16574 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
16579 static PyObject
*_wrap_ART_NEW_get(void) {
16584 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16586 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
16593 static int _wrap_ART_UNDO_set(PyObject
*) {
16594 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16599 static PyObject
*_wrap_ART_UNDO_get(void) {
16604 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16606 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16613 static int _wrap_ART_REDO_set(PyObject
*) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16619 static PyObject
*_wrap_ART_REDO_get(void) {
16624 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16626 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16633 static int _wrap_ART_QUIT_set(PyObject
*) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16639 static PyObject
*_wrap_ART_QUIT_get(void) {
16644 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16646 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16653 static int _wrap_ART_FIND_set(PyObject
*) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16659 static PyObject
*_wrap_ART_FIND_get(void) {
16664 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16666 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16673 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16679 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16684 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16686 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16693 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxPyArtProvider
*result
;
16696 char *kwnames
[] = {
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16702 if (!wxPyCheckForApp()) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16716 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16719 PyObject
*arg2
= (PyObject
*) 0 ;
16720 PyObject
*arg3
= (PyObject
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 PyObject
* obj2
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self",(char *) "self",(char *) "_class", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "provider", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16757 if (SWIG_arg_fail(1)) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 wxPyArtProvider::PushProvider(arg1
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16775 char *kwnames
[] = {
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (bool)wxPyArtProvider::PopProvider();
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16796 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "provider", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16807 if (SWIG_arg_fail(1)) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16824 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxString
*arg1
= 0 ;
16827 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16828 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16829 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16830 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16832 bool temp1
= false ;
16833 bool temp2
= false ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 PyObject
* obj2
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "id",(char *) "client",(char *) "size", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16844 arg1
= wxString_in_helper(obj0
);
16845 if (arg1
== NULL
) SWIG_fail
;
16850 arg2
= wxString_in_helper(obj1
);
16851 if (arg2
== NULL
) SWIG_fail
;
16858 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16862 if (!wxPyCheckForApp()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 wxBitmap
* resultptr
;
16871 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16896 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxString
*arg1
= 0 ;
16899 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16900 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16901 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16902 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16904 bool temp1
= false ;
16905 bool temp2
= false ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 PyObject
* obj2
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "id",(char *) "client",(char *) "size", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16916 arg1
= wxString_in_helper(obj0
);
16917 if (arg1
== NULL
) SWIG_fail
;
16922 arg2
= wxString_in_helper(obj1
);
16923 if (arg2
== NULL
) SWIG_fail
;
16930 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16934 if (!wxPyCheckForApp()) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 wxIcon
* resultptr
;
16943 resultptr
= new wxIcon((wxIcon
&)(result
));
16944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16968 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxString
*arg1
= 0 ;
16971 bool arg2
= (bool) false ;
16973 bool temp1
= false ;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "client",(char *) "platform_dependent", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 arg1
= wxString_in_helper(obj0
);
16983 if (arg1
== NULL
) SWIG_fail
;
16988 arg2
= (bool)(SWIG_As_bool(obj1
));
16989 if (SWIG_arg_fail(2)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 wxSize
* resultptr
;
17001 resultptr
= new wxSize((wxSize
&)(result
));
17002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17018 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17028 if (SWIG_arg_fail(1)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 wxPyArtProvider_Destroy(arg1
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17043 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17046 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17048 return Py_BuildValue((char *)"");
17050 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17078 wxConfigBase
*result
;
17079 PyObject
* obj0
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "config", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17101 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 bool arg1
= (bool) true ;
17104 wxConfigBase
*result
;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "createOnDemand", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17113 arg1
= (bool)(SWIG_As_bool(obj0
));
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17131 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxConfigBase
*result
;
17134 char *kwnames
[] = {
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (wxConfigBase
*)wxConfigBase::Create();
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17153 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 char *kwnames
[] = {
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 wxConfigBase::DontCreateOnDemand();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17177 wxString
*arg2
= 0 ;
17178 bool temp2
= false ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "path", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 arg2
= wxString_in_helper(obj1
);
17190 if (arg2
== NULL
) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 (arg1
)->SetPath((wxString
const &)*arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 Py_INCREF(Py_None
); resultobj
= Py_None
;
17215 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17231 result
= (wxString
*) &_result_ref
;
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17241 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17250 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17261 if (SWIG_arg_fail(1)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= result
;
17276 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "index", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17291 arg2
= (long)(SWIG_As_long(obj1
));
17292 if (SWIG_arg_fail(2)) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= result
;
17308 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17319 if (SWIG_arg_fail(1)) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= result
;
17334 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "index", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17349 arg2
= (long)(SWIG_As_long(obj1
));
17350 if (SWIG_arg_fail(2)) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
;
17366 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17369 bool arg2
= (bool) false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "recursive", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17379 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 arg2
= (bool)(SWIG_As_bool(obj1
));
17383 if (SWIG_arg_fail(2)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17402 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17405 bool arg2
= (bool) false ;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "recursive", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17415 if (SWIG_arg_fail(1)) SWIG_fail
;
17418 arg2
= (bool)(SWIG_As_bool(obj1
));
17419 if (SWIG_arg_fail(2)) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17438 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17441 wxString
*arg2
= 0 ;
17443 bool temp2
= false ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "name", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 arg2
= wxString_in_helper(obj1
);
17455 if (arg2
== NULL
) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17482 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17485 wxString
*arg2
= 0 ;
17487 bool temp2
= false ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "name", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 arg2
= wxString_in_helper(obj1
);
17499 if (arg2
== NULL
) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17526 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17529 wxString
*arg2
= 0 ;
17531 bool temp2
= false ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "name", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 arg2
= wxString_in_helper(obj1
);
17543 if (arg2
== NULL
) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17570 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17573 wxString
*arg2
= 0 ;
17574 wxConfigBase::EntryType result
;
17575 bool temp2
= false ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "name", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) 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
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_From_int((result
));
17612 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17615 wxString
*arg2
= 0 ;
17616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17619 bool temp2
= false ;
17620 bool temp3
= false ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 arg2
= wxString_in_helper(obj1
);
17633 if (arg2
== NULL
) SWIG_fail
;
17638 arg3
= wxString_in_helper(obj2
);
17639 if (arg3
== NULL
) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17679 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17682 wxString
*arg2
= 0 ;
17683 long arg3
= (long) 0 ;
17685 bool temp2
= false ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 PyObject
* obj2
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17695 if (SWIG_arg_fail(1)) SWIG_fail
;
17697 arg2
= wxString_in_helper(obj1
);
17698 if (arg2
== NULL
) SWIG_fail
;
17703 arg3
= (long)(SWIG_As_long(obj2
));
17704 if (SWIG_arg_fail(3)) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_From_long((long)(result
));
17731 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17734 wxString
*arg2
= 0 ;
17735 double arg3
= (double) 0.0 ;
17737 bool temp2
= false ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 PyObject
* obj2
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17747 if (SWIG_arg_fail(1)) SWIG_fail
;
17749 arg2
= wxString_in_helper(obj1
);
17750 if (arg2
== NULL
) SWIG_fail
;
17755 arg3
= (double)(SWIG_As_double(obj2
));
17756 if (SWIG_arg_fail(3)) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_From_double((double)(result
));
17783 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17786 wxString
*arg2
= 0 ;
17787 bool arg3
= (bool) false ;
17789 bool temp2
= false ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 arg2
= wxString_in_helper(obj1
);
17802 if (arg2
== NULL
) SWIG_fail
;
17807 arg3
= (bool)(SWIG_As_bool(obj2
));
17808 if (SWIG_arg_fail(3)) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17838 wxString
*arg2
= 0 ;
17839 wxString
*arg3
= 0 ;
17841 bool temp2
= false ;
17842 bool temp3
= false ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 PyObject
* obj2
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self",(char *) "key",(char *) "value", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17852 if (SWIG_arg_fail(1)) SWIG_fail
;
17854 arg2
= wxString_in_helper(obj1
);
17855 if (arg2
== NULL
) SWIG_fail
;
17859 arg3
= wxString_in_helper(obj2
);
17860 if (arg3
== NULL
) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17895 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17898 wxString
*arg2
= 0 ;
17901 bool temp2
= false ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "key",(char *) "value", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 arg2
= wxString_in_helper(obj1
);
17914 if (arg2
== NULL
) SWIG_fail
;
17918 arg3
= (long)(SWIG_As_long(obj2
));
17919 if (SWIG_arg_fail(3)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17945 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17948 wxString
*arg2
= 0 ;
17951 bool temp2
= false ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "key",(char *) "value", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail
;
17963 arg2
= wxString_in_helper(obj1
);
17964 if (arg2
== NULL
) SWIG_fail
;
17968 arg3
= (double)(SWIG_As_double(obj2
));
17969 if (SWIG_arg_fail(3)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17998 wxString
*arg2
= 0 ;
18001 bool temp2
= false ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "key",(char *) "value", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18011 if (SWIG_arg_fail(1)) SWIG_fail
;
18013 arg2
= wxString_in_helper(obj1
);
18014 if (arg2
== NULL
) SWIG_fail
;
18018 arg3
= (bool)(SWIG_As_bool(obj2
));
18019 if (SWIG_arg_fail(3)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18045 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18048 bool arg2
= (bool) false ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "currentOnly", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail
;
18061 arg2
= (bool)(SWIG_As_bool(obj1
));
18062 if (SWIG_arg_fail(2)) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (bool)(arg1
)->Flush(arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18081 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18084 wxString
*arg2
= 0 ;
18085 wxString
*arg3
= 0 ;
18087 bool temp2
= false ;
18088 bool temp3
= false ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 PyObject
* obj2
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 arg2
= wxString_in_helper(obj1
);
18101 if (arg2
== NULL
) SWIG_fail
;
18105 arg3
= wxString_in_helper(obj2
);
18106 if (arg3
== NULL
) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18141 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18144 wxString
*arg2
= 0 ;
18145 wxString
*arg3
= 0 ;
18147 bool temp2
= false ;
18148 bool temp3
= false ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 arg2
= wxString_in_helper(obj1
);
18161 if (arg2
== NULL
) SWIG_fail
;
18165 arg3
= wxString_in_helper(obj2
);
18166 if (arg3
== NULL
) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18201 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18204 wxString
*arg2
= 0 ;
18205 bool arg3
= (bool) true ;
18207 bool temp2
= false ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18219 arg2
= wxString_in_helper(obj1
);
18220 if (arg2
== NULL
) SWIG_fail
;
18225 arg3
= (bool)(SWIG_As_bool(obj2
));
18226 if (SWIG_arg_fail(3)) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18253 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18256 wxString
*arg2
= 0 ;
18258 bool temp2
= false ;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "key", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18267 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 arg2
= wxString_in_helper(obj1
);
18270 if (arg2
== NULL
) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18297 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (bool)(arg1
)->DeleteAll();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18325 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18328 bool arg2
= (bool) true ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "doIt", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18337 if (SWIG_arg_fail(1)) SWIG_fail
;
18340 arg2
= (bool)(SWIG_As_bool(obj1
));
18341 if (SWIG_arg_fail(2)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetExpandEnvVars(arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18386 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18389 bool arg2
= (bool) true ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "doIt", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 arg2
= (bool)(SWIG_As_bool(obj1
));
18402 if (SWIG_arg_fail(2)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetRecordDefaults(arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18447 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18450 wxString
*arg2
= 0 ;
18452 bool temp2
= false ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "str", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",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 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18495 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18506 if (SWIG_arg_fail(1)) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18527 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18559 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18562 wxString
*arg2
= 0 ;
18563 bool temp2
= false ;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "appName", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
18575 if (arg2
== NULL
) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->SetAppName((wxString
const &)*arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18603 wxString
*arg2
= 0 ;
18604 bool temp2
= false ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "vendorName", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail
;
18615 arg2
= wxString_in_helper(obj1
);
18616 if (arg2
== NULL
) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 Py_INCREF(Py_None
); resultobj
= Py_None
;
18641 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "style", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 arg2
= (long)(SWIG_As_long(obj1
));
18656 if (SWIG_arg_fail(2)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->SetStyle(arg2
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 Py_INCREF(Py_None
); resultobj
= Py_None
;
18672 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_From_long((long)(result
));
18700 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18703 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18705 return Py_BuildValue((char *)"");
18707 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18710 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18711 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18712 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18713 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18714 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18715 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18717 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18719 bool temp1
= false ;
18720 bool temp2
= false ;
18721 bool temp3
= false ;
18722 bool temp4
= false ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 PyObject
* obj3
= 0 ;
18727 PyObject
* obj4
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18735 arg1
= wxString_in_helper(obj0
);
18736 if (arg1
== NULL
) SWIG_fail
;
18742 arg2
= wxString_in_helper(obj1
);
18743 if (arg2
== NULL
) SWIG_fail
;
18749 arg3
= wxString_in_helper(obj2
);
18750 if (arg3
== NULL
) SWIG_fail
;
18756 arg4
= wxString_in_helper(obj3
);
18757 if (arg4
== NULL
) SWIG_fail
;
18763 arg5
= (long)(SWIG_As_long(obj4
));
18764 if (SWIG_arg_fail(5)) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18813 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxConfig
*arg1
= (wxConfig
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18841 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18843 return Py_BuildValue((char *)"");
18845 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18848 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18849 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18850 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18851 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18855 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18856 wxFileConfig
*result
;
18857 bool temp1
= false ;
18858 bool temp2
= false ;
18859 bool temp3
= false ;
18860 bool temp4
= false ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 PyObject
* obj3
= 0 ;
18865 PyObject
* obj4
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18873 arg1
= wxString_in_helper(obj0
);
18874 if (arg1
== NULL
) SWIG_fail
;
18880 arg2
= wxString_in_helper(obj1
);
18881 if (arg2
== NULL
) SWIG_fail
;
18887 arg3
= wxString_in_helper(obj2
);
18888 if (arg3
== NULL
) SWIG_fail
;
18894 arg4
= wxString_in_helper(obj3
);
18895 if (arg4
== NULL
) SWIG_fail
;
18901 arg5
= (long)(SWIG_As_long(obj4
));
18902 if (SWIG_arg_fail(5)) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18951 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18961 if (SWIG_arg_fail(1)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18979 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18981 return Py_BuildValue((char *)"");
18983 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18986 wxString
*arg2
= 0 ;
18987 wxConfigPathChanger
*result
;
18988 bool temp2
= false ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "config",(char *) "entry", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 arg2
= wxString_in_helper(obj1
);
19000 if (arg2
== NULL
) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19025 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19035 if (SWIG_arg_fail(1)) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 Py_INCREF(Py_None
); resultobj
= Py_None
;
19050 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19066 result
= (wxString
*) &_result_ref
;
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19085 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19088 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19090 return Py_BuildValue((char *)"");
19092 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxString
*arg1
= 0 ;
19096 bool temp1
= false ;
19097 PyObject
* obj0
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "sz", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19104 arg1
= wxString_in_helper(obj0
);
19105 if (arg1
== NULL
) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19136 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19137 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19142 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19147 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19149 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19156 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19157 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19162 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19167 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19169 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19176 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxDateTime::Country arg1
;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "country", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19186 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19187 if (SWIG_arg_fail(1)) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxDateTime::Country result
;
19206 char *kwnames
[] = {
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_From_int((result
));
19225 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19229 PyObject
* obj0
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "country", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19237 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19238 if (SWIG_arg_fail(1)) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19257 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "cal", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19269 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19270 if (SWIG_arg_fail(1)) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_From_int((int)(result
));
19289 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19293 PyObject
* obj0
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "year", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19300 arg1
= (int)(SWIG_As_int(obj0
));
19301 if (SWIG_arg_fail(1)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_From_int((int)(result
));
19319 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19322 wxDateTime::Month result
;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "cal", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19331 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19332 if (SWIG_arg_fail(1)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_From_int((result
));
19349 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 int arg1
= (int) wxDateTime::Inv_Year
;
19352 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "year",(char *) "cal", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 arg1
= (int)(SWIG_As_int(obj0
));
19364 if (SWIG_arg_fail(1)) SWIG_fail
;
19369 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19370 if (SWIG_arg_fail(2)) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19389 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 int arg1
= (int) wxDateTime::Inv_Year
;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "year", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19401 arg1
= (int)(SWIG_As_int(obj0
));
19402 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= (int)wxDateTime::GetCentury(arg1
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_From_int((int)(result
));
19421 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19424 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "year",(char *) "cal", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 arg1
= (int)(SWIG_As_int(obj0
));
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19439 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19440 if (SWIG_arg_fail(2)) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= SWIG_From_int((int)(result
));
19459 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxDateTime::Month arg1
;
19462 int arg2
= (int) wxDateTime::Inv_Year
;
19463 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "month",(char *) "year",(char *) "cal", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19474 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 arg2
= (int)(SWIG_As_int(obj1
));
19480 if (SWIG_arg_fail(2)) SWIG_fail
;
19485 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19486 if (SWIG_arg_fail(3)) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_From_int((int)(result
));
19505 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxDateTime::Month arg1
;
19508 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "month",(char *) "flags", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19518 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19519 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19524 if (SWIG_arg_fail(2)) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19547 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxDateTime::WeekDay arg1
;
19550 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "weekday",(char *) "flags", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19561 if (SWIG_arg_fail(1)) SWIG_fail
;
19565 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19566 if (SWIG_arg_fail(2)) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19589 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19592 char *kwnames
[] = {
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (PyObject
*)DateTime_GetAmPmStrings();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= result
;
19611 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 int arg1
= (int) wxDateTime::Inv_Year
;
19614 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "year",(char *) "country", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 arg1
= (int)(SWIG_As_int(obj0
));
19626 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19632 if (SWIG_arg_fail(2)) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19651 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 int arg1
= (int) wxDateTime::Inv_Year
;
19654 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "year",(char *) "country", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19665 arg1
= (int)(SWIG_As_int(obj0
));
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19671 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19672 if (SWIG_arg_fail(2)) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 wxDateTime
* resultptr
;
19684 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19693 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 int arg1
= (int) wxDateTime::Inv_Year
;
19696 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "year",(char *) "country", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19707 arg1
= (int)(SWIG_As_int(obj0
));
19708 if (SWIG_arg_fail(1)) SWIG_fail
;
19713 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19714 if (SWIG_arg_fail(2)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 wxDateTime
* resultptr
;
19726 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19735 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19738 char *kwnames
[] = {
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= wxDateTime::Now();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 wxDateTime
* resultptr
;
19752 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19761 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19764 char *kwnames
[] = {
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= wxDateTime::UNow();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 wxDateTime
* resultptr
;
19778 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19787 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19790 char *kwnames
[] = {
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= wxDateTime::Today();
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 wxDateTime
* resultptr
;
19804 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19813 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxDateTime
*result
;
19816 char *kwnames
[] = {
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (wxDateTime
*)new wxDateTime();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19835 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19838 wxDateTime
*result
;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "timet", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19846 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19847 if (SWIG_arg_fail(1)) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (wxDateTime
*)new wxDateTime(arg1
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19863 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19866 wxDateTime
*result
;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "jdn", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19874 arg1
= (double)(SWIG_As_double(obj0
));
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= (wxDateTime
*)new wxDateTime(arg1
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19891 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19894 int arg2
= (int) 0 ;
19895 int arg3
= (int) 0 ;
19896 int arg4
= (int) 0 ;
19897 wxDateTime
*result
;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 PyObject
* obj2
= 0 ;
19901 PyObject
* obj3
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19908 arg1
= (int)(SWIG_As_int(obj0
));
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 arg2
= (int)(SWIG_As_int(obj1
));
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19919 arg3
= (int)(SWIG_As_int(obj2
));
19920 if (SWIG_arg_fail(3)) SWIG_fail
;
19925 arg4
= (int)(SWIG_As_int(obj3
));
19926 if (SWIG_arg_fail(4)) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19943 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19946 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19947 int arg3
= (int) wxDateTime::Inv_Year
;
19948 int arg4
= (int) 0 ;
19949 int arg5
= (int) 0 ;
19950 int arg6
= (int) 0 ;
19951 int arg7
= (int) 0 ;
19952 wxDateTime
*result
;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 PyObject
* obj2
= 0 ;
19956 PyObject
* obj3
= 0 ;
19957 PyObject
* obj4
= 0 ;
19958 PyObject
* obj5
= 0 ;
19959 PyObject
* obj6
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19966 arg1
= (int)(SWIG_As_int(obj0
));
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19971 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19972 if (SWIG_arg_fail(2)) SWIG_fail
;
19977 arg3
= (int)(SWIG_As_int(obj2
));
19978 if (SWIG_arg_fail(3)) SWIG_fail
;
19983 arg4
= (int)(SWIG_As_int(obj3
));
19984 if (SWIG_arg_fail(4)) SWIG_fail
;
19989 arg5
= (int)(SWIG_As_int(obj4
));
19990 if (SWIG_arg_fail(5)) SWIG_fail
;
19995 arg6
= (int)(SWIG_As_int(obj5
));
19996 if (SWIG_arg_fail(6)) SWIG_fail
;
20001 arg7
= (int)(SWIG_As_int(obj6
));
20002 if (SWIG_arg_fail(7)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20019 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20047 wxDateTime
*result
;
20048 PyObject
* obj0
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20060 result
= (wxDateTime
*) &_result_ref
;
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20073 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20077 wxDateTime
*result
;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "timet", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
20089 if (SWIG_arg_fail(2)) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20095 result
= (wxDateTime
*) &_result_ref
;
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20108 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20112 wxDateTime
*result
;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self",(char *) "jdn", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20121 if (SWIG_arg_fail(1)) SWIG_fail
;
20123 arg2
= (double)(SWIG_As_double(obj1
));
20124 if (SWIG_arg_fail(2)) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20130 result
= (wxDateTime
*) &_result_ref
;
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20143 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20147 int arg3
= (int) 0 ;
20148 int arg4
= (int) 0 ;
20149 int arg5
= (int) 0 ;
20150 wxDateTime
*result
;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 PyObject
* obj2
= 0 ;
20154 PyObject
* obj3
= 0 ;
20155 PyObject
* obj4
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20162 if (SWIG_arg_fail(1)) SWIG_fail
;
20164 arg2
= (int)(SWIG_As_int(obj1
));
20165 if (SWIG_arg_fail(2)) SWIG_fail
;
20169 arg3
= (int)(SWIG_As_int(obj2
));
20170 if (SWIG_arg_fail(3)) SWIG_fail
;
20175 arg4
= (int)(SWIG_As_int(obj3
));
20176 if (SWIG_arg_fail(4)) SWIG_fail
;
20181 arg5
= (int)(SWIG_As_int(obj4
));
20182 if (SWIG_arg_fail(5)) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20189 result
= (wxDateTime
*) &_result_ref
;
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20202 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20206 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20207 int arg4
= (int) wxDateTime::Inv_Year
;
20208 int arg5
= (int) 0 ;
20209 int arg6
= (int) 0 ;
20210 int arg7
= (int) 0 ;
20211 int arg8
= (int) 0 ;
20212 wxDateTime
*result
;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 PyObject
* obj2
= 0 ;
20216 PyObject
* obj3
= 0 ;
20217 PyObject
* obj4
= 0 ;
20218 PyObject
* obj5
= 0 ;
20219 PyObject
* obj6
= 0 ;
20220 PyObject
* obj7
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20227 if (SWIG_arg_fail(1)) SWIG_fail
;
20229 arg2
= (int)(SWIG_As_int(obj1
));
20230 if (SWIG_arg_fail(2)) SWIG_fail
;
20234 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20235 if (SWIG_arg_fail(3)) SWIG_fail
;
20240 arg4
= (int)(SWIG_As_int(obj3
));
20241 if (SWIG_arg_fail(4)) SWIG_fail
;
20246 arg5
= (int)(SWIG_As_int(obj4
));
20247 if (SWIG_arg_fail(5)) SWIG_fail
;
20252 arg6
= (int)(SWIG_As_int(obj5
));
20253 if (SWIG_arg_fail(6)) SWIG_fail
;
20258 arg7
= (int)(SWIG_As_int(obj6
));
20259 if (SWIG_arg_fail(7)) SWIG_fail
;
20264 arg8
= (int)(SWIG_As_int(obj7
));
20265 if (SWIG_arg_fail(8)) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20272 result
= (wxDateTime
*) &_result_ref
;
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20285 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20288 wxDateTime
*result
;
20289 PyObject
* obj0
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20296 if (SWIG_arg_fail(1)) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20301 result
= (wxDateTime
*) &_result_ref
;
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20314 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20318 wxDateTime
*result
;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self",(char *) "year", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20327 if (SWIG_arg_fail(1)) SWIG_fail
;
20329 arg2
= (int)(SWIG_As_int(obj1
));
20330 if (SWIG_arg_fail(2)) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20336 result
= (wxDateTime
*) &_result_ref
;
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20349 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20352 wxDateTime::Month arg2
;
20353 wxDateTime
*result
;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self",(char *) "month", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20362 if (SWIG_arg_fail(1)) SWIG_fail
;
20364 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20365 if (SWIG_arg_fail(2)) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20371 result
= (wxDateTime
*) &_result_ref
;
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20384 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20388 wxDateTime
*result
;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "day", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 arg2
= (int)(SWIG_As_int(obj1
));
20400 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20406 result
= (wxDateTime
*) &_result_ref
;
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20419 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20423 wxDateTime
*result
;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self",(char *) "hour", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20434 arg2
= (int)(SWIG_As_int(obj1
));
20435 if (SWIG_arg_fail(2)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20441 result
= (wxDateTime
*) &_result_ref
;
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20454 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20458 wxDateTime
*result
;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "minute", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 arg2
= (int)(SWIG_As_int(obj1
));
20470 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20476 result
= (wxDateTime
*) &_result_ref
;
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20489 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20493 wxDateTime
*result
;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "second", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 arg2
= (int)(SWIG_As_int(obj1
));
20505 if (SWIG_arg_fail(2)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20511 result
= (wxDateTime
*) &_result_ref
;
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20524 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20528 wxDateTime
*result
;
20529 PyObject
* obj0
= 0 ;
20530 PyObject
* obj1
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "millisecond", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 arg2
= (int)(SWIG_As_int(obj1
));
20540 if (SWIG_arg_fail(2)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20546 result
= (wxDateTime
*) &_result_ref
;
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20559 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20562 wxDateTime::WeekDay arg2
;
20563 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20564 wxDateTime
*result
;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 PyObject
* obj2
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20577 if (SWIG_arg_fail(2)) SWIG_fail
;
20581 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20582 if (SWIG_arg_fail(3)) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20589 result
= (wxDateTime
*) &_result_ref
;
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20602 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20605 wxDateTime::WeekDay arg2
;
20606 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 PyObject
* obj2
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20617 if (SWIG_arg_fail(1)) SWIG_fail
;
20619 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20620 if (SWIG_arg_fail(2)) SWIG_fail
;
20624 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20625 if (SWIG_arg_fail(3)) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 wxDateTime
* resultptr
;
20637 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20646 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20649 wxDateTime::WeekDay arg2
;
20650 wxDateTime
*result
;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "weekday", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail
;
20661 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20662 if (SWIG_arg_fail(2)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20668 result
= (wxDateTime
*) &_result_ref
;
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20681 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20684 wxDateTime::WeekDay arg2
;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self",(char *) "weekday", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20694 if (SWIG_arg_fail(1)) SWIG_fail
;
20696 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20697 if (SWIG_arg_fail(2)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 wxDateTime
* resultptr
;
20708 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20717 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20720 wxDateTime::WeekDay arg2
;
20721 wxDateTime
*result
;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self",(char *) "weekday", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail
;
20732 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20733 if (SWIG_arg_fail(2)) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20739 result
= (wxDateTime
*) &_result_ref
;
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20752 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20755 wxDateTime::WeekDay arg2
;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "weekday", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20765 if (SWIG_arg_fail(1)) SWIG_fail
;
20767 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20768 if (SWIG_arg_fail(2)) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 wxDateTime
* resultptr
;
20779 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20788 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20791 wxDateTime::WeekDay arg2
;
20792 int arg3
= (int) 1 ;
20793 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20794 int arg5
= (int) wxDateTime::Inv_Year
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 PyObject
* obj2
= 0 ;
20799 PyObject
* obj3
= 0 ;
20800 PyObject
* obj4
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20807 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20810 if (SWIG_arg_fail(2)) SWIG_fail
;
20814 arg3
= (int)(SWIG_As_int(obj2
));
20815 if (SWIG_arg_fail(3)) SWIG_fail
;
20820 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20821 if (SWIG_arg_fail(4)) SWIG_fail
;
20826 arg5
= (int)(SWIG_As_int(obj4
));
20827 if (SWIG_arg_fail(5)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20846 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20849 wxDateTime::WeekDay arg2
;
20850 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20851 int arg4
= (int) wxDateTime::Inv_Year
;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 PyObject
* obj2
= 0 ;
20856 PyObject
* obj3
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail
;
20865 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20866 if (SWIG_arg_fail(2)) SWIG_fail
;
20870 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20871 if (SWIG_arg_fail(3)) SWIG_fail
;
20876 arg4
= (int)(SWIG_As_int(obj3
));
20877 if (SWIG_arg_fail(4)) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20896 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20899 wxDateTime::WeekDay arg2
;
20900 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20901 int arg4
= (int) wxDateTime::Inv_Year
;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 PyObject
* obj2
= 0 ;
20906 PyObject
* obj3
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20913 if (SWIG_arg_fail(1)) SWIG_fail
;
20915 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20916 if (SWIG_arg_fail(2)) SWIG_fail
;
20920 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20921 if (SWIG_arg_fail(3)) SWIG_fail
;
20926 arg4
= (int)(SWIG_As_int(obj3
));
20927 if (SWIG_arg_fail(4)) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 wxDateTime
* resultptr
;
20939 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20948 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20952 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20953 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20955 PyObject
* obj0
= 0 ;
20956 PyObject
* obj1
= 0 ;
20957 PyObject
* obj2
= 0 ;
20958 PyObject
* obj3
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 arg2
= (int)(SWIG_As_int(obj1
));
20968 if (SWIG_arg_fail(2)) SWIG_fail
;
20972 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20973 if (SWIG_arg_fail(3)) SWIG_fail
;
20978 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20979 if (SWIG_arg_fail(4)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20998 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21002 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21003 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 PyObject
* obj2
= 0 ;
21008 PyObject
* obj3
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21015 if (SWIG_arg_fail(1)) SWIG_fail
;
21017 arg2
= (int)(SWIG_As_int(obj1
));
21018 if (SWIG_arg_fail(2)) SWIG_fail
;
21022 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
21023 if (SWIG_arg_fail(3)) SWIG_fail
;
21028 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
21029 if (SWIG_arg_fail(4)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 wxDateTime
* resultptr
;
21041 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21050 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21054 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 PyObject
* obj2
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21065 arg1
= (int)(SWIG_As_int(obj0
));
21066 if (SWIG_arg_fail(1)) SWIG_fail
;
21069 arg2
= (int)(SWIG_As_int(obj1
));
21070 if (SWIG_arg_fail(2)) SWIG_fail
;
21074 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
21075 if (SWIG_arg_fail(3)) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 wxDateTime
* resultptr
;
21087 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21096 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21099 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21100 int arg3
= (int) wxDateTime::Inv_Year
;
21101 wxDateTime
*result
;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 PyObject
* obj2
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self",(char *) "month",(char *) "year", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail
;
21114 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21115 if (SWIG_arg_fail(2)) SWIG_fail
;
21120 arg3
= (int)(SWIG_As_int(obj2
));
21121 if (SWIG_arg_fail(3)) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21128 result
= (wxDateTime
*) &_result_ref
;
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21141 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21144 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21145 int arg3
= (int) wxDateTime::Inv_Year
;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 PyObject
* obj2
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self",(char *) "month",(char *) "year", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21156 if (SWIG_arg_fail(1)) SWIG_fail
;
21159 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21160 if (SWIG_arg_fail(2)) SWIG_fail
;
21165 arg3
= (int)(SWIG_As_int(obj2
));
21166 if (SWIG_arg_fail(3)) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 wxDateTime
* resultptr
;
21178 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21187 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21191 wxDateTime
*result
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self",(char *) "yday", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 arg2
= (int)(SWIG_As_int(obj1
));
21203 if (SWIG_arg_fail(2)) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21209 result
= (wxDateTime
*) &_result_ref
;
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21222 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self",(char *) "yday", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 arg2
= (int)(SWIG_As_int(obj1
));
21238 if (SWIG_arg_fail(2)) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (arg1
)->GetYearDay(arg2
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 wxDateTime
* resultptr
;
21249 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21258 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (double)(arg1
)->GetJulianDayNumber();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_From_double((double)(result
));
21286 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21297 if (SWIG_arg_fail(1)) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (double)(arg1
)->GetJDN();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_From_double((double)(result
));
21314 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_From_double((double)(result
));
21342 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21353 if (SWIG_arg_fail(1)) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (double)(arg1
)->GetMJD();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_From_double((double)(result
));
21370 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (double)(arg1
)->GetRataDie();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_From_double((double)(result
));
21398 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21401 wxDateTime::TimeZone
*arg2
= 0 ;
21402 bool arg3
= (bool) false ;
21404 bool temp2
= false ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 PyObject
* obj2
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21414 if (SWIG_arg_fail(1)) SWIG_fail
;
21416 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21421 arg3
= (bool)(SWIG_As_bool(obj2
));
21422 if (SWIG_arg_fail(3)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 wxDateTime
* resultptr
;
21434 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21438 if (temp2
) delete arg2
;
21443 if (temp2
) delete arg2
;
21449 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21452 wxDateTime::TimeZone
*arg2
= 0 ;
21453 bool arg3
= (bool) false ;
21454 wxDateTime
*result
;
21455 bool temp2
= false ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21465 if (SWIG_arg_fail(1)) SWIG_fail
;
21467 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21472 arg3
= (bool)(SWIG_As_bool(obj2
));
21473 if (SWIG_arg_fail(3)) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21480 result
= (wxDateTime
*) &_result_ref
;
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21488 if (temp2
) delete arg2
;
21493 if (temp2
) delete arg2
;
21499 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21502 bool arg2
= (bool) false ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "noDST", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21515 arg2
= (bool)(SWIG_As_bool(obj1
));
21516 if (SWIG_arg_fail(2)) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (arg1
)->ToGMT(arg2
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 wxDateTime
* resultptr
;
21528 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21537 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21540 bool arg2
= (bool) false ;
21541 wxDateTime
*result
;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self",(char *) "noDST", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21550 if (SWIG_arg_fail(1)) SWIG_fail
;
21553 arg2
= (bool)(SWIG_As_bool(obj1
));
21554 if (SWIG_arg_fail(2)) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21561 result
= (wxDateTime
*) &_result_ref
;
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21574 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21577 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "country", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21591 if (SWIG_arg_fail(2)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_From_int((int)(result
));
21610 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21638 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21649 if (SWIG_arg_fail(1)) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21666 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21669 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21670 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21672 bool temp2
= false ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "tz", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21684 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_From_int((int)(result
));
21699 if (temp2
) delete arg2
;
21704 if (temp2
) delete arg2
;
21710 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21713 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21714 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21715 wxDateTime::Month result
;
21716 bool temp2
= false ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "tz", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21725 if (SWIG_arg_fail(1)) SWIG_fail
;
21728 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_From_int((result
));
21741 if (temp2
) delete arg2
;
21746 if (temp2
) delete arg2
;
21752 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21755 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21756 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21758 bool temp2
= false ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "tz", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21770 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_From_int((int)(result
));
21785 if (temp2
) delete arg2
;
21790 if (temp2
) delete arg2
;
21796 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21799 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21800 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21801 wxDateTime::WeekDay result
;
21802 bool temp2
= false ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "tz", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21811 if (SWIG_arg_fail(1)) SWIG_fail
;
21814 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_From_int((result
));
21827 if (temp2
) delete arg2
;
21832 if (temp2
) delete arg2
;
21838 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21841 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21842 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21844 bool temp2
= false ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "tz", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_From_int((int)(result
));
21871 if (temp2
) delete arg2
;
21876 if (temp2
) delete arg2
;
21882 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21885 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21886 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21888 bool temp2
= false ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self",(char *) "tz", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_From_int((int)(result
));
21915 if (temp2
) delete arg2
;
21920 if (temp2
) delete arg2
;
21926 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21929 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21930 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21932 bool temp2
= false ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "tz", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21941 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_From_int((int)(result
));
21959 if (temp2
) delete arg2
;
21964 if (temp2
) delete arg2
;
21970 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21973 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21974 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21976 bool temp2
= false ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "tz", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(1)) SWIG_fail
;
21988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_From_int((int)(result
));
22003 if (temp2
) delete arg2
;
22008 if (temp2
) delete arg2
;
22014 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22017 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22018 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22020 bool temp2
= false ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "tz", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22029 if (SWIG_arg_fail(1)) SWIG_fail
;
22032 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_From_int((int)(result
));
22047 if (temp2
) delete arg2
;
22052 if (temp2
) delete arg2
;
22058 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22061 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22062 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22063 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22065 bool temp3
= false ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self",(char *) "flags",(char *) "tz", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22078 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22079 if (SWIG_arg_fail(2)) SWIG_fail
;
22084 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_From_int((int)(result
));
22099 if (temp3
) delete arg3
;
22104 if (temp3
) delete arg3
;
22110 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22113 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
22114 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
22115 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
22117 bool temp3
= false ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "flags",(char *) "tz", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail
;
22130 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
22131 if (SWIG_arg_fail(2)) SWIG_fail
;
22136 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_From_int((int)(result
));
22151 if (temp3
) delete arg3
;
22156 if (temp3
) delete arg3
;
22162 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22165 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "country", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail
;
22178 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22179 if (SWIG_arg_fail(2)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22198 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22201 wxDateTime
*arg2
= 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "datetime", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail
;
22213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(2)) SWIG_fail
;
22215 if (arg2
== NULL
) {
22216 SWIG_null_ref("wxDateTime");
22218 if (SWIG_arg_fail(2)) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22236 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22239 wxDateTime
*arg2
= 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "datetime", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail
;
22251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22252 if (SWIG_arg_fail(2)) SWIG_fail
;
22253 if (arg2
== NULL
) {
22254 SWIG_null_ref("wxDateTime");
22256 if (SWIG_arg_fail(2)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22277 wxDateTime
*arg2
= 0 ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "datetime", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail
;
22289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(2)) SWIG_fail
;
22291 if (arg2
== NULL
) {
22292 SWIG_null_ref("wxDateTime");
22294 if (SWIG_arg_fail(2)) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22312 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22315 wxDateTime
*arg2
= 0 ;
22316 wxDateTime
*arg3
= 0 ;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 PyObject
* obj2
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "t1",(char *) "t2", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(2)) SWIG_fail
;
22331 if (arg2
== NULL
) {
22332 SWIG_null_ref("wxDateTime");
22334 if (SWIG_arg_fail(2)) SWIG_fail
;
22337 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22338 if (SWIG_arg_fail(3)) SWIG_fail
;
22339 if (arg3
== NULL
) {
22340 SWIG_null_ref("wxDateTime");
22342 if (SWIG_arg_fail(3)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22360 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22363 wxDateTime
*arg2
= 0 ;
22364 wxDateTime
*arg3
= 0 ;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 PyObject
* obj2
= 0 ;
22369 char *kwnames
[] = {
22370 (char *) "self",(char *) "t1",(char *) "t2", NULL
22373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22375 if (SWIG_arg_fail(1)) SWIG_fail
;
22377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(2)) SWIG_fail
;
22379 if (arg2
== NULL
) {
22380 SWIG_null_ref("wxDateTime");
22382 if (SWIG_arg_fail(2)) SWIG_fail
;
22385 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22386 if (SWIG_arg_fail(3)) SWIG_fail
;
22387 if (arg3
== NULL
) {
22388 SWIG_null_ref("wxDateTime");
22390 if (SWIG_arg_fail(3)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22408 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22411 wxDateTime
*arg2
= 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self",(char *) "dt", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail
;
22423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(2)) SWIG_fail
;
22425 if (arg2
== NULL
) {
22426 SWIG_null_ref("wxDateTime");
22428 if (SWIG_arg_fail(2)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22446 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22449 wxDateTime
*arg2
= 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self",(char *) "dt", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail
;
22461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(2)) SWIG_fail
;
22463 if (arg2
== NULL
) {
22464 SWIG_null_ref("wxDateTime");
22466 if (SWIG_arg_fail(2)) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22484 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22487 wxDateTime
*arg2
= 0 ;
22488 wxTimeSpan
*arg3
= 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 PyObject
* obj2
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self",(char *) "dt",(char *) "ts", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22499 if (SWIG_arg_fail(1)) SWIG_fail
;
22501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22502 if (SWIG_arg_fail(2)) SWIG_fail
;
22503 if (arg2
== NULL
) {
22504 SWIG_null_ref("wxDateTime");
22506 if (SWIG_arg_fail(2)) SWIG_fail
;
22509 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22510 if (SWIG_arg_fail(3)) SWIG_fail
;
22511 if (arg3
== NULL
) {
22512 SWIG_null_ref("wxTimeSpan");
22514 if (SWIG_arg_fail(3)) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22532 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22535 wxTimeSpan
*arg2
= 0 ;
22536 wxDateTime
*result
;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "diff", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(1)) SWIG_fail
;
22547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22548 if (SWIG_arg_fail(2)) SWIG_fail
;
22549 if (arg2
== NULL
) {
22550 SWIG_null_ref("wxTimeSpan");
22552 if (SWIG_arg_fail(2)) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22558 result
= (wxDateTime
*) &_result_ref
;
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22571 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22574 wxDateSpan
*arg2
= 0 ;
22575 wxDateTime
*result
;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "diff", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22584 if (SWIG_arg_fail(1)) SWIG_fail
;
22586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(2)) SWIG_fail
;
22588 if (arg2
== NULL
) {
22589 SWIG_null_ref("wxDateSpan");
22591 if (SWIG_arg_fail(2)) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22597 result
= (wxDateTime
*) &_result_ref
;
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22610 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22613 wxTimeSpan
*arg2
= 0 ;
22614 wxDateTime
*result
;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "diff", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail
;
22625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22626 if (SWIG_arg_fail(2)) SWIG_fail
;
22627 if (arg2
== NULL
) {
22628 SWIG_null_ref("wxTimeSpan");
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22636 result
= (wxDateTime
*) &_result_ref
;
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22649 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22652 wxDateSpan
*arg2
= 0 ;
22653 wxDateTime
*result
;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self",(char *) "diff", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22662 if (SWIG_arg_fail(1)) SWIG_fail
;
22664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22665 if (SWIG_arg_fail(2)) SWIG_fail
;
22666 if (arg2
== NULL
) {
22667 SWIG_null_ref("wxDateSpan");
22669 if (SWIG_arg_fail(2)) SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22675 result
= (wxDateTime
*) &_result_ref
;
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22688 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22691 wxDateTime
*arg2
= 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "dt", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail
;
22703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22704 if (SWIG_arg_fail(2)) SWIG_fail
;
22705 if (arg2
== NULL
) {
22706 SWIG_null_ref("wxDateTime");
22708 if (SWIG_arg_fail(2)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 wxTimeSpan
* resultptr
;
22719 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22728 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22729 PyObject
*resultobj
;
22730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22731 wxTimeSpan
*arg2
= 0 ;
22732 wxDateTime
*result
;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22736 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22738 if (SWIG_arg_fail(1)) SWIG_fail
;
22740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22741 if (SWIG_arg_fail(2)) SWIG_fail
;
22742 if (arg2
== NULL
) {
22743 SWIG_null_ref("wxTimeSpan");
22745 if (SWIG_arg_fail(2)) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22751 result
= (wxDateTime
*) &_result_ref
;
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22764 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22765 PyObject
*resultobj
;
22766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22767 wxDateSpan
*arg2
= 0 ;
22768 wxDateTime
*result
;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22772 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22778 if (arg2
== NULL
) {
22779 SWIG_null_ref("wxDateSpan");
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22787 result
= (wxDateTime
*) &_result_ref
;
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22800 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22805 argc
= PyObject_Length(args
);
22806 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22807 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22823 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22831 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22839 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22849 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22857 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22862 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22867 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22868 PyObject
*resultobj
;
22869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22870 wxTimeSpan
*arg2
= 0 ;
22871 wxDateTime
*result
;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22875 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22877 if (SWIG_arg_fail(1)) SWIG_fail
;
22879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(2)) SWIG_fail
;
22881 if (arg2
== NULL
) {
22882 SWIG_null_ref("wxTimeSpan");
22884 if (SWIG_arg_fail(2)) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22890 result
= (wxDateTime
*) &_result_ref
;
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22903 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22904 PyObject
*resultobj
;
22905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22906 wxDateSpan
*arg2
= 0 ;
22907 wxDateTime
*result
;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22911 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22913 if (SWIG_arg_fail(1)) SWIG_fail
;
22915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22916 if (SWIG_arg_fail(2)) SWIG_fail
;
22917 if (arg2
== NULL
) {
22918 SWIG_null_ref("wxDateSpan");
22920 if (SWIG_arg_fail(2)) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22926 result
= (wxDateTime
*) &_result_ref
;
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22939 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22944 argc
= PyObject_Length(args
);
22945 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22946 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22952 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22962 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22970 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22996 return _wrap_DateTime___isub____SWIG_1(self
,args
);
23001 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
23006 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
23007 PyObject
*resultobj
;
23008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23009 wxTimeSpan
*arg2
= 0 ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23014 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(1)) SWIG_fail
;
23018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23019 if (SWIG_arg_fail(2)) SWIG_fail
;
23020 if (arg2
== NULL
) {
23021 SWIG_null_ref("wxTimeSpan");
23023 if (SWIG_arg_fail(2)) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23033 wxDateTime
* resultptr
;
23034 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23043 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
23044 PyObject
*resultobj
;
23045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23046 wxDateSpan
*arg2
= 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23051 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
23052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail
;
23055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23056 if (SWIG_arg_fail(2)) SWIG_fail
;
23057 if (arg2
== NULL
) {
23058 SWIG_null_ref("wxDateSpan");
23060 if (SWIG_arg_fail(2)) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23070 wxDateTime
* resultptr
;
23071 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23080 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
23085 argc
= PyObject_Length(args
);
23086 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23087 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23103 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23111 return _wrap_DateTime___add____SWIG_0(self
,args
);
23119 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23129 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23137 return _wrap_DateTime___add____SWIG_1(self
,args
);
23142 Py_INCREF(Py_NotImplemented
);
23143 return Py_NotImplemented
;
23147 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23148 PyObject
*resultobj
;
23149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23150 wxDateTime
*arg2
= 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23155 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23160 if (SWIG_arg_fail(2)) SWIG_fail
;
23161 if (arg2
== NULL
) {
23162 SWIG_null_ref("wxDateTime");
23164 if (SWIG_arg_fail(2)) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 wxTimeSpan
* resultptr
;
23175 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23184 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23185 PyObject
*resultobj
;
23186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23187 wxTimeSpan
*arg2
= 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23192 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23194 if (SWIG_arg_fail(1)) SWIG_fail
;
23196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23197 if (SWIG_arg_fail(2)) SWIG_fail
;
23198 if (arg2
== NULL
) {
23199 SWIG_null_ref("wxTimeSpan");
23201 if (SWIG_arg_fail(2)) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23211 wxDateTime
* resultptr
;
23212 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23221 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23222 PyObject
*resultobj
;
23223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23224 wxDateSpan
*arg2
= 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23229 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail
;
23233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(2)) SWIG_fail
;
23235 if (arg2
== NULL
) {
23236 SWIG_null_ref("wxDateSpan");
23238 if (SWIG_arg_fail(2)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 wxDateTime
* resultptr
;
23249 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23258 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23263 argc
= PyObject_Length(args
);
23264 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23281 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23289 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23307 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23315 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23323 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23333 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23341 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23346 Py_INCREF(Py_NotImplemented
);
23347 return Py_NotImplemented
;
23351 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23354 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "other", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail
;
23365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(2)) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23383 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23386 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "other", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(2)) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23415 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23418 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "other", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23428 if (SWIG_arg_fail(1)) SWIG_fail
;
23429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(2)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23450 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "other", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23460 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(2)) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23479 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23482 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "other", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23494 if (SWIG_arg_fail(2)) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23511 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23514 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "other", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23526 if (SWIG_arg_fail(2)) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23543 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23546 wxString
*arg2
= 0 ;
23548 bool temp2
= false ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "date", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23557 if (SWIG_arg_fail(1)) SWIG_fail
;
23559 arg2
= wxString_in_helper(obj1
);
23560 if (arg2
== NULL
) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_int((int)(result
));
23587 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23590 wxString
*arg2
= 0 ;
23591 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23593 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23594 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23596 bool temp2
= false ;
23597 bool temp3
= false ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 PyObject
* obj2
= 0 ;
23601 PyObject
* obj3
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail
;
23610 arg2
= wxString_in_helper(obj1
);
23611 if (arg2
== NULL
) SWIG_fail
;
23616 arg3
= wxString_in_helper(obj2
);
23617 if (arg3
== NULL
) SWIG_fail
;
23623 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23624 if (SWIG_arg_fail(4)) SWIG_fail
;
23625 if (arg4
== NULL
) {
23626 SWIG_null_ref("wxDateTime");
23628 if (SWIG_arg_fail(4)) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_From_int((int)(result
));
23663 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23666 wxString
*arg2
= 0 ;
23668 bool temp2
= false ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "self",(char *) "datetime", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23677 if (SWIG_arg_fail(1)) SWIG_fail
;
23679 arg2
= wxString_in_helper(obj1
);
23680 if (arg2
== NULL
) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_From_int((int)(result
));
23707 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23710 wxString
*arg2
= 0 ;
23712 bool temp2
= false ;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self",(char *) "date", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23721 if (SWIG_arg_fail(1)) SWIG_fail
;
23723 arg2
= wxString_in_helper(obj1
);
23724 if (arg2
== NULL
) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_From_int((int)(result
));
23751 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23754 wxString
*arg2
= 0 ;
23756 bool temp2
= false ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self",(char *) "time", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23765 if (SWIG_arg_fail(1)) SWIG_fail
;
23767 arg2
= wxString_in_helper(obj1
);
23768 if (arg2
== NULL
) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_From_int((int)(result
));
23795 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23798 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23799 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23800 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23801 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23803 bool temp2
= false ;
23804 bool temp3
= false ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 PyObject
* obj2
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self",(char *) "format",(char *) "tz", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23814 if (SWIG_arg_fail(1)) SWIG_fail
;
23817 arg2
= wxString_in_helper(obj1
);
23818 if (arg2
== NULL
) SWIG_fail
;
23824 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23847 if (temp3
) delete arg3
;
23856 if (temp3
) delete arg3
;
23862 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23873 if (SWIG_arg_fail(1)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23894 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23905 if (SWIG_arg_fail(1)) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23926 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23937 if (SWIG_arg_fail(1)) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23958 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23969 if (SWIG_arg_fail(1)) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23990 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23993 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23995 return Py_BuildValue((char *)"");
23997 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "sec", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
24008 arg1
= (long)(SWIG_As_long(obj0
));
24009 if (SWIG_arg_fail(1)) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= wxTimeSpan::Seconds(arg1
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 wxTimeSpan
* resultptr
;
24020 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24029 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24032 char *kwnames
[] = {
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= wxTimeSpan::Second();
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 wxTimeSpan
* resultptr
;
24046 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24055 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "min", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
24066 arg1
= (long)(SWIG_As_long(obj0
));
24067 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= wxTimeSpan::Minutes(arg1
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24077 wxTimeSpan
* resultptr
;
24078 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24087 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24090 char *kwnames
[] = {
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= wxTimeSpan::Minute();
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24103 wxTimeSpan
* resultptr
;
24104 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24113 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24117 PyObject
* obj0
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "hours", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
24124 arg1
= (long)(SWIG_As_long(obj0
));
24125 if (SWIG_arg_fail(1)) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= wxTimeSpan::Hours(arg1
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 wxTimeSpan
* resultptr
;
24136 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24145 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24148 char *kwnames
[] = {
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= wxTimeSpan::Hour();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 wxTimeSpan
* resultptr
;
24162 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24171 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24175 PyObject
* obj0
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "days", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24182 arg1
= (long)(SWIG_As_long(obj0
));
24183 if (SWIG_arg_fail(1)) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= wxTimeSpan::Days(arg1
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 wxTimeSpan
* resultptr
;
24194 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24203 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24206 char *kwnames
[] = {
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= wxTimeSpan::Day();
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 wxTimeSpan
* resultptr
;
24220 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24229 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "days", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24240 arg1
= (long)(SWIG_As_long(obj0
));
24241 if (SWIG_arg_fail(1)) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= wxTimeSpan::Weeks(arg1
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 wxTimeSpan
* resultptr
;
24252 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24261 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24264 char *kwnames
[] = {
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= wxTimeSpan::Week();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 wxTimeSpan
* resultptr
;
24278 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24287 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 long arg1
= (long) 0 ;
24290 long arg2
= (long) 0 ;
24291 long arg3
= (long) 0 ;
24292 long arg4
= (long) 0 ;
24293 wxTimeSpan
*result
;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 PyObject
* obj2
= 0 ;
24297 PyObject
* obj3
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24305 arg1
= (long)(SWIG_As_long(obj0
));
24306 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 arg2
= (long)(SWIG_As_long(obj1
));
24312 if (SWIG_arg_fail(2)) SWIG_fail
;
24317 arg3
= (long)(SWIG_As_long(obj2
));
24318 if (SWIG_arg_fail(3)) SWIG_fail
;
24323 arg4
= (long)(SWIG_As_long(obj3
));
24324 if (SWIG_arg_fail(4)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24341 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(1)) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 Py_INCREF(Py_None
); resultobj
= Py_None
;
24366 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24369 wxTimeSpan
*arg2
= 0 ;
24370 wxTimeSpan
*result
;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self",(char *) "diff", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(2)) SWIG_fail
;
24383 if (arg2
== NULL
) {
24384 SWIG_null_ref("wxTimeSpan");
24386 if (SWIG_arg_fail(2)) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24392 result
= (wxTimeSpan
*) &_result_ref
;
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24405 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24408 wxTimeSpan
*arg2
= 0 ;
24409 wxTimeSpan
*result
;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "diff", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24421 if (SWIG_arg_fail(2)) SWIG_fail
;
24422 if (arg2
== NULL
) {
24423 SWIG_null_ref("wxTimeSpan");
24425 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24431 result
= (wxTimeSpan
*) &_result_ref
;
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24444 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24448 wxTimeSpan
*result
;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "n", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24459 arg2
= (int)(SWIG_As_int(obj1
));
24460 if (SWIG_arg_fail(2)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24466 result
= (wxTimeSpan
*) &_result_ref
;
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24479 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24482 wxTimeSpan
*result
;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24495 result
= (wxTimeSpan
*) &_result_ref
;
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24508 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 wxTimeSpan
* resultptr
;
24529 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24538 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24541 wxTimeSpan
*arg2
= 0 ;
24542 wxTimeSpan
*result
;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self",(char *) "diff", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24551 if (SWIG_arg_fail(1)) SWIG_fail
;
24553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(2)) SWIG_fail
;
24555 if (arg2
== NULL
) {
24556 SWIG_null_ref("wxTimeSpan");
24558 if (SWIG_arg_fail(2)) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24564 result
= (wxTimeSpan
*) &_result_ref
;
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24577 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24580 wxTimeSpan
*arg2
= 0 ;
24581 wxTimeSpan
*result
;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "diff", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24590 if (SWIG_arg_fail(1)) SWIG_fail
;
24592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(2)) SWIG_fail
;
24594 if (arg2
== NULL
) {
24595 SWIG_null_ref("wxTimeSpan");
24597 if (SWIG_arg_fail(2)) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24603 result
= (wxTimeSpan
*) &_result_ref
;
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24616 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24620 wxTimeSpan
*result
;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "n", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24629 if (SWIG_arg_fail(1)) SWIG_fail
;
24631 arg2
= (int)(SWIG_As_int(obj1
));
24632 if (SWIG_arg_fail(2)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24638 result
= (wxTimeSpan
*) &_result_ref
;
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24651 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24654 wxTimeSpan
*result
;
24655 PyObject
* obj0
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24662 if (SWIG_arg_fail(1)) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24667 result
= (wxTimeSpan
*) &_result_ref
;
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24680 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24683 wxTimeSpan
*arg2
= 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self",(char *) "other", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail
;
24695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(2)) SWIG_fail
;
24697 if (arg2
== NULL
) {
24698 SWIG_null_ref("wxTimeSpan");
24700 if (SWIG_arg_fail(2)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 wxTimeSpan
* resultptr
;
24711 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24720 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24723 wxTimeSpan
*arg2
= 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "other", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24736 if (SWIG_arg_fail(2)) SWIG_fail
;
24737 if (arg2
== NULL
) {
24738 SWIG_null_ref("wxTimeSpan");
24740 if (SWIG_arg_fail(2)) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24750 wxTimeSpan
* resultptr
;
24751 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24760 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "n", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24773 if (SWIG_arg_fail(1)) SWIG_fail
;
24775 arg2
= (int)(SWIG_As_int(obj1
));
24776 if (SWIG_arg_fail(2)) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= wxTimeSpan___mul__(arg1
,arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 wxTimeSpan
* resultptr
;
24787 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24796 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "n", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail
;
24811 arg2
= (int)(SWIG_As_int(obj1
));
24812 if (SWIG_arg_fail(2)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 wxTimeSpan
* resultptr
;
24823 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24832 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24835 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "other", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24864 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24867 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self",(char *) "other", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(2)) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24896 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24899 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "other", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24909 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(2)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24928 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24931 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "other", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(2)) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24960 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24963 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "other", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24975 if (SWIG_arg_fail(2)) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24992 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24995 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 char *kwnames
[] = {
25000 (char *) "self",(char *) "other", NULL
25003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25005 if (SWIG_arg_fail(1)) SWIG_fail
;
25006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25007 if (SWIG_arg_fail(2)) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25024 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
25034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25052 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
25062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25063 if (SWIG_arg_fail(1)) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25080 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
25090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25091 if (SWIG_arg_fail(1)) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25108 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25111 wxTimeSpan
*arg2
= 0 ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self",(char *) "ts", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25121 if (SWIG_arg_fail(1)) SWIG_fail
;
25123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25124 if (SWIG_arg_fail(2)) SWIG_fail
;
25125 if (arg2
== NULL
) {
25126 SWIG_null_ref("wxTimeSpan");
25128 if (SWIG_arg_fail(2)) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25146 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25149 wxTimeSpan
*arg2
= 0 ;
25151 PyObject
* obj0
= 0 ;
25152 PyObject
* obj1
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self",(char *) "ts", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25159 if (SWIG_arg_fail(1)) SWIG_fail
;
25161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25162 if (SWIG_arg_fail(2)) SWIG_fail
;
25163 if (arg2
== NULL
) {
25164 SWIG_null_ref("wxTimeSpan");
25166 if (SWIG_arg_fail(2)) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25187 wxTimeSpan
*arg2
= 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "t", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25197 if (SWIG_arg_fail(1)) SWIG_fail
;
25199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25200 if (SWIG_arg_fail(2)) SWIG_fail
;
25201 if (arg2
== NULL
) {
25202 SWIG_null_ref("wxTimeSpan");
25204 if (SWIG_arg_fail(2)) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25222 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
;
25224 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25226 PyObject
* obj0
= 0 ;
25227 char *kwnames
[] = {
25228 (char *) "self", NULL
25231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25233 if (SWIG_arg_fail(1)) SWIG_fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_From_int((int)(result
));
25250 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25254 PyObject
* obj0
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25261 if (SWIG_arg_fail(1)) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_From_int((int)(result
));
25278 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25289 if (SWIG_arg_fail(1)) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_From_int((int)(result
));
25306 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_From_int((int)(result
));
25334 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25355 hi
= PyLong_FromLong( (&result
)->GetHi() );
25356 lo
= PyLong_FromLong( (&result
)->GetLo() );
25357 shifter
= PyLong_FromLong(32);
25358 shifted
= PyNumber_Lshift(hi
, shifter
);
25359 resultobj
= PyNumber_Or(shifted
, lo
);
25362 Py_DECREF(shifter
);
25363 Py_DECREF(shifted
);
25371 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25375 PyObject
* obj0
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25382 if (SWIG_arg_fail(1)) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25392 hi
= PyLong_FromLong( (&result
)->GetHi() );
25393 lo
= PyLong_FromLong( (&result
)->GetLo() );
25394 shifter
= PyLong_FromLong(32);
25395 shifted
= PyNumber_Lshift(hi
, shifter
);
25396 resultobj
= PyNumber_Or(shifted
, lo
);
25399 Py_DECREF(shifter
);
25400 Py_DECREF(shifted
);
25408 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25411 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25412 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25414 bool temp2
= false ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "format", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail
;
25426 arg2
= wxString_in_helper(obj1
);
25427 if (arg2
== NULL
) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25459 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25462 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25464 return Py_BuildValue((char *)"");
25466 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 int arg1
= (int) 0 ;
25469 int arg2
= (int) 0 ;
25470 int arg3
= (int) 0 ;
25471 int arg4
= (int) 0 ;
25472 wxDateSpan
*result
;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 PyObject
* obj2
= 0 ;
25476 PyObject
* obj3
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25484 arg1
= (int)(SWIG_As_int(obj0
));
25485 if (SWIG_arg_fail(1)) SWIG_fail
;
25490 arg2
= (int)(SWIG_As_int(obj1
));
25491 if (SWIG_arg_fail(2)) SWIG_fail
;
25496 arg3
= (int)(SWIG_As_int(obj2
));
25497 if (SWIG_arg_fail(3)) SWIG_fail
;
25502 arg4
= (int)(SWIG_As_int(obj3
));
25503 if (SWIG_arg_fail(4)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25520 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "days", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25556 arg1
= (int)(SWIG_As_int(obj0
));
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= wxDateSpan::Days(arg1
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 wxDateSpan
* resultptr
;
25568 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25577 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25580 char *kwnames
[] = {
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= wxDateSpan::Day();
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 wxDateSpan
* resultptr
;
25594 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25603 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "weeks", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25614 arg1
= (int)(SWIG_As_int(obj0
));
25615 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= wxDateSpan::Weeks(arg1
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 wxDateSpan
* resultptr
;
25626 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25635 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
;
25638 char *kwnames
[] = {
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= wxDateSpan::Week();
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 wxDateSpan
* resultptr
;
25652 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25661 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "mon", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25672 arg1
= (int)(SWIG_As_int(obj0
));
25673 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= wxDateSpan::Months(arg1
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 wxDateSpan
* resultptr
;
25684 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25693 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25696 char *kwnames
[] = {
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= wxDateSpan::Month();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 wxDateSpan
* resultptr
;
25710 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25719 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25723 PyObject
* obj0
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "years", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25730 arg1
= (int)(SWIG_As_int(obj0
));
25731 if (SWIG_arg_fail(1)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= wxDateSpan::Years(arg1
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25741 wxDateSpan
* resultptr
;
25742 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25751 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25754 char *kwnames
[] = {
25758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= wxDateSpan::Year();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 wxDateSpan
* resultptr
;
25768 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25777 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25781 wxDateSpan
*result
;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self",(char *) "n", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25792 arg2
= (int)(SWIG_As_int(obj1
));
25793 if (SWIG_arg_fail(2)) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25799 result
= (wxDateSpan
*) &_result_ref
;
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25812 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25816 wxDateSpan
*result
;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "n", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail
;
25827 arg2
= (int)(SWIG_As_int(obj1
));
25828 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25834 result
= (wxDateSpan
*) &_result_ref
;
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25847 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25851 wxDateSpan
*result
;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self",(char *) "n", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 arg2
= (int)(SWIG_As_int(obj1
));
25863 if (SWIG_arg_fail(2)) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25869 result
= (wxDateSpan
*) &_result_ref
;
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25882 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25886 wxDateSpan
*result
;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "n", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail
;
25897 arg2
= (int)(SWIG_As_int(obj1
));
25898 if (SWIG_arg_fail(2)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25904 result
= (wxDateSpan
*) &_result_ref
;
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25917 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25921 PyObject
* obj0
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_From_int((int)(result
));
25945 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
;
25947 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_From_int((int)(result
));
25973 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25977 PyObject
* obj0
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "self", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25984 if (SWIG_arg_fail(1)) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= SWIG_From_int((int)(result
));
26001 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26012 if (SWIG_arg_fail(1)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_From_int((int)(result
));
26029 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26033 PyObject
* obj0
= 0 ;
26034 char *kwnames
[] = {
26035 (char *) "self", NULL
26038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
26039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26040 if (SWIG_arg_fail(1)) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_From_int((int)(result
));
26057 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26060 wxDateSpan
*arg2
= 0 ;
26061 wxDateSpan
*result
;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "other", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(2)) SWIG_fail
;
26074 if (arg2
== NULL
) {
26075 SWIG_null_ref("wxDateSpan");
26077 if (SWIG_arg_fail(2)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26083 result
= (wxDateSpan
*) &_result_ref
;
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26096 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26099 wxDateSpan
*arg2
= 0 ;
26100 wxDateSpan
*result
;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "other", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26113 if (arg2
== NULL
) {
26114 SWIG_null_ref("wxDateSpan");
26116 if (SWIG_arg_fail(2)) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26122 result
= (wxDateSpan
*) &_result_ref
;
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26135 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26138 wxDateSpan
*result
;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26151 result
= (wxDateSpan
*) &_result_ref
;
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26164 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26168 wxDateSpan
*result
;
26169 PyObject
* obj0
= 0 ;
26170 PyObject
* obj1
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self",(char *) "factor", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
26180 if (SWIG_arg_fail(2)) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26186 result
= (wxDateSpan
*) &_result_ref
;
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26199 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26202 wxDateSpan
*arg2
= 0 ;
26203 wxDateSpan
*result
;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "other", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26216 if (arg2
== NULL
) {
26217 SWIG_null_ref("wxDateSpan");
26219 if (SWIG_arg_fail(2)) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26225 result
= (wxDateSpan
*) &_result_ref
;
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26238 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26241 wxDateSpan
*arg2
= 0 ;
26242 wxDateSpan
*result
;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self",(char *) "other", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26251 if (SWIG_arg_fail(1)) SWIG_fail
;
26253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26254 if (SWIG_arg_fail(2)) SWIG_fail
;
26255 if (arg2
== NULL
) {
26256 SWIG_null_ref("wxDateSpan");
26258 if (SWIG_arg_fail(2)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26264 result
= (wxDateSpan
*) &_result_ref
;
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26277 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26280 wxDateSpan
*result
;
26281 PyObject
* obj0
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26288 if (SWIG_arg_fail(1)) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26293 result
= (wxDateSpan
*) &_result_ref
;
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26306 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26310 wxDateSpan
*result
;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "factor", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 arg2
= (int)(SWIG_As_int(obj1
));
26322 if (SWIG_arg_fail(2)) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26328 result
= (wxDateSpan
*) &_result_ref
;
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26341 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26344 wxDateSpan
*arg2
= 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "other", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(2)) SWIG_fail
;
26358 if (arg2
== NULL
) {
26359 SWIG_null_ref("wxDateSpan");
26361 if (SWIG_arg_fail(2)) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26371 wxDateSpan
* resultptr
;
26372 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26381 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26384 wxDateSpan
*arg2
= 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "other", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26397 if (SWIG_arg_fail(2)) SWIG_fail
;
26398 if (arg2
== NULL
) {
26399 SWIG_null_ref("wxDateSpan");
26401 if (SWIG_arg_fail(2)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 wxDateSpan
* resultptr
;
26412 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26421 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "n", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26434 if (SWIG_arg_fail(1)) SWIG_fail
;
26436 arg2
= (int)(SWIG_As_int(obj1
));
26437 if (SWIG_arg_fail(2)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= wxDateSpan___mul__(arg1
,arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 wxDateSpan
* resultptr
;
26448 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26457 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self",(char *) "n", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail
;
26472 arg2
= (int)(SWIG_As_int(obj1
));
26473 if (SWIG_arg_fail(2)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= wxDateSpan___rmul__(arg1
,arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 wxDateSpan
* resultptr
;
26484 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26493 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26496 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "other", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26506 if (SWIG_arg_fail(1)) SWIG_fail
;
26507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26508 if (SWIG_arg_fail(2)) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26525 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26528 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "other", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(2)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26557 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26560 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26562 return Py_BuildValue((char *)"");
26564 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26567 char *kwnames
[] = {
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (long)wxGetLocalTime();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_From_long((long)(result
));
26588 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26591 char *kwnames
[] = {
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (long)wxGetUTCTime();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_From_long((long)(result
));
26612 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26615 char *kwnames
[] = {
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (long)wxGetCurrentTime();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= SWIG_From_long((long)(result
));
26636 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26639 char *kwnames
[] = {
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= wxGetLocalTimeMillis();
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26653 hi
= PyLong_FromLong( (&result
)->GetHi() );
26654 lo
= PyLong_FromLong( (&result
)->GetLo() );
26655 shifter
= PyLong_FromLong(32);
26656 shifted
= PyNumber_Lshift(hi
, shifter
);
26657 resultobj
= PyNumber_Or(shifted
, lo
);
26660 Py_DECREF(shifter
);
26661 Py_DECREF(shifted
);
26669 static int _wrap_DefaultDateTime_set(PyObject
*) {
26670 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26675 static PyObject
*_wrap_DefaultDateTime_get(void) {
26678 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26683 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxDataFormatId arg1
;
26686 wxDataFormat
*result
;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "type", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26694 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26695 if (SWIG_arg_fail(1)) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26711 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxString
*arg1
= 0 ;
26714 wxDataFormat
*result
;
26715 bool temp1
= false ;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "format", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26723 arg1
= wxString_in_helper(obj0
);
26724 if (arg1
== NULL
) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26749 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 Py_INCREF(Py_None
); resultobj
= Py_None
;
26774 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26775 PyObject
*resultobj
;
26776 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26777 wxDataFormatId arg2
;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26782 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26784 if (SWIG_arg_fail(1)) SWIG_fail
;
26786 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26787 if (SWIG_arg_fail(2)) SWIG_fail
;
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26805 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26806 PyObject
*resultobj
;
26807 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26808 wxDataFormatId arg2
;
26810 PyObject
* obj0
= 0 ;
26811 PyObject
* obj1
= 0 ;
26813 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26818 if (SWIG_arg_fail(2)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26837 PyObject
*resultobj
;
26838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26839 wxDataFormat
*arg2
= 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26844 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26849 if (SWIG_arg_fail(2)) SWIG_fail
;
26850 if (arg2
== NULL
) {
26851 SWIG_null_ref("wxDataFormat");
26853 if (SWIG_arg_fail(2)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26871 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26876 argc
= PyObject_Length(args
);
26877 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26878 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26884 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26894 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26902 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26910 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26918 _v
= SWIG_Check_int(argv
[1]);
26920 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26925 Py_INCREF(Py_NotImplemented
);
26926 return Py_NotImplemented
;
26930 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26931 PyObject
*resultobj
;
26932 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26933 wxDataFormat
*arg2
= 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26938 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail
;
26942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26943 if (SWIG_arg_fail(2)) SWIG_fail
;
26944 if (arg2
== NULL
) {
26945 SWIG_null_ref("wxDataFormat");
26947 if (SWIG_arg_fail(2)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26970 argc
= PyObject_Length(args
);
26971 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26972 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26996 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
27004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27012 _v
= SWIG_Check_int(argv
[1]);
27014 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
27019 Py_INCREF(Py_NotImplemented
);
27020 return Py_NotImplemented
;
27024 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27027 wxDataFormatId arg2
;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self",(char *) "format", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
27039 if (SWIG_arg_fail(2)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetType((wxDataFormatId
)arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27058 wxDataFormatId result
;
27059 PyObject
* obj0
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
27065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= SWIG_From_int((result
));
27081 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= ((wxDataFormat
const *)arg1
)->GetId();
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27113 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27116 wxString
*arg2
= 0 ;
27117 bool temp2
= false ;
27118 PyObject
* obj0
= 0 ;
27119 PyObject
* obj1
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self",(char *) "format", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27126 if (SWIG_arg_fail(1)) SWIG_fail
;
27128 arg2
= wxString_in_helper(obj1
);
27129 if (arg2
== NULL
) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 (arg1
)->SetId((wxString
const &)*arg2
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 Py_INCREF(Py_None
); resultobj
= Py_None
;
27154 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27157 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27159 return Py_BuildValue((char *)"");
27161 static int _wrap_FormatInvalid_set(PyObject
*) {
27162 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27167 static PyObject
*_wrap_FormatInvalid_get(void) {
27170 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27175 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27203 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27204 SwigValueWrapper
<wxDataFormat
> result
;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self",(char *) "dir", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27213 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27217 if (SWIG_arg_fail(2)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 wxDataFormat
* resultptr
;
27229 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27238 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27241 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "self",(char *) "dir", NULL
27249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27251 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27255 if (SWIG_arg_fail(2)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27274 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27277 wxDataFormat
*arg2
= 0 ;
27278 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self",(char *) "format",(char *) "dir", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(1)) SWIG_fail
;
27291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27292 if (SWIG_arg_fail(2)) SWIG_fail
;
27293 if (arg2
== NULL
) {
27294 SWIG_null_ref("wxDataFormat");
27296 if (SWIG_arg_fail(2)) SWIG_fail
;
27300 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27301 if (SWIG_arg_fail(3)) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27320 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27323 wxDataFormat
*arg2
= 0 ;
27325 PyObject
* obj0
= 0 ;
27326 PyObject
* obj1
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self",(char *) "format", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail
;
27335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27336 if (SWIG_arg_fail(2)) SWIG_fail
;
27337 if (arg2
== NULL
) {
27338 SWIG_null_ref("wxDataFormat");
27340 if (SWIG_arg_fail(2)) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27358 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27361 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "dir", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27371 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27375 if (SWIG_arg_fail(2)) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
;
27392 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27395 wxDataFormat
*arg2
= 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "format", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(2)) SWIG_fail
;
27409 if (arg2
== NULL
) {
27410 SWIG_null_ref("wxDataFormat");
27412 if (SWIG_arg_fail(2)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= result
;
27428 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27431 wxDataFormat
*arg2
= 0 ;
27432 PyObject
*arg3
= (PyObject
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 PyObject
* obj2
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "format",(char *) "data", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27446 if (SWIG_arg_fail(2)) SWIG_fail
;
27447 if (arg2
== NULL
) {
27448 SWIG_null_ref("wxDataFormat");
27450 if (SWIG_arg_fail(2)) SWIG_fail
;
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27469 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27472 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27474 return Py_BuildValue((char *)"");
27476 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27479 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27480 wxDataObjectSimple
*result
;
27481 PyObject
* obj0
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "format", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27490 if (SWIG_arg_fail(1)) SWIG_fail
;
27491 if (arg1
== NULL
) {
27492 SWIG_null_ref("wxDataFormat");
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27511 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27514 wxDataFormat
*result
;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27527 result
= (wxDataFormat
*) &_result_ref
;
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27540 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27543 wxDataFormat
*arg2
= 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "format", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27552 if (SWIG_arg_fail(1)) SWIG_fail
;
27554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27555 if (SWIG_arg_fail(2)) SWIG_fail
;
27556 if (arg2
== NULL
) {
27557 SWIG_null_ref("wxDataFormat");
27559 if (SWIG_arg_fail(2)) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 Py_INCREF(Py_None
); resultobj
= Py_None
;
27575 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27595 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27603 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
;
27605 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27607 PyObject
* obj0
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= result
;
27629 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27632 PyObject
*arg2
= (PyObject
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "data", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27642 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27660 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27663 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27665 return Py_BuildValue((char *)"");
27667 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27670 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27671 wxPyDataObjectSimple
*result
;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "format", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27682 if (arg1
== NULL
) {
27683 SWIG_null_ref("wxDataFormat");
27685 if (SWIG_arg_fail(1)) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27702 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27705 PyObject
*arg2
= (PyObject
*) 0 ;
27706 PyObject
*arg3
= (PyObject
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 PyObject
* obj2
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "self",(char *) "_class", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 Py_INCREF(Py_None
); resultobj
= Py_None
;
27733 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27736 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27738 return Py_BuildValue((char *)"");
27740 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxDataObjectComposite
*result
;
27743 char *kwnames
[] = {
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27762 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27765 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27766 bool arg3
= (bool) false ;
27767 PyObject
* obj0
= 0 ;
27768 PyObject
* obj1
= 0 ;
27769 PyObject
* obj2
= 0 ;
27770 char *kwnames
[] = {
27771 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27776 if (SWIG_arg_fail(1)) SWIG_fail
;
27777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27778 if (SWIG_arg_fail(2)) SWIG_fail
;
27781 arg3
= (bool)(SWIG_As_bool(obj2
));
27782 if (SWIG_arg_fail(3)) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 (arg1
)->Add(arg2
,arg3
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 Py_INCREF(Py_None
); resultobj
= Py_None
;
27799 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27802 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27804 return Py_BuildValue((char *)"");
27806 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27809 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27810 wxTextDataObject
*result
;
27811 bool temp1
= false ;
27812 PyObject
* obj0
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "text", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27820 arg1
= wxString_in_helper(obj0
);
27821 if (arg1
== NULL
) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27847 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (size_t)(arg1
)->GetTextLength();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27875 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27879 PyObject
* obj0
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27886 if (SWIG_arg_fail(1)) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (arg1
)->GetText();
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27907 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27910 wxString
*arg2
= 0 ;
27911 bool temp2
= false ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "text", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27920 if (SWIG_arg_fail(1)) SWIG_fail
;
27922 arg2
= wxString_in_helper(obj1
);
27923 if (arg2
== NULL
) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 (arg1
)->SetText((wxString
const &)*arg2
);
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 Py_INCREF(Py_None
); resultobj
= Py_None
;
27948 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27951 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27953 return Py_BuildValue((char *)"");
27955 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27958 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27959 wxPyTextDataObject
*result
;
27960 bool temp1
= false ;
27961 PyObject
* obj0
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "text", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27969 arg1
= wxString_in_helper(obj0
);
27970 if (arg1
== NULL
) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27996 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27999 PyObject
*arg2
= (PyObject
*) 0 ;
28000 PyObject
*arg3
= (PyObject
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "self",(char *) "_class", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28010 if (SWIG_arg_fail(1)) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28030 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
28032 return Py_BuildValue((char *)"");
28034 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28037 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28038 wxBitmapDataObject
*result
;
28039 PyObject
* obj0
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "bitmap", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
28047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28049 if (arg1
== NULL
) {
28050 SWIG_null_ref("wxBitmap");
28052 if (SWIG_arg_fail(1)) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
28069 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
28079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28089 wxBitmap
* resultptr
;
28090 resultptr
= new wxBitmap((wxBitmap
&)(result
));
28091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
28099 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
28102 wxBitmap
*arg2
= 0 ;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self",(char *) "bitmap", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28111 if (SWIG_arg_fail(1)) SWIG_fail
;
28113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28114 if (SWIG_arg_fail(2)) SWIG_fail
;
28115 if (arg2
== NULL
) {
28116 SWIG_null_ref("wxBitmap");
28118 if (SWIG_arg_fail(2)) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 Py_INCREF(Py_None
); resultobj
= Py_None
;
28134 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28137 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
28139 return Py_BuildValue((char *)"");
28141 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28144 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28145 wxPyBitmapDataObject
*result
;
28146 PyObject
* obj0
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "bitmap", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28156 if (arg1
== NULL
) {
28157 SWIG_null_ref("wxBitmap");
28159 if (SWIG_arg_fail(1)) SWIG_fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28176 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
;
28178 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28179 PyObject
*arg2
= (PyObject
*) 0 ;
28180 PyObject
*arg3
= (PyObject
*) 0 ;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 PyObject
* obj2
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "self",(char *) "_class", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28210 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28212 return Py_BuildValue((char *)"");
28214 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxFileDataObject
*result
;
28217 char *kwnames
[] = {
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (wxFileDataObject
*)new wxFileDataObject();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28236 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28239 wxArrayString
*result
;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28247 if (SWIG_arg_fail(1)) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28252 result
= (wxArrayString
*) &_result_ref
;
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= wxArrayString2PyList_helper(*result
);
28267 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28270 wxString
*arg2
= 0 ;
28271 bool temp2
= false ;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "filename", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28280 if (SWIG_arg_fail(1)) SWIG_fail
;
28282 arg2
= wxString_in_helper(obj1
);
28283 if (arg2
== NULL
) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->AddFile((wxString
const &)*arg2
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 Py_INCREF(Py_None
); resultobj
= Py_None
;
28308 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28311 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28313 return Py_BuildValue((char *)"");
28315 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28316 PyObject
*resultobj
;
28317 wxDataFormat
*arg1
= 0 ;
28318 wxCustomDataObject
*result
;
28319 PyObject
* obj0
= 0 ;
28321 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail
;
28325 if (arg1
== NULL
) {
28326 SWIG_null_ref("wxDataFormat");
28328 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28344 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28345 PyObject
*resultobj
;
28346 wxString
*arg1
= 0 ;
28347 wxCustomDataObject
*result
;
28348 bool temp1
= false ;
28349 PyObject
* obj0
= 0 ;
28351 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28353 arg1
= wxString_in_helper(obj0
);
28354 if (arg1
== NULL
) SWIG_fail
;
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28379 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28380 PyObject
*resultobj
;
28381 wxCustomDataObject
*result
;
28383 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28398 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28403 argc
= PyObject_Length(args
);
28404 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28405 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28408 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28413 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28416 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28423 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28431 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28435 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28440 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28443 PyObject
*arg2
= (PyObject
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self",(char *) "data", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28453 if (SWIG_arg_fail(1)) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28471 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28482 if (SWIG_arg_fail(1)) SWIG_fail
;
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 result
= (size_t)(arg1
)->GetSize();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28499 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28503 PyObject
* obj0
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "self", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28510 if (SWIG_arg_fail(1)) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= result
;
28525 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28528 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28530 return Py_BuildValue((char *)"");
28532 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxURLDataObject
*result
;
28535 char *kwnames
[] = {
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (wxURLDataObject
*)new wxURLDataObject();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28554 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28565 if (SWIG_arg_fail(1)) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (arg1
)->GetURL();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28586 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28589 wxString
*arg2
= 0 ;
28590 bool temp2
= false ;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self",(char *) "url", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail
;
28601 arg2
= wxString_in_helper(obj1
);
28602 if (arg2
== NULL
) SWIG_fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 (arg1
)->SetURL((wxString
const &)*arg2
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 Py_INCREF(Py_None
); resultobj
= Py_None
;
28627 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28630 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28632 return Py_BuildValue((char *)"");
28634 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxMetafileDataObject
*result
;
28637 char *kwnames
[] = {
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28656 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28659 wxMetafile
*arg2
= 0 ;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "metafile", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28671 if (SWIG_arg_fail(2)) SWIG_fail
;
28672 if (arg2
== NULL
) {
28673 SWIG_null_ref("wxMetafile");
28675 if (SWIG_arg_fail(2)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 wxMetafile
* resultptr
;
28712 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28721 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28724 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28726 return Py_BuildValue((char *)"");
28728 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxDragResult arg1
;
28732 PyObject
* obj0
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "res", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28739 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28740 if (SWIG_arg_fail(1)) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28758 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxWindow
*arg1
= (wxWindow
*) 0 ;
28761 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28762 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28763 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28764 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28765 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28766 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28767 wxPyDropSource
*result
;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 PyObject
* obj2
= 0 ;
28771 PyObject
* obj3
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28778 if (SWIG_arg_fail(1)) SWIG_fail
;
28781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28782 if (SWIG_arg_fail(2)) SWIG_fail
;
28783 if (arg2
== NULL
) {
28784 SWIG_null_ref("wxCursor");
28786 if (SWIG_arg_fail(2)) SWIG_fail
;
28791 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(3)) SWIG_fail
;
28793 if (arg3
== NULL
) {
28794 SWIG_null_ref("wxCursor");
28796 if (SWIG_arg_fail(3)) SWIG_fail
;
28801 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(4)) SWIG_fail
;
28803 if (arg4
== NULL
) {
28804 SWIG_null_ref("wxCursor");
28806 if (SWIG_arg_fail(4)) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28823 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28826 PyObject
*arg2
= (PyObject
*) 0 ;
28827 PyObject
*arg3
= (PyObject
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 PyObject
* obj3
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28839 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 arg4
= (int)(SWIG_As_int(obj3
));
28844 if (SWIG_arg_fail(4)) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 Py_INCREF(Py_None
); resultobj
= Py_None
;
28860 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28863 PyObject
* obj0
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28888 wxDataObject
*arg2
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self",(char *) "data", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28897 if (SWIG_arg_fail(1)) SWIG_fail
;
28899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(2)) SWIG_fail
;
28901 if (arg2
== NULL
) {
28902 SWIG_null_ref("wxDataObject");
28904 if (SWIG_arg_fail(2)) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 (arg1
)->SetData(*arg2
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 Py_INCREF(Py_None
); resultobj
= Py_None
;
28920 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
;
28922 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28923 wxDataObject
*result
;
28924 PyObject
* obj0
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28931 if (SWIG_arg_fail(1)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28946 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
;
28948 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28949 wxDragResult arg2
;
28950 wxCursor
*arg3
= 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self",(char *) "res",(char *) "cursor", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28960 if (SWIG_arg_fail(1)) SWIG_fail
;
28962 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28963 if (SWIG_arg_fail(2)) SWIG_fail
;
28966 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28967 if (SWIG_arg_fail(3)) SWIG_fail
;
28968 if (arg3
== NULL
) {
28969 SWIG_null_ref("wxCursor");
28971 if (SWIG_arg_fail(3)) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 Py_INCREF(Py_None
); resultobj
= Py_None
;
28987 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28990 int arg2
= (int) wxDrag_CopyOnly
;
28991 wxDragResult result
;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "self",(char *) "flags", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29000 if (SWIG_arg_fail(1)) SWIG_fail
;
29003 arg2
= (int)(SWIG_As_int(obj1
));
29004 if (SWIG_arg_fail(2)) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= SWIG_From_int((result
));
29021 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29024 wxDragResult arg2
;
29026 PyObject
* obj0
= 0 ;
29027 PyObject
* obj1
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "effect", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
29033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail
;
29036 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29037 if (SWIG_arg_fail(2)) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29055 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
29057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29058 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
29060 return Py_BuildValue((char *)"");
29062 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
29065 wxPyDropTarget
*result
;
29066 PyObject
* obj0
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "dataObject", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
29073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29074 if (SWIG_arg_fail(1)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
29090 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29093 PyObject
*arg2
= (PyObject
*) 0 ;
29094 PyObject
*arg3
= (PyObject
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 PyObject
* obj2
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self",(char *) "self",(char *) "_class", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29104 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 Py_INCREF(Py_None
); resultobj
= Py_None
;
29121 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
;
29123 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29124 PyObject
* obj0
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
29130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29131 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 Py_INCREF(Py_None
); resultobj
= Py_None
;
29146 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
;
29148 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29149 wxDataObject
*result
;
29150 PyObject
* obj0
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29172 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29175 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self",(char *) "dataObject", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29186 if (SWIG_arg_fail(2)) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 (arg1
)->SetDataObject(arg2
);
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 Py_INCREF(Py_None
); resultobj
= Py_None
;
29201 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
;
29203 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29206 wxDragResult arg4
;
29207 wxDragResult result
;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 PyObject
* obj3
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29229 if (SWIG_arg_fail(4)) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_From_int((result
));
29245 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29250 wxDragResult arg4
;
29251 wxDragResult result
;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 PyObject
* obj3
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail
;
29264 arg2
= (int)(SWIG_As_int(obj1
));
29265 if (SWIG_arg_fail(2)) SWIG_fail
;
29268 arg3
= (int)(SWIG_As_int(obj2
));
29269 if (SWIG_arg_fail(3)) SWIG_fail
;
29272 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29273 if (SWIG_arg_fail(4)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_From_int((result
));
29289 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29292 PyObject
* obj0
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail
;
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 (arg1
)->base_OnLeave();
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 Py_INCREF(Py_None
); resultobj
= Py_None
;
29314 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
;
29316 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 PyObject
* obj2
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self",(char *) "x",(char *) "y", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29329 if (SWIG_arg_fail(1)) SWIG_fail
;
29331 arg2
= (int)(SWIG_As_int(obj1
));
29332 if (SWIG_arg_fail(2)) SWIG_fail
;
29335 arg3
= (int)(SWIG_As_int(obj2
));
29336 if (SWIG_arg_fail(3)) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29354 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29358 PyObject
* obj0
= 0 ;
29359 char *kwnames
[] = {
29360 (char *) "self", NULL
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29365 if (SWIG_arg_fail(1)) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 result
= (bool)(arg1
)->GetData();
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29382 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29383 PyObject
*resultobj
;
29384 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29385 wxDragResult arg2
;
29386 PyObject
* obj0
= 0 ;
29387 PyObject
* obj1
= 0 ;
29388 char *kwnames
[] = {
29389 (char *) "self",(char *) "action", NULL
29392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29394 if (SWIG_arg_fail(1)) SWIG_fail
;
29396 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29397 if (SWIG_arg_fail(2)) SWIG_fail
;
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 Py_INCREF(Py_None
); resultobj
= Py_None
;
29413 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29416 wxDragResult result
;
29417 PyObject
* obj0
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29424 if (SWIG_arg_fail(1)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_From_int((result
));
29439 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29442 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29444 return Py_BuildValue((char *)"");
29446 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
;
29448 wxPyTextDropTarget
*result
;
29449 char *kwnames
[] = {
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29468 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
;
29470 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29471 PyObject
*arg2
= (PyObject
*) 0 ;
29472 PyObject
*arg3
= (PyObject
*) 0 ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 PyObject
* obj2
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self",(char *) "self",(char *) "_class", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29482 if (SWIG_arg_fail(1)) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29499 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29504 wxDragResult arg4
;
29505 wxDragResult result
;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 PyObject
* obj2
= 0 ;
29509 PyObject
* obj3
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29527 if (SWIG_arg_fail(4)) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_From_int((result
));
29543 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
;
29545 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29548 wxDragResult arg4
;
29549 wxDragResult result
;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 PyObject
* obj2
= 0 ;
29553 PyObject
* obj3
= 0 ;
29554 char *kwnames
[] = {
29555 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29560 if (SWIG_arg_fail(1)) SWIG_fail
;
29562 arg2
= (int)(SWIG_As_int(obj1
));
29563 if (SWIG_arg_fail(2)) SWIG_fail
;
29566 arg3
= (int)(SWIG_As_int(obj2
));
29567 if (SWIG_arg_fail(3)) SWIG_fail
;
29570 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29571 if (SWIG_arg_fail(4)) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_From_int((result
));
29587 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29597 if (SWIG_arg_fail(1)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 (arg1
)->base_OnLeave();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 Py_INCREF(Py_None
); resultobj
= Py_None
;
29612 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 char *kwnames
[] = {
29622 (char *) "self",(char *) "x",(char *) "y", NULL
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29627 if (SWIG_arg_fail(1)) SWIG_fail
;
29629 arg2
= (int)(SWIG_As_int(obj1
));
29630 if (SWIG_arg_fail(2)) SWIG_fail
;
29633 arg3
= (int)(SWIG_As_int(obj2
));
29634 if (SWIG_arg_fail(3)) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29652 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29657 wxDragResult arg4
;
29658 wxDragResult result
;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 PyObject
* obj2
= 0 ;
29662 PyObject
* obj3
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29669 if (SWIG_arg_fail(1)) SWIG_fail
;
29671 arg2
= (int)(SWIG_As_int(obj1
));
29672 if (SWIG_arg_fail(2)) SWIG_fail
;
29675 arg3
= (int)(SWIG_As_int(obj2
));
29676 if (SWIG_arg_fail(3)) SWIG_fail
;
29679 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29680 if (SWIG_arg_fail(4)) SWIG_fail
;
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= SWIG_From_int((result
));
29696 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29699 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29701 return Py_BuildValue((char *)"");
29703 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxPyFileDropTarget
*result
;
29706 char *kwnames
[] = {
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29725 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29728 PyObject
*arg2
= (PyObject
*) 0 ;
29729 PyObject
*arg3
= (PyObject
*) 0 ;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 PyObject
* obj2
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "self",(char *) "_class", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 Py_INCREF(Py_None
); resultobj
= Py_None
;
29756 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29761 wxDragResult arg4
;
29762 wxDragResult result
;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 PyObject
* obj2
= 0 ;
29766 PyObject
* obj3
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29784 if (SWIG_arg_fail(4)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_From_int((result
));
29800 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29805 wxDragResult arg4
;
29806 wxDragResult result
;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 PyObject
* obj2
= 0 ;
29810 PyObject
* obj3
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 arg2
= (int)(SWIG_As_int(obj1
));
29820 if (SWIG_arg_fail(2)) SWIG_fail
;
29823 arg3
= (int)(SWIG_As_int(obj2
));
29824 if (SWIG_arg_fail(3)) SWIG_fail
;
29827 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29828 if (SWIG_arg_fail(4)) SWIG_fail
;
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_From_int((result
));
29844 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
;
29846 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "self", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29854 if (SWIG_arg_fail(1)) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 (arg1
)->base_OnLeave();
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29862 Py_INCREF(Py_None
); resultobj
= Py_None
;
29869 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 PyObject
* obj2
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self",(char *) "x",(char *) "y", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29884 if (SWIG_arg_fail(1)) SWIG_fail
;
29886 arg2
= (int)(SWIG_As_int(obj1
));
29887 if (SWIG_arg_fail(2)) SWIG_fail
;
29890 arg3
= (int)(SWIG_As_int(obj2
));
29891 if (SWIG_arg_fail(3)) SWIG_fail
;
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29909 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
;
29911 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29914 wxDragResult arg4
;
29915 wxDragResult result
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 PyObject
* obj3
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29928 arg2
= (int)(SWIG_As_int(obj1
));
29929 if (SWIG_arg_fail(2)) SWIG_fail
;
29932 arg3
= (int)(SWIG_As_int(obj2
));
29933 if (SWIG_arg_fail(3)) SWIG_fail
;
29936 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29937 if (SWIG_arg_fail(4)) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_From_int((result
));
29953 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29956 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29958 return Py_BuildValue((char *)"");
29960 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
;
29962 wxClipboard
*result
;
29963 char *kwnames
[] = {
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (wxClipboard
*)new wxClipboard();
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29982 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29992 if (SWIG_arg_fail(1)) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 Py_INCREF(Py_None
); resultobj
= Py_None
;
30007 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
30017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30018 if (SWIG_arg_fail(1)) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (bool)(arg1
)->Open();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30035 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
30044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30045 if (SWIG_arg_fail(1)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 Py_INCREF(Py_None
); resultobj
= Py_None
;
30060 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30064 PyObject
* obj0
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
30070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30088 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30091 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "data", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
30100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30101 if (SWIG_arg_fail(1)) SWIG_fail
;
30102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30103 if (SWIG_arg_fail(2)) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (bool)(arg1
)->AddData(arg2
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30120 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30123 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "data", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(1)) SWIG_fail
;
30134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30135 if (SWIG_arg_fail(2)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (bool)(arg1
)->SetData(arg2
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30152 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
;
30154 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30155 wxDataFormat
*arg2
= 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self",(char *) "format", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30165 if (SWIG_arg_fail(1)) SWIG_fail
;
30167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(2)) SWIG_fail
;
30169 if (arg2
== NULL
) {
30170 SWIG_null_ref("wxDataFormat");
30172 if (SWIG_arg_fail(2)) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30190 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30193 wxDataObject
*arg2
= 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char *kwnames
[] = {
30198 (char *) "self",(char *) "data", NULL
30201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30203 if (SWIG_arg_fail(1)) SWIG_fail
;
30205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(2)) SWIG_fail
;
30207 if (arg2
== NULL
) {
30208 SWIG_null_ref("wxDataObject");
30210 if (SWIG_arg_fail(2)) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (bool)(arg1
)->GetData(*arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30228 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30238 if (SWIG_arg_fail(1)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30253 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "self", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30264 if (SWIG_arg_fail(1)) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (bool)(arg1
)->Flush();
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30281 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30284 bool arg2
= (bool) true ;
30285 PyObject
* obj0
= 0 ;
30286 PyObject
* obj1
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "primary", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30296 arg2
= (bool)(SWIG_As_bool(obj1
));
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 (arg1
)->UsePrimarySelection(arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxClipboard
*result
;
30317 char *kwnames
[] = {
30321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 result
= (wxClipboard
*)wxClipboard::Get();
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30336 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30339 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30341 return Py_BuildValue((char *)"");
30343 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30346 wxClipboardLocker
*result
;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "clipboard", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(1)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30371 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30374 PyObject
* obj0
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(1)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30396 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30400 PyObject
* obj0
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30427 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30429 return Py_BuildValue((char *)"");
30431 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 int arg1
= (int) 0 ;
30434 int arg2
= (int) 0 ;
30435 int arg3
= (int) 0 ;
30436 int arg4
= (int) 0 ;
30437 wxVideoMode
*result
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 PyObject
* obj2
= 0 ;
30441 PyObject
* obj3
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30449 arg1
= (int)(SWIG_As_int(obj0
));
30450 if (SWIG_arg_fail(1)) SWIG_fail
;
30455 arg2
= (int)(SWIG_As_int(obj1
));
30456 if (SWIG_arg_fail(2)) SWIG_fail
;
30461 arg3
= (int)(SWIG_As_int(obj2
));
30462 if (SWIG_arg_fail(3)) SWIG_fail
;
30467 arg4
= (int)(SWIG_As_int(obj3
));
30468 if (SWIG_arg_fail(4)) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30485 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30488 PyObject
* obj0
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(1)) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 Py_INCREF(Py_None
); resultobj
= Py_None
;
30510 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30513 wxVideoMode
*arg2
= 0 ;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self",(char *) "other", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail
;
30525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(2)) SWIG_fail
;
30527 if (arg2
== NULL
) {
30528 SWIG_null_ref("wxVideoMode");
30530 if (SWIG_arg_fail(2)) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_From_int((int)(result
));
30576 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 char *kwnames
[] = {
30582 (char *) "self", NULL
30585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_From_int((int)(result
));
30604 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30608 PyObject
* obj0
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30615 if (SWIG_arg_fail(1)) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_From_int((int)(result
));
30632 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30643 if (SWIG_arg_fail(1)) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30660 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30663 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self",(char *) "other", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30673 if (SWIG_arg_fail(1)) SWIG_fail
;
30674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(2)) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30692 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30695 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30697 PyObject
* obj0
= 0 ;
30698 PyObject
* obj1
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self",(char *) "other", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30705 if (SWIG_arg_fail(1)) SWIG_fail
;
30706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30707 if (SWIG_arg_fail(2)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30724 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self",(char *) "w", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30736 if (SWIG_arg_fail(1)) SWIG_fail
;
30738 arg2
= (int)(SWIG_As_int(obj1
));
30739 if (SWIG_arg_fail(2)) SWIG_fail
;
30741 if (arg1
) (arg1
)->w
= arg2
;
30743 Py_INCREF(Py_None
); resultobj
= Py_None
;
30750 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30754 PyObject
* obj0
= 0 ;
30755 char *kwnames
[] = {
30756 (char *) "self", NULL
30759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30761 if (SWIG_arg_fail(1)) SWIG_fail
;
30762 result
= (int) ((arg1
)->w
);
30765 resultobj
= SWIG_From_int((int)(result
));
30773 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 PyObject
* obj1
= 0 ;
30779 char *kwnames
[] = {
30780 (char *) "self",(char *) "h", NULL
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail
;
30787 arg2
= (int)(SWIG_As_int(obj1
));
30788 if (SWIG_arg_fail(2)) SWIG_fail
;
30790 if (arg1
) (arg1
)->h
= arg2
;
30792 Py_INCREF(Py_None
); resultobj
= Py_None
;
30799 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 char *kwnames
[] = {
30805 (char *) "self", NULL
30808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30810 if (SWIG_arg_fail(1)) SWIG_fail
;
30811 result
= (int) ((arg1
)->h
);
30814 resultobj
= SWIG_From_int((int)(result
));
30822 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "bpp", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail
;
30836 arg2
= (int)(SWIG_As_int(obj1
));
30837 if (SWIG_arg_fail(2)) SWIG_fail
;
30839 if (arg1
) (arg1
)->bpp
= arg2
;
30841 Py_INCREF(Py_None
); resultobj
= Py_None
;
30848 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
;
30850 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30852 PyObject
* obj0
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30859 if (SWIG_arg_fail(1)) SWIG_fail
;
30860 result
= (int) ((arg1
)->bpp
);
30863 resultobj
= SWIG_From_int((int)(result
));
30871 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self",(char *) "refresh", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 arg2
= (int)(SWIG_As_int(obj1
));
30886 if (SWIG_arg_fail(2)) SWIG_fail
;
30888 if (arg1
) (arg1
)->refresh
= arg2
;
30890 Py_INCREF(Py_None
); resultobj
= Py_None
;
30897 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
;
30899 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 char *kwnames
[] = {
30903 (char *) "self", NULL
30906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30908 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 result
= (int) ((arg1
)->refresh
);
30912 resultobj
= SWIG_From_int((int)(result
));
30920 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30923 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30925 return Py_BuildValue((char *)"");
30927 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30928 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30933 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30936 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30941 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
;
30943 size_t arg1
= (size_t) 0 ;
30945 PyObject
* obj0
= 0 ;
30946 char *kwnames
[] = {
30947 (char *) "index", NULL
30950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30953 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30954 if (SWIG_arg_fail(1)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (wxDisplay
*)new wxDisplay(arg1
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30971 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30974 PyObject
* obj0
= 0 ;
30975 char *kwnames
[] = {
30976 (char *) "self", NULL
30979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail
;
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 wxPyEndAllowThreads(__tstate
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 Py_INCREF(Py_None
); resultobj
= Py_None
;
30996 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30999 char *kwnames
[] = {
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (size_t)wxDisplay::GetCount();
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
31020 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxPoint
*arg1
= 0 ;
31025 PyObject
* obj0
= 0 ;
31026 char *kwnames
[] = {
31027 (char *) "pt", NULL
31030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
31033 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= SWIG_From_int((int)(result
));
31051 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxWindow
*arg1
= (wxWindow
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "window", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
31061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (int)wxDisplay::GetFromWindow(arg1
);
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_From_int((int)(result
));
31079 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
;
31081 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31107 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
;
31109 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31111 PyObject
* obj0
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
31117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31118 if (SWIG_arg_fail(1)) SWIG_fail
;
31120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31127 wxRect
* resultptr
;
31128 resultptr
= new wxRect((wxRect
&)(result
));
31129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31137 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
;
31139 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31141 PyObject
* obj0
= 0 ;
31142 char *kwnames
[] = {
31143 (char *) "self", NULL
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31148 if (SWIG_arg_fail(1)) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= ((wxDisplay
const *)arg1
)->GetName();
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31169 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
;
31171 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 char *kwnames
[] = {
31175 (char *) "self", NULL
31178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31180 if (SWIG_arg_fail(1)) SWIG_fail
;
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31197 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31200 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31201 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 char *kwnames
[] = {
31206 (char *) "self",(char *) "mode", NULL
31209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31211 if (SWIG_arg_fail(1)) SWIG_fail
;
31214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(2)) SWIG_fail
;
31216 if (arg2
== NULL
) {
31217 SWIG_null_ref("wxVideoMode");
31219 if (SWIG_arg_fail(2)) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= result
;
31236 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31239 wxVideoMode result
;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31256 wxVideoMode
* resultptr
;
31257 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31266 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
;
31268 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31269 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31270 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "mode", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31284 if (SWIG_arg_fail(2)) SWIG_fail
;
31285 if (arg2
== NULL
) {
31286 SWIG_null_ref("wxVideoMode");
31288 if (SWIG_arg_fail(2)) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31307 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31310 PyObject
* obj0
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31317 if (SWIG_arg_fail(1)) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 (arg1
)->ResetMode();
31322 wxPyEndAllowThreads(__tstate
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31325 Py_INCREF(Py_None
); resultobj
= Py_None
;
31332 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31335 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31337 return Py_BuildValue((char *)"");
31339 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
;
31341 wxStandardPaths
*result
;
31342 char *kwnames
[] = {
31346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (wxStandardPaths
*)StandardPaths_Get();
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31361 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31372 if (SWIG_arg_fail(1)) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31393 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31397 PyObject
* obj0
= 0 ;
31398 char *kwnames
[] = {
31399 (char *) "self", NULL
31402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31404 if (SWIG_arg_fail(1)) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31425 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
;
31427 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31429 PyObject
* obj0
= 0 ;
31430 char *kwnames
[] = {
31431 (char *) "self", NULL
31434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31436 if (SWIG_arg_fail(1)) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31457 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31458 PyObject
*resultobj
;
31459 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31468 if (SWIG_arg_fail(1)) SWIG_fail
;
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31489 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31493 PyObject
* obj0
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31521 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31553 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31585 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31588 wxString
*arg2
= 0 ;
31589 bool temp2
= false ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self",(char *) "prefix", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31598 if (SWIG_arg_fail(1)) SWIG_fail
;
31600 arg2
= wxString_in_helper(obj1
);
31601 if (arg2
== NULL
) SWIG_fail
;
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31658 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31661 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31663 return Py_BuildValue((char *)"");
31665 static PyMethodDef SwigMethods
[] = {
31666 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31681 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31747 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31755 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31773 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31776 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31779 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31788 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31808 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31814 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31817 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31831 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31834 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31835 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31865 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31867 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31869 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31878 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31884 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31902 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31909 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31934 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31981 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
32041 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
32111 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
32118 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32211 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32212 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32213 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32214 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32276 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32310 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32318 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32319 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32324 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32333 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32340 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32343 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32346 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32351 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32354 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32358 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32361 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32366 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32370 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32374 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32378 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32388 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32401 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32409 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32417 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32431 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32435 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32453 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32467 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32478 { NULL
, NULL
, 0, NULL
}
32482 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32484 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32487 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32490 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32493 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32496 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32499 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32502 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32503 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32505 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32508 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32511 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32512 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32514 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32517 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32518 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32520 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32521 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32523 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32526 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32527 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32529 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32530 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32532 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32535 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32538 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32541 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32544 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32545 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32547 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32548 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32550 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32551 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32553 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32556 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32557 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32559 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32560 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32562 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32565 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32568 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32571 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32572 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32574 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32577 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32578 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32580 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32581 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32583 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32586 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32589 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32592 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32595 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32598 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32601 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32602 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32604 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32605 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32607 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32608 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32610 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32611 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32613 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32614 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32616 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32617 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32619 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32620 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32622 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32623 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32625 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32626 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32628 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32629 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32631 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32632 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32634 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32635 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32637 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32638 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32640 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32641 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32643 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32644 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32646 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32647 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32649 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32650 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32652 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32653 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32655 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32656 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32658 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32659 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32661 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32662 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32664 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32665 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32667 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32668 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32670 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32671 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32673 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32676 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32677 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32679 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32682 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32683 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32685 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32686 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32688 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32689 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32691 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32692 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32694 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32697 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32698 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32700 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32701 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32703 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32704 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32706 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32709 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32712 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32715 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32718 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32721 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32724 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32727 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) ((wxSizer
*) x
));
32730 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32733 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32736 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32739 static void *_p_wxEventTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) ((wxEvent
*) x
));
32742 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32745 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32748 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32751 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32754 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32757 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32760 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32763 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32766 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32769 static void *_p_wxControlTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32772 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32775 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32778 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32781 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32784 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32787 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32790 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32793 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32796 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32799 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32802 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32805 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32808 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32811 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32814 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32817 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32820 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32823 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32826 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32829 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32832 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32835 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32838 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32841 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32844 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32847 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32850 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32853 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32856 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32859 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32862 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32865 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32868 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32871 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32874 static void *_p_wxImageTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) ((wxImage
*) x
));
32877 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32880 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32883 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32886 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32889 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32892 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32895 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32898 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32901 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32904 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32907 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32910 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32913 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32916 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32919 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32922 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32925 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32928 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32931 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32934 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32937 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32940 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32943 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32946 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32949 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32952 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32955 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32958 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32961 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
32962 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
32964 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32965 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32967 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32968 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32970 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32971 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32973 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32974 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32976 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32977 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32979 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32980 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32982 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32983 return (void *)((wxWindow
*) ((wxControl
*) x
));
32985 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32986 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32988 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32989 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32991 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32992 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32994 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32995 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32997 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}};
32998 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}};
32999 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}};
33000 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}};
33001 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 static swig_type_info _swigt__p_wxLogBuffer
[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33097 static swig_type_info
*swig_types_initial
[] = {
33098 _swigt__p_wxLogChain
,
33099 _swigt__p_wxMutexGuiLocker
,
33100 _swigt__p_wxMetafile
,
33101 _swigt__p_wxFileHistory
,
33105 _swigt__p_wxDateTime__TimeZone
,
33106 _swigt__p_wxConfigBase
,
33107 _swigt__p_wxDisplay
,
33108 _swigt__p_wxFileType
,
33109 _swigt__p_wxLogGui
,
33111 _swigt__p_wxDataFormat
,
33112 _swigt__p_wxTimerEvent
,
33115 _swigt__std__ptrdiff_t
,
33119 _swigt__p_wxClipboard
,
33120 _swigt__p_wxStopWatch
,
33122 _swigt__p_wxClipboardLocker
,
33124 _swigt__p_wxLogStderr
,
33125 _swigt__p_wxLogTextCtrl
,
33126 _swigt__p_wxTextCtrl
,
33127 _swigt__p_wxBusyCursor
,
33128 _swigt__p_wxBitmapDataObject
,
33129 _swigt__p_wxTextDataObject
,
33130 _swigt__p_wxDataObject
,
33131 _swigt__p_wxPyTextDataObject
,
33132 _swigt__p_wxPyBitmapDataObject
,
33133 _swigt__p_wxFileDataObject
,
33134 _swigt__p_wxCustomDataObject
,
33135 _swigt__p_wxURLDataObject
,
33136 _swigt__p_wxMetafileDataObject
,
33138 _swigt__p_wxTimerRunner
,
33139 _swigt__p_wxLogWindow
,
33140 _swigt__p_wxTimeSpan
,
33141 _swigt__p_wxArrayString
,
33142 _swigt__p_wxWindowDisabler
,
33143 _swigt__p_form_ops_t
,
33144 _swigt__p_wxToolTip
,
33145 _swigt__p_wxDataObjectComposite
,
33146 _swigt__p_wxSystemSettings
,
33147 _swigt__p_wxFileConfig
,
33148 _swigt__p_wxVideoMode
,
33149 _swigt__p_wxDataObjectSimple
,
33150 _swigt__p_wxPyDataObjectSimple
,
33151 _swigt__p_wxDuplexMode
,
33152 _swigt__p_wxEvtHandler
,
33155 _swigt__p_wxSingleInstanceChecker
,
33156 _swigt__p_wxStandardPaths
,
33157 _swigt__p_wxFileTypeInfo
,
33160 _swigt__p_wxPaperSize
,
33161 _swigt__p_wxMimeTypesManager
,
33162 _swigt__p_wxPyArtProvider
,
33163 _swigt__p_wxPyTipProvider
,
33164 _swigt__p_wxTipProvider
,
33165 _swigt__p_wxJoystick
,
33166 _swigt__p_wxSystemOptions
,
33168 _swigt__p_wxJoystickEvent
,
33169 _swigt__p_wxCursor
,
33170 _swigt__p_wxObject
,
33171 _swigt__p_wxOutputStream
,
33172 _swigt__p_wxDateTime
,
33173 _swigt__p_wxPyDropSource
,
33174 _swigt__p_unsigned_long
,
33175 _swigt__p_wxLogBuffer
,
33176 _swigt__p_wxKillError
,
33177 _swigt__p_wxWindow
,
33178 _swigt__p_wxString
,
33179 _swigt__p_wxPyProcess
,
33180 _swigt__p_wxBitmap
,
33181 _swigt__unsigned_int
,
33182 _swigt__p_unsigned_int
,
33183 _swigt__p_wxConfig
,
33184 _swigt__p_unsigned_char
,
33186 _swigt__p_wxBusyInfo
,
33187 _swigt__p_wxPyDropTarget
,
33188 _swigt__p_wxPyTextDropTarget
,
33189 _swigt__p_wxPyFileDropTarget
,
33190 _swigt__p_wxProcessEvent
,
33192 _swigt__p_wxLogNull
,
33193 _swigt__p_wxColour
,
33194 _swigt__p_wxPyTimer
,
33195 _swigt__p_wxConfigPathChanger
,
33196 _swigt__p_wxDateSpan
,
33201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33203 static swig_const_info swig_const_table
[] = {
33204 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33205 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33206 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33207 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33208 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33209 {0, 0, 0, 0.0, 0, 0}};
33220 /* Python-specific SWIG API */
33221 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33222 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33223 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33225 /* -----------------------------------------------------------------------------
33226 * global variable support code.
33227 * ----------------------------------------------------------------------------- */
33229 typedef struct swig_globalvar
{
33230 char *name
; /* Name of global variable */
33231 PyObject
*(*get_attr
)(); /* Return the current value */
33232 int (*set_attr
)(PyObject
*); /* Set the value */
33233 struct swig_globalvar
*next
;
33236 typedef struct swig_varlinkobject
{
33238 swig_globalvar
*vars
;
33239 } swig_varlinkobject
;
33242 swig_varlink_repr(swig_varlinkobject
*v
) {
33244 return PyString_FromString("<Swig global variables>");
33248 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33249 swig_globalvar
*var
;
33251 fprintf(fp
,"Swig global variables { ");
33252 for (var
= v
->vars
; var
; var
=var
->next
) {
33253 fprintf(fp
,"%s", var
->name
);
33254 if (var
->next
) fprintf(fp
,", ");
33256 fprintf(fp
," }\n");
33261 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33262 swig_globalvar
*var
= v
->vars
;
33264 if (strcmp(var
->name
,n
) == 0) {
33265 return (*var
->get_attr
)();
33269 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33274 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33275 swig_globalvar
*var
= v
->vars
;
33277 if (strcmp(var
->name
,n
) == 0) {
33278 return (*var
->set_attr
)(p
);
33282 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33286 static PyTypeObject varlinktype
= {
33287 PyObject_HEAD_INIT(0)
33288 0, /* Number of items in variable part (ob_size) */
33289 (char *)"swigvarlink", /* Type name (tp_name) */
33290 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33291 0, /* Itemsize (tp_itemsize) */
33292 0, /* Deallocator (tp_dealloc) */
33293 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33294 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33295 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33296 0, /* tp_compare */
33297 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33298 0, /* tp_as_number */
33299 0, /* tp_as_sequence */
33300 0, /* tp_as_mapping */
33304 0, /* tp_getattro */
33305 0, /* tp_setattro */
33306 0, /* tp_as_buffer */
33309 #if PY_VERSION_HEX >= 0x02000000
33310 0, /* tp_traverse */
33313 #if PY_VERSION_HEX >= 0x02010000
33314 0, /* tp_richcompare */
33315 0, /* tp_weaklistoffset */
33317 #if PY_VERSION_HEX >= 0x02020000
33318 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33320 #if PY_VERSION_HEX >= 0x02030000
33323 #ifdef COUNT_ALLOCS
33324 0,0,0,0 /* tp_alloc -> tp_next */
33328 /* Create a variable linking object for use later */
33330 SWIG_Python_newvarlink(void) {
33331 swig_varlinkobject
*result
= 0;
33332 result
= PyMem_NEW(swig_varlinkobject
,1);
33333 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33334 result
->ob_type
= &varlinktype
;
33336 result
->ob_refcnt
= 0;
33337 Py_XINCREF((PyObject
*) result
);
33338 return ((PyObject
*) result
);
33342 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33343 swig_varlinkobject
*v
;
33344 swig_globalvar
*gv
;
33345 v
= (swig_varlinkobject
*) p
;
33346 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33347 gv
->name
= (char *) malloc(strlen(name
)+1);
33348 strcpy(gv
->name
,name
);
33349 gv
->get_attr
= get_attr
;
33350 gv
->set_attr
= set_attr
;
33351 gv
->next
= v
->vars
;
33355 /* -----------------------------------------------------------------------------
33356 * constants/methods manipulation
33357 * ----------------------------------------------------------------------------- */
33359 /* Install Constants */
33361 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33364 for (i
= 0; constants
[i
].type
; i
++) {
33365 switch(constants
[i
].type
) {
33367 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33369 case SWIG_PY_FLOAT
:
33370 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33372 case SWIG_PY_STRING
:
33373 if (constants
[i
].pvalue
) {
33374 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33376 Py_INCREF(Py_None
);
33380 case SWIG_PY_POINTER
:
33381 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33383 case SWIG_PY_BINARY
:
33384 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33391 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33397 /* -----------------------------------------------------------------------------*/
33398 /* Fix SwigMethods to carry the callback ptrs when needed */
33399 /* -----------------------------------------------------------------------------*/
33402 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33403 swig_const_info
*const_table
,
33404 swig_type_info
**types
,
33405 swig_type_info
**types_initial
) {
33407 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33408 char *c
= methods
[i
].ml_doc
;
33409 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33411 swig_const_info
*ci
= 0;
33412 char *name
= c
+ 10;
33413 for (j
= 0; const_table
[j
].type
; j
++) {
33414 if (strncmp(const_table
[j
].name
, name
,
33415 strlen(const_table
[j
].name
)) == 0) {
33416 ci
= &(const_table
[j
]);
33421 size_t shift
= (ci
->ptype
) - types
;
33422 swig_type_info
*ty
= types_initial
[shift
];
33423 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33424 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33425 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33427 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33428 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33430 strncpy(buff
, "swig_ptr: ", 10);
33432 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33433 methods
[i
].ml_doc
= ndoc
;
33439 /* -----------------------------------------------------------------------------*
33440 * Initialize type list
33441 * -----------------------------------------------------------------------------*/
33443 #if PY_MAJOR_VERSION < 2
33444 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33445 is copied out of Python/modsupport.c in python version 2.3.4 */
33447 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33450 if (!PyModule_Check(m
)) {
33451 PyErr_SetString(PyExc_TypeError
,
33452 "PyModule_AddObject() needs module as first arg");
33456 PyErr_SetString(PyExc_TypeError
,
33457 "PyModule_AddObject() needs non-NULL value");
33461 dict
= PyModule_GetDict(m
);
33462 if (dict
== NULL
) {
33463 /* Internal error -- modules must have a dict! */
33464 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33465 PyModule_GetName(m
));
33468 if (PyDict_SetItemString(dict
, name
, o
))
33475 static swig_type_info
**
33476 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33477 static PyMethodDef swig_empty_runtime_method_table
[] = {
33479 NULL
, NULL
, 0, NULL
33483 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33484 swig_empty_runtime_method_table
);
33485 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33486 if (pointer
&& module) {
33487 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33489 return type_list_handle
;
33492 static swig_type_info
**
33493 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33494 swig_type_info
**type_pointer
;
33496 /* first check if module already created */
33497 type_pointer
= SWIG_Python_GetTypeListHandle();
33498 if (type_pointer
) {
33499 return type_pointer
;
33501 /* create a new module and variable */
33502 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33510 /* -----------------------------------------------------------------------------*
33511 * Partial Init method
33512 * -----------------------------------------------------------------------------*/
33514 #ifdef SWIG_LINK_RUNTIME
33518 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33524 SWIGEXPORT(void) SWIG_init(void) {
33525 static PyObject
*SWIG_globals
= 0;
33526 static int typeinit
= 0;
33529 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33531 /* Fix SwigMethods to carry the callback ptrs when needed */
33532 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33534 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33535 d
= PyModule_GetDict(m
);
33538 #ifdef SWIG_LINK_RUNTIME
33539 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33541 # ifndef SWIG_STATIC_RUNTIME
33542 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33545 for (i
= 0; swig_types_initial
[i
]; i
++) {
33546 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33550 SWIG_InstallConstants(d
,swig_const_table
);
33553 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33556 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33559 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33562 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33565 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33568 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33571 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33574 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33577 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33580 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33583 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33586 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33589 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33592 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33595 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33598 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33601 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33604 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33607 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33610 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33613 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33616 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33619 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33622 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33625 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33628 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33631 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33634 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33637 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33640 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33643 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33646 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33649 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33652 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33655 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33658 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33661 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33664 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33667 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33670 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33673 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33676 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33679 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33682 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33685 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33688 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33691 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33694 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33697 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33700 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33703 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33706 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33709 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33712 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33715 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33718 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33721 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33724 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33727 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33730 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33733 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33736 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33739 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33742 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33745 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33748 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33751 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33754 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33757 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33760 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33763 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33766 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33769 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33772 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33775 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33778 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33781 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33784 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33787 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33790 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33793 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33796 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33799 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33802 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33805 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33808 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33811 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33814 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33817 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33820 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33823 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33825 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33826 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33827 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33828 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33829 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33831 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33834 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33837 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33840 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33842 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33844 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33847 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33850 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33853 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33856 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33859 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33862 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33865 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33868 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33871 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33874 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33877 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33879 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33880 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33881 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33882 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33883 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33885 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33888 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33891 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33894 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33897 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33900 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33903 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33906 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33909 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33912 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33915 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33918 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33921 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33924 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33927 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33930 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33933 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33936 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33939 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33942 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33945 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33948 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33951 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33954 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33957 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33960 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33963 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33966 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33969 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33972 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33975 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33977 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33979 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33982 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33985 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33988 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33991 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33994 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33997 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
34000 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
34003 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
34006 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
34009 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
34012 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
34015 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
34017 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
34018 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
34019 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
34020 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
34022 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
34025 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
34028 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
34031 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
34034 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
34037 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
34040 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
34043 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
34045 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
34046 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
34047 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
34048 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
34049 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
34050 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
34051 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
34052 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
34053 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
34054 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
34055 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
34056 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
34057 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
34058 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
34059 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
34060 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
34061 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
34062 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
34063 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
34064 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
34065 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
34066 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
34067 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
34068 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
34069 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
34070 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
34071 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
34072 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
34073 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
34074 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
34075 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
34076 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
34077 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
34078 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
34079 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
34080 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
34081 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
34082 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
34083 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
34084 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
34085 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
34086 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
34087 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
34088 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
34089 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
34090 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
34091 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
34092 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
34093 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
34094 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
34095 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
34096 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
34097 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
34098 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
34099 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
34100 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
34101 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
34103 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34106 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
34109 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
34112 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
34115 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
34118 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
34121 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
34124 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
34127 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
34130 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
34132 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
34133 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
34135 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
34138 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
34141 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
34144 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
34147 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
34150 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
34153 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
34156 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34159 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34162 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34165 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34168 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34171 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34174 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34177 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34180 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34183 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34186 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34189 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34192 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34195 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34198 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34201 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34204 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34207 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34210 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34213 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34216 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34219 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34222 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34225 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34228 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34231 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34234 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34237 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34240 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34243 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34246 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34249 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34252 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34255 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34258 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34261 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34264 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34267 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34270 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34273 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34276 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34279 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34282 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34285 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34288 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34291 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34294 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34297 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34300 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34303 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34306 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34309 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34312 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34315 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34318 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34321 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34324 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34327 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34330 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34333 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34336 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34339 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34342 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34345 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34348 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34351 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34354 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34357 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34360 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34363 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34366 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34369 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34372 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34375 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34378 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34381 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34384 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34387 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34390 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34393 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34396 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34399 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34402 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34405 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34408 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34411 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34414 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34417 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34420 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34423 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34426 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34429 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34432 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34435 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34438 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34441 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34444 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34447 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34450 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34453 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34456 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34459 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34462 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34465 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34468 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34471 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34474 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34477 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34480 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34483 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34486 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34489 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34492 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34495 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34498 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34501 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34504 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34507 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34510 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34513 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34516 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34519 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34522 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34525 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34528 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34531 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34534 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34537 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34540 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34543 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34546 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34549 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34552 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34555 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34558 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34561 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34564 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34567 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34570 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34573 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34576 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34579 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34582 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34585 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34588 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34591 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34594 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34597 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34599 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34601 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34604 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34607 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34610 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34613 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34616 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34619 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34622 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34625 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34628 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34631 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34634 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34637 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34640 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34643 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34646 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34649 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34652 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34655 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34658 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34660 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34662 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34665 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34668 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34671 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34674 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34677 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34680 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34683 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34686 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34689 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34692 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34695 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34698 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34699 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34700 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34701 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34703 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);