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 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_void swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBitmap swig_types[12]
1448 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1449 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
1450 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
1451 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
1452 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1453 #define SWIGTYPE_p_wxCaret swig_types[18]
1454 #define SWIGTYPE_p_wxChar swig_types[19]
1455 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1456 #define SWIGTYPE_p_wxClipboard swig_types[21]
1457 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1458 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
1459 #define SWIGTYPE_p_wxColour swig_types[24]
1460 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
1461 #define SWIGTYPE_p_wxConfig swig_types[26]
1462 #define SWIGTYPE_p_wxConfigBase swig_types[27]
1463 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1464 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1465 #define SWIGTYPE_p_wxControl swig_types[30]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
1467 #define SWIGTYPE_p_wxCursor swig_types[32]
1468 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1469 #define SWIGTYPE_p_wxDC swig_types[34]
1470 #define SWIGTYPE_p_wxDataFormat swig_types[35]
1471 #define SWIGTYPE_p_wxDataObject swig_types[36]
1472 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1473 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1474 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1475 #define SWIGTYPE_p_wxDateSpan swig_types[40]
1476 #define SWIGTYPE_p_wxDateTime swig_types[41]
1477 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1478 #define SWIGTYPE_p_wxDisplay swig_types[43]
1479 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1480 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1481 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
1482 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
1483 #define SWIGTYPE_p_wxEvent swig_types[48]
1484 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
1485 #define SWIGTYPE_p_wxFSFile swig_types[50]
1486 #define SWIGTYPE_p_wxFileConfig swig_types[51]
1487 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
1488 #define SWIGTYPE_p_wxFileHistory swig_types[53]
1489 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1490 #define SWIGTYPE_p_wxFileType swig_types[55]
1491 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1492 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1493 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
1494 #define SWIGTYPE_p_wxFont swig_types[59]
1495 #define SWIGTYPE_p_wxFrame swig_types[60]
1496 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1497 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
1498 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1499 #define SWIGTYPE_p_wxGridSizer swig_types[64]
1500 #define SWIGTYPE_p_wxICOHandler swig_types[65]
1501 #define SWIGTYPE_p_wxIcon swig_types[66]
1502 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1503 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
1504 #define SWIGTYPE_p_wxImage swig_types[69]
1505 #define SWIGTYPE_p_wxImageHandler swig_types[70]
1506 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1507 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1508 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509 #define SWIGTYPE_p_wxJoystick swig_types[74]
1510 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1511 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1512 #define SWIGTYPE_p_wxKillError swig_types[77]
1513 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1514 #define SWIGTYPE_p_wxLog swig_types[79]
1515 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
1516 #define SWIGTYPE_p_wxLogChain swig_types[81]
1517 #define SWIGTYPE_p_wxLogGui swig_types[82]
1518 #define SWIGTYPE_p_wxLogNull swig_types[83]
1519 #define SWIGTYPE_p_wxLogStderr swig_types[84]
1520 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1521 #define SWIGTYPE_p_wxLogWindow swig_types[86]
1522 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1523 #define SWIGTYPE_p_wxMemorySize swig_types[88]
1524 #define SWIGTYPE_p_wxMenu swig_types[89]
1525 #define SWIGTYPE_p_wxMenuBar swig_types[90]
1526 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMenuItem swig_types[92]
1528 #define SWIGTYPE_p_wxMetafile swig_types[93]
1529 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1530 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1531 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1532 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
1533 #define SWIGTYPE_p_wxMouseState swig_types[98]
1534 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
1535 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1536 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1537 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1538 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1539 #define SWIGTYPE_p_wxObject swig_types[104]
1540 #define SWIGTYPE_p_wxOutputStream swig_types[105]
1541 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
1545 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1546 #define SWIGTYPE_p_wxPaperSize swig_types[111]
1547 #define SWIGTYPE_p_wxPoint swig_types[112]
1548 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
1549 #define SWIGTYPE_p_wxPyApp swig_types[114]
1550 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1551 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1552 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1553 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1554 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
1555 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1556 #define SWIGTYPE_p_wxPyEvent swig_types[121]
1557 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1558 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1559 #define SWIGTYPE_p_wxPyLog swig_types[124]
1560 #define SWIGTYPE_p_wxPyProcess swig_types[125]
1561 #define SWIGTYPE_p_wxPySizer swig_types[126]
1562 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1563 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1564 #define SWIGTYPE_p_wxPyTimer swig_types[129]
1565 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1566 #define SWIGTYPE_p_wxPyValidator swig_types[131]
1567 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1568 #define SWIGTYPE_p_wxRect swig_types[133]
1569 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
1570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1572 #define SWIGTYPE_p_wxShowEvent swig_types[137]
1573 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1574 #define SWIGTYPE_p_wxSize swig_types[139]
1575 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
1576 #define SWIGTYPE_p_wxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxSizerItem swig_types[142]
1578 #define SWIGTYPE_p_wxSound swig_types[143]
1579 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
1580 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1581 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1582 #define SWIGTYPE_p_wxStopWatch swig_types[147]
1583 #define SWIGTYPE_p_wxString swig_types[148]
1584 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1585 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
1586 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
1587 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1588 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
1589 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
1590 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
1591 #define SWIGTYPE_p_wxTimer swig_types[156]
1592 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
1593 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
1594 #define SWIGTYPE_p_wxTipProvider swig_types[159]
1595 #define SWIGTYPE_p_wxToolTip swig_types[160]
1596 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
1597 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1598 #define SWIGTYPE_p_wxValidator swig_types[163]
1599 #define SWIGTYPE_p_wxVideoMode swig_types[164]
1600 #define SWIGTYPE_p_wxWindow swig_types[165]
1601 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1602 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1603 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1604 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
1605 #define SWIGTYPE_ptrdiff_t swig_types[170]
1606 #define SWIGTYPE_std__ptrdiff_t swig_types[171]
1607 #define SWIGTYPE_unsigned_int swig_types[172]
1608 static swig_type_info
*swig_types
[174];
1609 static swig_module_info swig_module
= {swig_types
, 173, 0, 0, 0, 0};
1610 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1611 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1613 /* -------- TYPES TABLE (END) -------- */
1616 /*-----------------------------------------------
1617 @(target):= _misc_.so
1618 ------------------------------------------------*/
1619 #define SWIG_init init_misc_
1621 #define SWIG_name "_misc_"
1623 #include "wx/wxPython/wxPython.h"
1624 #include "wx/wxPython/pyclasses.h"
1625 #include "wx/wxPython/pyistream.h"
1627 static const wxString
wxPyEmptyString(wxEmptyString
);
1631 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1632 #define SWIG_From_int PyInt_FromLong
1640 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1643 if (value
< min_value
) {
1645 PyErr_Format(PyExc_OverflowError
,
1646 "value %ld is less than '%s' minimum %ld",
1647 value
, errmsg
, min_value
);
1650 } else if (value
> max_value
) {
1652 PyErr_Format(PyExc_OverflowError
,
1653 "value %ld is greater than '%s' maximum %ld",
1654 value
, errmsg
, max_value
);
1663 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1665 if (PyNumber_Check(obj
)) {
1666 if (val
) *val
= PyInt_AsLong(obj
);
1670 SWIG_Python_TypeError("number", obj
);
1676 #if INT_MAX != LONG_MAX
1678 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1680 const char* errmsg
= val
? "int" : (char*)0;
1682 if (SWIG_AsVal_long(obj
, &v
)) {
1683 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1684 if (val
) *val
= static_cast<int >(v
);
1693 SWIG_type_error(errmsg
, obj
);
1698 SWIGINTERNINLINE
int
1699 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1701 return SWIG_AsVal_long(obj
,(long*)val
);
1706 SWIGINTERNINLINE
int
1707 SWIG_As_int(PyObject
* obj
)
1710 if (!SWIG_AsVal_int(obj
, &v
)) {
1712 this is needed to make valgrind/purify happier.
1714 memset((void*)&v
, 0, sizeof(int));
1720 SWIGINTERNINLINE
int
1721 SWIG_Check_int(PyObject
* obj
)
1723 return SWIG_AsVal_int(obj
, (int*)0);
1726 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1728 #include <wx/stockitem.h>
1730 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1731 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1732 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1734 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1735 #define SWIG_From_long PyInt_FromLong
1739 SWIGINTERNINLINE
long
1740 SWIG_As_long(PyObject
* obj
)
1743 if (!SWIG_AsVal_long(obj
, &v
)) {
1745 this is needed to make valgrind/purify happier.
1747 memset((void*)&v
, 0, sizeof(long));
1753 SWIGINTERNINLINE
int
1754 SWIG_Check_long(PyObject
* obj
)
1756 return SWIG_AsVal_long(obj
, (long*)0);
1761 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1763 if (obj
== Py_True
) {
1764 if (val
) *val
= true;
1767 if (obj
== Py_False
) {
1768 if (val
) *val
= false;
1772 if (SWIG_AsVal_int(obj
, &res
)) {
1773 if (val
) *val
= res
? true : false;
1779 SWIG_type_error("bool", obj
);
1785 SWIGINTERNINLINE
bool
1786 SWIG_As_bool(PyObject
* obj
)
1789 if (!SWIG_AsVal_bool(obj
, &v
)) {
1791 this is needed to make valgrind/purify happier.
1793 memset((void*)&v
, 0, sizeof(bool));
1799 SWIGINTERNINLINE
int
1800 SWIG_Check_bool(PyObject
* obj
)
1802 return SWIG_AsVal_bool(obj
, (bool*)0);
1806 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1812 } else if (result
== Py_None
) {
1816 if (!PyTuple_Check(result
)) {
1818 result
= PyTuple_New(1);
1819 PyTuple_SET_ITEM(result
, 0, o2
);
1821 o3
= PyTuple_New(1);
1822 PyTuple_SetItem(o3
, 0, obj
);
1824 result
= PySequence_Concat(o2
, o3
);
1834 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1837 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1838 SWIG_Python_TypeError("unsigned number", obj
);
1841 *val
= (unsigned long)v
;
1846 SWIGINTERNINLINE
unsigned long
1847 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1850 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1852 this is needed to make valgrind/purify happier.
1854 memset((void*)&v
, 0, sizeof(unsigned long));
1860 SWIGINTERNINLINE
int
1861 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1863 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1867 SWIGINTERNINLINE PyObject
*
1868 SWIG_From_unsigned_SS_long(unsigned long value
)
1870 return (value
> LONG_MAX
) ?
1871 PyLong_FromUnsignedLong(value
)
1872 : PyInt_FromLong(static_cast<long >(value
));
1876 void* wxGetXDisplay()
1879 return wxGetDisplay();
1886 wxWindow
* FindWindowAtPointer() {
1888 return wxFindWindowAtPointer(unused
);
1892 bool wxThread_IsMain() {
1893 #ifdef WXP_WITH_THREAD
1894 return wxThread::IsMain();
1900 static void wxCaret_Destroy(wxCaret
*self
){
1904 #include <wx/snglinst.h>
1908 #include <wx/msw/private.h>
1909 #include <wx/dynload.h>
1914 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1925 // This one only partially works. Appears to be an undocumented
1926 // "standard" convention that not all widgets adhear to. For
1927 // example, for some widgets backgrounds or non-client areas may
1929 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1934 // This one works much better, nearly all widgets and their
1935 // children are captured correctly[**]. Prior to the big
1936 // background erase changes that Vadim did in 2004-2005 this
1937 // method failed badly on XP with Themes activated, most native
1938 // widgets draw only partially, if at all. Without themes it
1939 // worked just like on Win2k. After those changes this method
1942 // ** For example the radio buttons in a wxRadioBox are not its
1943 // children by default, but you can capture it via the panel
1944 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1945 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1946 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1947 PRF_ERASEBKGND
| PRF_OWNED
);
1953 // This one is only defined in the latest SDK and is only
1954 // available on XP. MSDN says it is similar to sending WM_PRINT
1955 // so I expect that it will work similar to the above. Since it
1956 // is avaialble only on XP, it can't be compiled like this and
1957 // will have to be loaded dynamically.
1958 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1963 // Use PrintWindow if available, or fallback to WM_PRINT
1964 // otherwise. Unfortunately using PrintWindow is even worse than
1965 // WM_PRINT. For most native widgets nothing is drawn to the dc
1966 // at all, with or without Themes.
1967 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1968 static bool s_triedToLoad
= false;
1969 static PrintWindow_t pfnPrintWindow
= NULL
;
1970 if ( !s_triedToLoad
)
1973 s_triedToLoad
= true;
1974 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1975 if ( dllUser32
.IsLoaded() )
1977 wxLogNull nolog
; // Don't report errors here
1978 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1983 //printf("Using PrintWindow\n");
1984 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1988 //printf("Using WM_PRINT\n");
1989 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1990 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1991 PRF_ERASEBKGND
| PRF_OWNED
);
2002 #include <wx/tipdlg.h>
2005 class wxPyTipProvider
: public wxTipProvider
{
2007 wxPyTipProvider(size_t currentTip
)
2008 : wxTipProvider(currentTip
) {}
2010 DEC_PYCALLBACK_STRING__pure(GetTip
);
2011 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2015 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2016 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2019 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2021 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2023 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2024 : wxTimer(owner
, id
)
2026 if (owner
== NULL
) SetOwner(this);
2030 SWIGINTERN PyObject
*
2031 SWIG_FromCharPtr(const char* cptr
)
2034 size_t size
= strlen(cptr
);
2035 if (size
> INT_MAX
) {
2036 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2037 SWIG_TypeQuery("char *"), 0);
2040 return PyString_FromStringAndSize(cptr
, size
);
2042 return PyString_FromString(cptr
);
2051 SWIGINTERNINLINE
int
2052 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2053 unsigned long max_value
,
2056 if (value
> max_value
) {
2058 PyErr_Format(PyExc_OverflowError
,
2059 "value %lu is greater than '%s' minimum %lu",
2060 value
, errmsg
, max_value
);
2068 #if UINT_MAX != ULONG_MAX
2070 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2072 const char* errmsg
= val
? "unsigned int" : (char*)0;
2074 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2075 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2076 if (val
) *val
= static_cast<unsigned int >(v
);
2083 SWIG_type_error(errmsg
, obj
);
2088 SWIGINTERNINLINE
unsigned int
2089 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2091 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2096 SWIGINTERNINLINE
unsigned int
2097 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2100 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2102 this is needed to make valgrind/purify happier.
2104 memset((void*)&v
, 0, sizeof(unsigned int));
2110 SWIGINTERNINLINE
int
2111 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2113 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2116 static wxString
wxLog_TimeStamp(){
2118 wxLog::TimeStamp(&msg
);
2121 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2122 // Make some wrappers that double any % signs so they are 'escaped'
2123 void wxPyLogFatalError(const wxString
& msg
)
2126 m
.Replace(wxT("%"), wxT("%%"));
2130 void wxPyLogError(const wxString
& msg
)
2133 m
.Replace(wxT("%"), wxT("%%"));
2137 void wxPyLogWarning(const wxString
& msg
)
2140 m
.Replace(wxT("%"), wxT("%%"));
2144 void wxPyLogMessage(const wxString
& msg
)
2147 m
.Replace(wxT("%"), wxT("%%"));
2151 void wxPyLogInfo(const wxString
& msg
)
2154 m
.Replace(wxT("%"), wxT("%%"));
2158 void wxPyLogDebug(const wxString
& msg
)
2161 m
.Replace(wxT("%"), wxT("%%"));
2165 void wxPyLogVerbose(const wxString
& msg
)
2168 m
.Replace(wxT("%"), wxT("%%"));
2172 void wxPyLogStatus(const wxString
& msg
)
2175 m
.Replace(wxT("%"), wxT("%%"));
2179 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2182 m
.Replace(wxT("%"), wxT("%%"));
2183 wxLogStatus(pFrame
, m
);
2186 void wxPyLogSysError(const wxString
& msg
)
2189 m
.Replace(wxT("%"), wxT("%%"));
2193 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2196 m
.Replace(wxT("%"), wxT("%%"));
2197 wxLogGeneric(level
, m
);
2200 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2203 m
.Replace(wxT("%"), wxT("%%"));
2204 wxLogTrace(mask
, m
);
2207 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2210 m
.Replace(wxT("%"), wxT("%%"));
2211 wxLogTrace(mask
, m
);
2216 // A wxLog class that can be derived from in wxPython
2217 class wxPyLog
: public wxLog
{
2219 wxPyLog() : wxLog() {}
2221 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2224 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2225 PyObject
* s
= wx2PyString(szString
);
2226 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2229 wxPyEndBlockThreads(blocked
);
2231 wxLog::DoLog(level
, szString
, t
);
2234 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2237 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2238 PyObject
* s
= wx2PyString(szString
);
2239 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2242 wxPyEndBlockThreads(blocked
);
2244 wxLog::DoLogString(szString
, t
);
2247 DEC_PYCALLBACK_VOID_(Flush
);
2250 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
2255 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2258 #include <wx/joystick.h>
2261 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2262 // A C++ stub class for wxJoystick for platforms that don't have it.
2263 class wxJoystick
: public wxObject
{
2265 wxJoystick(int joystick
= wxJOYSTICK1
) {
2266 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2267 PyErr_SetString(PyExc_NotImplementedError
,
2268 "wxJoystick is not available on this platform.");
2269 wxPyEndBlockThreads(blocked
);
2271 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2272 int GetZPosition() { return -1; }
2273 int GetButtonState() { return -1; }
2274 int GetPOVPosition() { return -1; }
2275 int GetPOVCTSPosition() { return -1; }
2276 int GetRudderPosition() { return -1; }
2277 int GetUPosition() { return -1; }
2278 int GetVPosition() { return -1; }
2279 int GetMovementThreshold() { return -1; }
2280 void SetMovementThreshold(int threshold
) {}
2282 bool IsOk(void) { return false; }
2283 int GetNumberJoysticks() { return -1; }
2284 int GetManufacturerId() { return -1; }
2285 int GetProductId() { return -1; }
2286 wxString
GetProductName() { return wxEmptyString
; }
2287 int GetXMin() { return -1; }
2288 int GetYMin() { return -1; }
2289 int GetZMin() { return -1; }
2290 int GetXMax() { return -1; }
2291 int GetYMax() { return -1; }
2292 int GetZMax() { return -1; }
2293 int GetNumberButtons() { return -1; }
2294 int GetNumberAxes() { return -1; }
2295 int GetMaxButtons() { return -1; }
2296 int GetMaxAxes() { return -1; }
2297 int GetPollingMin() { return -1; }
2298 int GetPollingMax() { return -1; }
2299 int GetRudderMin() { return -1; }
2300 int GetRudderMax() { return -1; }
2301 int GetUMin() { return -1; }
2302 int GetUMax() { return -1; }
2303 int GetVMin() { return -1; }
2304 int GetVMax() { return -1; }
2306 bool HasRudder() { return false; }
2307 bool HasZ() { return false; }
2308 bool HasU() { return false; }
2309 bool HasV() { return false; }
2310 bool HasPOV() { return false; }
2311 bool HasPOV4Dir() { return false; }
2312 bool HasPOVCTS() { return false; }
2314 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2315 bool ReleaseCapture() { return false; }
2320 #include <wx/sound.h>
2324 // A C++ stub class for wxWave for platforms that don't have it.
2325 class wxSound
: public wxObject
2329 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2330 PyErr_SetString(PyExc_NotImplementedError
,
2331 "wxSound is not available on this platform.");
2332 wxPyEndBlockThreads(blocked
);
2334 wxSound(const wxString
&/*, bool*/) {
2335 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2336 PyErr_SetString(PyExc_NotImplementedError
,
2337 "wxSound is not available on this platform.");
2338 wxPyEndBlockThreads(blocked
);
2340 wxSound(int, const wxByte
*) {
2341 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2342 PyErr_SetString(PyExc_NotImplementedError
,
2343 "wxSound is not available on this platform.");
2344 wxPyEndBlockThreads(blocked
);
2349 bool Create(const wxString
&/*, bool*/) { return false; }
2350 bool Create(int, const wxByte
*) { return false; };
2351 bool IsOk() { return false; };
2352 bool Play(unsigned) const { return false; }
2353 static bool Play(const wxString
&, unsigned) { return false; }
2354 static void Stop() {}
2359 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2360 if (fileName
.Length() == 0)
2363 return new wxSound(fileName
);
2365 static wxSound
*new_wxSound(PyObject
*data
){
2366 unsigned char* buffer
; int size
;
2367 wxSound
*sound
= NULL
;
2369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2370 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2372 sound
= new wxSound(size
, buffer
);
2374 wxPyEndBlockThreads(blocked
);
2377 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2379 unsigned char* buffer
;
2383 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2384 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2386 rv
= self
->Create(size
, buffer
);
2388 wxPyEndBlockThreads(blocked
);
2391 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2392 PyErr_SetString(PyExc_NotImplementedError
,
2393 "Create from data is not available on this platform.");
2394 wxPyEndBlockThreads(blocked
);
2399 #include <wx/mimetype.h>
2401 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2403 if (self
->GetMimeType(&str
))
2404 return wx2PyString(str
);
2408 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2410 if (self
->GetMimeTypes(arr
))
2411 return wxArrayString2PyList_helper(arr
);
2415 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2417 if (self
->GetExtensions(arr
))
2418 return wxArrayString2PyList_helper(arr
);
2422 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2424 if (self
->GetIcon(&loc
))
2425 return new wxIcon(loc
);
2429 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2431 if (self
->GetIcon(&loc
)) {
2432 wxString iconFile
= loc
.GetFileName();
2435 iconIndex
= loc
.GetIndex();
2437 // Make a tuple and put the values in it
2438 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2439 PyObject
* tuple
= PyTuple_New(3);
2440 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2441 wxT("wxIcon"), true));
2442 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2443 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2444 wxPyEndBlockThreads(blocked
);
2450 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2452 if (self
->GetDescription(&str
))
2453 return wx2PyString(str
);
2457 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2459 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2460 return wx2PyString(str
);
2464 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2466 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2467 return wx2PyString(str
);
2471 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2472 wxArrayString verbs
;
2473 wxArrayString commands
;
2474 if (self
->GetAllCommands(&verbs
, &commands
,
2475 wxFileType::MessageParameters(filename
, mimetype
))) {
2476 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2477 PyObject
* tuple
= PyTuple_New(2);
2478 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2479 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2480 wxPyEndBlockThreads(blocked
);
2486 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2487 return wxFileType::ExpandCommand(command
,
2488 wxFileType::MessageParameters(filename
, mimetype
));
2490 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2492 self
->EnumAllFileTypes(arr
);
2493 return wxArrayString2PyList_helper(arr
);
2496 #include <wx/artprov.h>
2498 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2499 static const wxString
wxPyART_MENU(wxART_MENU
);
2500 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2501 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2502 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2503 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2504 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2505 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2506 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2507 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2508 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2509 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2510 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2511 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2512 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2513 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2514 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2515 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2516 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2517 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2518 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2519 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2520 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2521 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2522 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2523 static const wxString
wxPyART_HELP(wxART_HELP
);
2524 static const wxString
wxPyART_TIP(wxART_TIP
);
2525 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2526 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2527 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2528 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2529 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2530 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2531 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2532 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2533 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2534 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2535 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2536 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2537 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2538 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2539 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2540 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2541 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2542 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2543 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2544 static const wxString
wxPyART_COPY(wxART_COPY
);
2545 static const wxString
wxPyART_CUT(wxART_CUT
);
2546 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2547 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2548 static const wxString
wxPyART_NEW(wxART_NEW
);
2549 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2550 static const wxString
wxPyART_REDO(wxART_REDO
);
2551 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2552 static const wxString
wxPyART_FIND(wxART_FIND
);
2553 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2554 // Python aware wxArtProvider
2555 class wxPyArtProvider
: public wxArtProvider
{
2558 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2559 const wxArtClient
& client
,
2560 const wxSize
& size
) {
2561 wxBitmap rval
= wxNullBitmap
;
2562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2563 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2564 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2568 s1
= wx2PyString(id
);
2569 s2
= wx2PyString(client
);
2570 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2575 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2580 wxPyEndBlockThreads(blocked
);
2587 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2591 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2592 PyObject
* ret
= PyTuple_New(3);
2594 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2595 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2596 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2601 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2606 cont
= self
->GetFirstGroup(value
, index
);
2607 return __EnumerationHelper(cont
, value
, index
);
2609 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2613 cont
= self
->GetNextGroup(value
, index
);
2614 return __EnumerationHelper(cont
, value
, index
);
2616 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2621 cont
= self
->GetFirstEntry(value
, index
);
2622 return __EnumerationHelper(cont
, value
, index
);
2624 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2628 cont
= self
->GetNextEntry(value
, index
);
2629 return __EnumerationHelper(cont
, value
, index
);
2631 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2633 self
->Read(key
, &rv
, defaultVal
);
2638 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2640 if (PyNumber_Check(obj
)) {
2641 if (val
) *val
= PyFloat_AsDouble(obj
);
2645 SWIG_Python_TypeError("number", obj
);
2651 SWIGINTERNINLINE
double
2652 SWIG_As_double(PyObject
* obj
)
2655 if (!SWIG_AsVal_double(obj
, &v
)) {
2657 this is needed to make valgrind/purify happier.
2659 memset((void*)&v
, 0, sizeof(double));
2665 SWIGINTERNINLINE
int
2666 SWIG_Check_double(PyObject
* obj
)
2668 return SWIG_AsVal_double(obj
, (double*)0);
2671 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2673 self
->Read(key
, &rv
, defaultVal
);
2677 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2678 #define SWIG_From_double PyFloat_FromDouble
2681 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2683 self
->Read(key
, &rv
, defaultVal
);
2687 #include <wx/datetime.h>
2689 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2690 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2692 #define LOCAL_TZ wxDateTime::Local
2694 static PyObject
*wxDateTime_GetAmPmStrings(){
2697 wxDateTime::GetAmPmStrings(&am
, &pm
);
2698 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2699 PyObject
* tup
= PyTuple_New(2);
2700 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2701 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2702 wxPyEndBlockThreads(blocked
);
2706 #if UINT_MAX < LONG_MAX
2707 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2708 #define SWIG_From_unsigned_SS_int SWIG_From_long
2711 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2712 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2716 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2717 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2718 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2719 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2720 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2721 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2722 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2723 return (*self
< *other
);
2725 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2726 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2727 return (*self
<= *other
);
2729 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2730 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2731 return (*self
> *other
);
2733 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2734 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2735 return (*self
>= *other
);
2737 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2738 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2739 return (*self
== *other
);
2741 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2742 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2743 return (*self
!= *other
);
2745 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2747 const wxChar
* _date
= date
;
2748 rv
= self
->ParseRfc822Date(_date
);
2749 if (rv
== NULL
) return -1;
2752 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2754 const wxChar
* _date
= date
;
2755 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2756 if (rv
== NULL
) return -1;
2759 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2761 const wxChar
* _datetime
= datetime
;
2762 rv
= self
->ParseDateTime(_datetime
);
2763 if (rv
== NULL
) return -1;
2764 return rv
- _datetime
;
2766 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2768 const wxChar
* _date
= date
;
2769 rv
= self
->ParseDate(_date
);
2770 if (rv
== NULL
) return -1;
2773 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2775 const wxChar
* _time
= time
;
2776 rv
= self
->ParseTime(_time
);
2777 if (rv
== NULL
) return -1;
2780 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2781 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2782 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2783 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2784 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2785 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2786 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2787 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2788 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2789 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2790 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2791 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2792 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2793 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2794 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2795 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2797 #include <wx/dataobj.h>
2799 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2800 size_t count
= self
->GetFormatCount(dir
);
2801 wxDataFormat
* formats
= new wxDataFormat
[count
];
2802 self
->GetAllFormats(formats
, dir
);
2804 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2805 PyObject
* list
= PyList_New(count
);
2806 for (size_t i
=0; i
<count
; i
++) {
2807 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2808 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2809 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2811 wxPyEndBlockThreads(blocked
);
2815 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2816 PyObject
* rval
= NULL
;
2817 size_t size
= self
->GetDataSize(format
);
2818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2820 char* buf
= new char[size
];
2821 if (self
->GetDataHere(format
, buf
))
2822 rval
= PyString_FromStringAndSize(buf
, size
);
2829 wxPyEndBlockThreads(blocked
);
2832 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2835 if (PyString_Check(data
)) {
2836 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2839 // raise a TypeError if not a string
2840 PyErr_SetString(PyExc_TypeError
, "String expected.");
2843 wxPyEndBlockThreads(blocked
);
2846 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2847 PyObject
* rval
= NULL
;
2848 size_t size
= self
->GetDataSize();
2849 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2851 char* buf
= new char[size
];
2852 if (self
->GetDataHere(buf
))
2853 rval
= PyString_FromStringAndSize(buf
, size
);
2860 wxPyEndBlockThreads(blocked
);
2863 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2865 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2866 if (PyString_Check(data
)) {
2867 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2870 // raise a TypeError if not a string
2871 PyErr_SetString(PyExc_TypeError
, "String expected.");
2874 wxPyEndBlockThreads(blocked
);
2877 // Create a new class for wxPython to use
2878 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2880 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2881 : wxDataObjectSimple(format
) {}
2883 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2884 bool GetDataHere(void *buf
) const;
2885 bool SetData(size_t len
, const void *buf
) const;
2889 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2891 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2892 // We need to get the data for this object and write it to buf. I think
2893 // the best way to do this for wxPython is to have the Python method
2894 // return either a string or None and then act appropriately with the
2898 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2899 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2901 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2903 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2905 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2909 wxPyEndBlockThreads(blocked
);
2913 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2914 // For this one we simply need to make a string from buf and len
2915 // and send it to the Python method.
2917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2918 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2919 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2920 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2923 wxPyEndBlockThreads(blocked
);
2927 // Create a new class for wxPython to use
2928 class wxPyTextDataObject
: public wxTextDataObject
{
2930 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2931 : wxTextDataObject(text
) {}
2933 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2934 DEC_PYCALLBACK_STRING__const(GetText
);
2935 DEC_PYCALLBACK__STRING(SetText
);
2939 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2940 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2941 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2944 // Create a new class for wxPython to use
2945 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2947 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2948 : wxBitmapDataObject(bitmap
) {}
2950 wxBitmap
GetBitmap() const;
2951 void SetBitmap(const wxBitmap
& bitmap
);
2955 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2956 wxBitmap
* rval
= &wxNullBitmap
;
2957 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2958 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2961 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2963 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2968 wxPyEndBlockThreads(blocked
);
2972 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2973 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2974 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2975 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2976 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2979 wxPyEndBlockThreads(blocked
);
2982 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2983 return new wxCustomDataObject(wxDataFormat(formatName
));
2985 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2987 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2988 if (PyString_Check(data
)) {
2989 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2992 // raise a TypeError if not a string
2993 PyErr_SetString(PyExc_TypeError
, "String expected.");
2996 wxPyEndBlockThreads(blocked
);
2999 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3003 wxPyEndBlockThreads(blocked
);
3007 #include <wx/metafile.h>
3010 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3013 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3014 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3015 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3016 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3017 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3020 class wxPyTextDropTarget
: public wxTextDropTarget
{
3022 wxPyTextDropTarget() {}
3024 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3026 DEC_PYCALLBACK__(OnLeave
);
3027 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3028 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3029 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3030 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3035 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3036 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3037 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3038 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3039 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3040 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3044 class wxPyFileDropTarget
: public wxFileDropTarget
{
3046 wxPyFileDropTarget() {}
3048 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3050 DEC_PYCALLBACK__(OnLeave
);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3053 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3054 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3059 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3060 const wxArrayString
& filenames
) {
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3064 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3065 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3068 wxPyEndBlockThreads(blocked
);
3074 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3075 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3076 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3077 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3078 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3083 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3085 #include <wx/display.h>
3087 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3088 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3090 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3092 #include <wx/dynarray.h>
3093 #include <wx/vidmode.h>
3095 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3096 #include "wx/arrimpl.cpp"
3097 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3098 const wxVideoMode wxDefaultVideoMode
;
3103 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3106 static size_t GetCount()
3107 { wxPyRaiseNotImplemented(); return 0; }
3109 static int GetFromPoint(const wxPoint
& pt
)
3110 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3111 static int GetFromWindow(wxWindow
*window
)
3112 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3114 virtual bool IsOk() const { return false; }
3115 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3116 virtual wxString
GetName() const { return wxEmptyString
; }
3117 bool IsPrimary() const { return false; }
3119 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3120 { wxArrayVideoModes a
; return a
; }
3122 virtual wxVideoMode
GetCurrentMode() const
3123 { return wxDefaultVideoMode
; }
3125 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3132 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3133 PyObject
* pyList
= NULL
;
3134 wxArrayVideoModes arr
= self
->GetModes(mode
);
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 pyList
= PyList_New(0);
3137 for (int i
=0; i
< arr
.GetCount(); i
++) {
3138 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3139 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3140 PyList_Append(pyList
, pyObj
);
3143 wxPyEndBlockThreads(blocked
);
3147 #include <wx/stdpaths.h>
3149 static wxStandardPaths
*wxStandardPaths_Get(){
3150 return (wxStandardPaths
*) &wxStandardPaths::Get();
3152 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
3153 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
3157 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
= NULL
;
3159 wxSystemColour arg1
;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "index", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3168 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3169 if (SWIG_arg_fail(1)) SWIG_fail
;
3172 if (!wxPyCheckForApp()) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= wxSystemSettings::GetColour(arg1
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 wxColour
* resultptr
;
3181 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3190 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
= NULL
;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "index", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3201 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3202 if (SWIG_arg_fail(1)) SWIG_fail
;
3205 if (!wxPyCheckForApp()) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= wxSystemSettings::GetFont(arg1
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3214 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3223 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
= NULL
;
3225 wxSystemMetric arg1
;
3226 wxWindow
*arg2
= (wxWindow
*) NULL
;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "index",(char *) "win", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3236 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3237 if (SWIG_arg_fail(1)) SWIG_fail
;
3240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3241 if (SWIG_arg_fail(2)) SWIG_fail
;
3244 if (!wxPyCheckForApp()) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_From_int(static_cast<int >(result
));
3260 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
= NULL
;
3262 wxSystemFeature arg1
;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "index", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3271 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3272 if (SWIG_arg_fail(1)) SWIG_fail
;
3275 if (!wxPyCheckForApp()) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3291 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
= NULL
;
3293 wxSystemScreenType result
;
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3300 if (!wxPyCheckForApp()) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_From_int((result
));
3314 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
= NULL
;
3316 wxSystemScreenType arg1
;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "screen", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3324 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3325 if (SWIG_arg_fail(1)) SWIG_fail
;
3328 if (!wxPyCheckForApp()) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 wxSystemSettings::SetScreenType(arg1
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 Py_INCREF(Py_None
); resultobj
= Py_None
;
3342 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3345 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3347 return Py_BuildValue((char *)"");
3349 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3350 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3355 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3356 PyObject
*pyobj
= NULL
;
3360 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3362 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3369 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
= NULL
;
3371 wxSystemOptions
*result
;
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (wxSystemOptions
*)new wxSystemOptions();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3391 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
= NULL
;
3393 wxString
*arg1
= 0 ;
3394 wxString
*arg2
= 0 ;
3395 bool temp1
= false ;
3396 bool temp2
= false ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3400 (char *) "name",(char *) "value", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 arg1
= wxString_in_helper(obj0
);
3406 if (arg1
== NULL
) SWIG_fail
;
3410 arg2
= wxString_in_helper(obj1
);
3411 if (arg2
== NULL
) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3444 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
= NULL
;
3446 wxString
*arg1
= 0 ;
3448 bool temp1
= false ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "name",(char *) "value", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 arg1
= wxString_in_helper(obj0
);
3458 if (arg1
== NULL
) SWIG_fail
;
3462 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3463 if (SWIG_arg_fail(2)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
= NULL
;
3489 wxString
*arg1
= 0 ;
3491 bool temp1
= false ;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "name", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3499 arg1
= wxString_in_helper(obj0
);
3500 if (arg1
== NULL
) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3531 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
= NULL
;
3533 wxString
*arg1
= 0 ;
3535 bool temp1
= false ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "name", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3543 arg1
= wxString_in_helper(obj0
);
3544 if (arg1
== NULL
) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_From_int(static_cast<int >(result
));
3571 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
= NULL
;
3573 wxString
*arg1
= 0 ;
3575 bool temp1
= false ;
3576 PyObject
* obj0
= 0 ;
3578 (char *) "name", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3583 arg1
= wxString_in_helper(obj0
);
3584 if (arg1
== NULL
) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3611 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
= NULL
;
3613 wxString
*arg1
= 0 ;
3615 bool temp1
= false ;
3616 PyObject
* obj0
= 0 ;
3618 (char *) "name", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3623 arg1
= wxString_in_helper(obj0
);
3624 if (arg1
== NULL
) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3651 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3654 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3656 return Py_BuildValue((char *)"");
3658 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3659 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3664 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3665 PyObject
*pyobj
= NULL
;
3669 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3671 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3678 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3679 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3684 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3685 PyObject
*pyobj
= NULL
;
3689 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3691 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3698 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3699 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3704 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3705 PyObject
*pyobj
= NULL
;
3709 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3711 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3718 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
= NULL
;
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (long)wxNewId();
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_From_long(static_cast<long >(result
));
3742 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
= NULL
;
3745 PyObject
* obj0
= 0 ;
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3752 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3753 if (SWIG_arg_fail(1)) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
= NULL
;
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (long)wxGetCurrentId();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_From_long(static_cast<long >(result
));
3793 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
= NULL
;
3797 PyObject
* obj0
= 0 ;
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3804 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3805 if (SWIG_arg_fail(1)) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (bool)wxIsStockID(arg1
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3823 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= NULL
;
3826 wxString
*arg2
= 0 ;
3828 bool temp2
= false ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "id",(char *) "label", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3838 if (SWIG_arg_fail(1)) SWIG_fail
;
3841 arg2
= wxString_in_helper(obj1
);
3842 if (arg2
== NULL
) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3869 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= NULL
;
3872 bool arg2
= (bool) true ;
3873 wxString arg3
= (wxString
) wxPyEmptyString
;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj2
= 0 ;
3879 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3884 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3885 if (SWIG_arg_fail(1)) SWIG_fail
;
3889 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3890 if (SWIG_arg_fail(2)) SWIG_fail
;
3895 wxString
* sptr
= wxString_in_helper(obj2
);
3896 if (sptr
== NULL
) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3921 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
= NULL
;
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3929 if (!wxPyCheckForApp()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3951 if (!wxPyCheckForApp()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= NULL
;
3967 bool arg1
= (bool) true ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "resetTimer", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3977 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3978 if (SWIG_arg_fail(1)) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (long)wxGetElapsedTime(arg1
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= SWIG_From_long(static_cast<long >(result
));
3997 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
= NULL
;
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)wxIsBusy();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4021 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
= NULL
;
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4049 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
= NULL
;
4051 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4052 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4054 bool temp1
= false ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "command", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4063 arg1
= wxString_in_helper(obj0
);
4064 if (arg1
== NULL
) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (bool)wxShell((wxString
const &)*arg1
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4092 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
= NULL
;
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
= NULL
;
4115 int *arg1
= (int *) 0 ;
4116 int *arg2
= (int *) 0 ;
4126 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4127 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (int)wxGetOsVersion(arg1
,arg2
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_From_int(static_cast<int >(result
));
4139 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4140 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4141 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4142 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4149 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= NULL
;
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= wxGetOsDescription();
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4177 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= NULL
;
4179 wxMemorySize result
;
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= wxGetFreeMemory();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 wxMemorySize
* resultptr
;
4194 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4203 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= NULL
;
4205 wxShutdownFlags arg1
;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "wFlags", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4214 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4215 if (SWIG_arg_fail(1)) SWIG_fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (bool)wxShutdown(arg1
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4234 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
= NULL
;
4237 PyObject
* obj0
= 0 ;
4239 (char *) "secs", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4244 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4245 if (SWIG_arg_fail(1)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
= NULL
;
4263 unsigned long arg1
;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "milliseconds", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4271 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
= NULL
;
4290 unsigned long arg1
;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "microseconds", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4298 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4299 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
= NULL
;
4318 PyObject
* obj0
= 0 ;
4320 (char *) "enable", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4325 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4326 if (SWIG_arg_fail(1)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 wxEnableTopLevelWindows(arg1
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
= NULL
;
4344 wxString
*arg1
= 0 ;
4346 bool temp1
= false ;
4347 PyObject
* obj0
= 0 ;
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4354 arg1
= wxString_in_helper(obj0
);
4355 if (arg1
== NULL
) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4386 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= NULL
;
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= wxGetEmailAddress();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4414 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
= NULL
;
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= wxGetHostName();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4442 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
= NULL
;
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= wxGetFullHostName();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4470 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
= NULL
;
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= wxGetUserId();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4498 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
= NULL
;
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= wxGetUserName();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4526 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
= NULL
;
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= wxGetHomeDir();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4554 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
= NULL
;
4556 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4557 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4559 bool temp1
= false ;
4560 PyObject
* obj0
= 0 ;
4562 (char *) "user", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4568 arg1
= wxString_in_helper(obj0
);
4569 if (arg1
== NULL
) SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= wxGetUserHome((wxString
const &)*arg1
);
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4601 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
= NULL
;
4603 unsigned long result
;
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (unsigned long)wxGetProcessId();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4625 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
= NULL
;
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 Py_INCREF(Py_None
); resultobj
= Py_None
;
4646 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= NULL
;
4648 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4649 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4650 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4651 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4656 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4657 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4658 int arg6
= (int) 0 ;
4659 wxWindow
*arg7
= (wxWindow
*) NULL
;
4660 int arg8
= (int) -1 ;
4661 int arg9
= (int) -1 ;
4663 bool temp1
= false ;
4664 bool temp2
= false ;
4665 bool temp3
= false ;
4666 bool temp4
= false ;
4667 bool temp5
= false ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4672 PyObject
* obj4
= 0 ;
4673 PyObject
* obj5
= 0 ;
4674 PyObject
* obj6
= 0 ;
4675 PyObject
* obj7
= 0 ;
4676 PyObject
* obj8
= 0 ;
4678 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4684 arg1
= wxString_in_helper(obj0
);
4685 if (arg1
== NULL
) SWIG_fail
;
4691 arg2
= wxString_in_helper(obj1
);
4692 if (arg2
== NULL
) SWIG_fail
;
4698 arg3
= wxString_in_helper(obj2
);
4699 if (arg3
== NULL
) SWIG_fail
;
4705 arg4
= wxString_in_helper(obj3
);
4706 if (arg4
== NULL
) SWIG_fail
;
4712 arg5
= wxString_in_helper(obj4
);
4713 if (arg5
== NULL
) SWIG_fail
;
4719 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4720 if (SWIG_arg_fail(6)) SWIG_fail
;
4724 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4725 if (SWIG_arg_fail(7)) SWIG_fail
;
4729 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4730 if (SWIG_arg_fail(8)) SWIG_fail
;
4735 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4736 if (SWIG_arg_fail(9)) SWIG_fail
;
4740 if (!wxPyCheckForApp()) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4800 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
= NULL
;
4802 wxString
*arg1
= 0 ;
4803 wxString
*arg2
= 0 ;
4804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4806 wxWindow
*arg4
= (wxWindow
*) NULL
;
4808 bool temp1
= false ;
4809 bool temp2
= false ;
4810 bool temp3
= false ;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 PyObject
* obj2
= 0 ;
4814 PyObject
* obj3
= 0 ;
4816 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4821 arg1
= wxString_in_helper(obj0
);
4822 if (arg1
== NULL
) SWIG_fail
;
4826 arg2
= wxString_in_helper(obj1
);
4827 if (arg2
== NULL
) SWIG_fail
;
4832 arg3
= wxString_in_helper(obj2
);
4833 if (arg3
== NULL
) SWIG_fail
;
4838 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4839 if (SWIG_arg_fail(4)) SWIG_fail
;
4842 if (!wxPyCheckForApp()) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4886 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
= NULL
;
4888 wxString
*arg1
= 0 ;
4889 wxString
*arg2
= 0 ;
4890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4892 wxWindow
*arg4
= (wxWindow
*) NULL
;
4894 bool temp1
= false ;
4895 bool temp2
= false ;
4896 bool temp3
= false ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 PyObject
* obj2
= 0 ;
4900 PyObject
* obj3
= 0 ;
4902 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4907 arg1
= wxString_in_helper(obj0
);
4908 if (arg1
== NULL
) SWIG_fail
;
4912 arg2
= wxString_in_helper(obj1
);
4913 if (arg2
== NULL
) SWIG_fail
;
4918 arg3
= wxString_in_helper(obj2
);
4919 if (arg3
== NULL
) SWIG_fail
;
4924 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4925 if (SWIG_arg_fail(4)) SWIG_fail
;
4928 if (!wxPyCheckForApp()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4972 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
= NULL
;
4974 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4975 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4976 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4977 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4978 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4981 wxWindow
*arg5
= (wxWindow
*) NULL
;
4983 bool temp1
= false ;
4984 bool temp2
= false ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4988 PyObject
* obj2
= 0 ;
4989 PyObject
* obj3
= 0 ;
4990 PyObject
* obj4
= 0 ;
4992 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4998 arg1
= wxString_in_helper(obj0
);
4999 if (arg1
== NULL
) SWIG_fail
;
5005 arg2
= wxString_in_helper(obj1
);
5006 if (arg2
== NULL
) SWIG_fail
;
5012 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5013 if (SWIG_arg_fail(3)) SWIG_fail
;
5019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5023 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(5)) SWIG_fail
;
5027 if (!wxPyCheckForApp()) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5063 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= NULL
;
5065 wxString
*arg1
= 0 ;
5066 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5067 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5070 wxWindow
*arg4
= (wxWindow
*) NULL
;
5071 int arg5
= (int) -1 ;
5072 int arg6
= (int) -1 ;
5073 bool arg7
= (bool) true ;
5075 bool temp1
= false ;
5076 bool temp2
= false ;
5077 bool temp3
= false ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 PyObject
* obj2
= 0 ;
5081 PyObject
* obj3
= 0 ;
5082 PyObject
* obj4
= 0 ;
5083 PyObject
* obj5
= 0 ;
5084 PyObject
* obj6
= 0 ;
5086 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5091 arg1
= wxString_in_helper(obj0
);
5092 if (arg1
== NULL
) SWIG_fail
;
5097 arg2
= wxString_in_helper(obj1
);
5098 if (arg2
== NULL
) SWIG_fail
;
5104 arg3
= wxString_in_helper(obj2
);
5105 if (arg3
== NULL
) SWIG_fail
;
5110 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5111 if (SWIG_arg_fail(4)) SWIG_fail
;
5115 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5116 if (SWIG_arg_fail(5)) SWIG_fail
;
5121 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5122 if (SWIG_arg_fail(6)) SWIG_fail
;
5127 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5128 if (SWIG_arg_fail(7)) SWIG_fail
;
5132 if (!wxPyCheckForApp()) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5176 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
= NULL
;
5178 wxString
*arg1
= 0 ;
5179 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5180 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5183 wxWindow
*arg4
= (wxWindow
*) NULL
;
5185 bool temp1
= false ;
5186 bool temp2
= false ;
5187 bool temp3
= false ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5190 PyObject
* obj2
= 0 ;
5191 PyObject
* obj3
= 0 ;
5193 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5198 arg1
= wxString_in_helper(obj0
);
5199 if (arg1
== NULL
) SWIG_fail
;
5204 arg2
= wxString_in_helper(obj1
);
5205 if (arg2
== NULL
) SWIG_fail
;
5211 arg3
= wxString_in_helper(obj2
);
5212 if (arg3
== NULL
) SWIG_fail
;
5217 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5218 if (SWIG_arg_fail(4)) SWIG_fail
;
5221 if (!wxPyCheckForApp()) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5265 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
= NULL
;
5267 wxString
*arg1
= 0 ;
5268 wxString
*arg2
= 0 ;
5270 wxString
*arg4
= (wxString
*) 0 ;
5271 wxWindow
*arg5
= (wxWindow
*) NULL
;
5272 int arg6
= (int) -1 ;
5273 int arg7
= (int) -1 ;
5274 bool arg8
= (bool) true ;
5275 int arg9
= (int) 150 ;
5276 int arg10
= (int) 200 ;
5278 bool temp1
= false ;
5279 bool temp2
= false ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5282 PyObject
* obj2
= 0 ;
5283 PyObject
* obj3
= 0 ;
5284 PyObject
* obj4
= 0 ;
5285 PyObject
* obj5
= 0 ;
5286 PyObject
* obj6
= 0 ;
5287 PyObject
* obj7
= 0 ;
5288 PyObject
* obj8
= 0 ;
5290 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5295 arg1
= wxString_in_helper(obj0
);
5296 if (arg1
== NULL
) SWIG_fail
;
5300 arg2
= wxString_in_helper(obj1
);
5301 if (arg2
== NULL
) SWIG_fail
;
5305 arg3
= PyList_Size(obj2
);
5306 arg4
= wxString_LIST_helper(obj2
);
5307 if (arg4
== NULL
) SWIG_fail
;
5310 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5311 if (SWIG_arg_fail(5)) SWIG_fail
;
5315 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5316 if (SWIG_arg_fail(6)) SWIG_fail
;
5321 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5322 if (SWIG_arg_fail(7)) SWIG_fail
;
5327 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5328 if (SWIG_arg_fail(8)) SWIG_fail
;
5333 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5334 if (SWIG_arg_fail(9)) SWIG_fail
;
5339 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5340 if (SWIG_arg_fail(10)) SWIG_fail
;
5344 if (!wxPyCheckForApp()) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5367 if (arg4
) delete [] arg4
;
5380 if (arg4
) delete [] arg4
;
5386 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
= NULL
;
5388 wxString
*arg1
= 0 ;
5389 wxString
*arg2
= 0 ;
5391 wxString
*arg4
= (wxString
*) 0 ;
5392 wxWindow
*arg5
= (wxWindow
*) NULL
;
5393 int arg6
= (int) -1 ;
5394 int arg7
= (int) -1 ;
5395 bool arg8
= (bool) true ;
5396 int arg9
= (int) 150 ;
5397 int arg10
= (int) 200 ;
5399 bool temp1
= false ;
5400 bool temp2
= false ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5403 PyObject
* obj2
= 0 ;
5404 PyObject
* obj3
= 0 ;
5405 PyObject
* obj4
= 0 ;
5406 PyObject
* obj5
= 0 ;
5407 PyObject
* obj6
= 0 ;
5408 PyObject
* obj7
= 0 ;
5409 PyObject
* obj8
= 0 ;
5411 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5416 arg1
= wxString_in_helper(obj0
);
5417 if (arg1
== NULL
) SWIG_fail
;
5421 arg2
= wxString_in_helper(obj1
);
5422 if (arg2
== NULL
) SWIG_fail
;
5426 arg3
= PyList_Size(obj2
);
5427 arg4
= wxString_LIST_helper(obj2
);
5428 if (arg4
== NULL
) SWIG_fail
;
5431 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5432 if (SWIG_arg_fail(5)) SWIG_fail
;
5436 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5437 if (SWIG_arg_fail(6)) SWIG_fail
;
5442 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5443 if (SWIG_arg_fail(7)) SWIG_fail
;
5448 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5449 if (SWIG_arg_fail(8)) SWIG_fail
;
5454 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5455 if (SWIG_arg_fail(9)) SWIG_fail
;
5460 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5461 if (SWIG_arg_fail(10)) SWIG_fail
;
5465 if (!wxPyCheckForApp()) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_From_int(static_cast<int >(result
));
5484 if (arg4
) delete [] arg4
;
5497 if (arg4
) delete [] arg4
;
5503 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
= NULL
;
5505 wxString
*arg1
= 0 ;
5506 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5507 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5508 int arg3
= (int) wxOK
|wxCENTRE
;
5509 wxWindow
*arg4
= (wxWindow
*) NULL
;
5510 int arg5
= (int) -1 ;
5511 int arg6
= (int) -1 ;
5513 bool temp1
= false ;
5514 bool temp2
= false ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 PyObject
* obj2
= 0 ;
5518 PyObject
* obj3
= 0 ;
5519 PyObject
* obj4
= 0 ;
5520 PyObject
* obj5
= 0 ;
5522 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5527 arg1
= wxString_in_helper(obj0
);
5528 if (arg1
== NULL
) SWIG_fail
;
5533 arg2
= wxString_in_helper(obj1
);
5534 if (arg2
== NULL
) SWIG_fail
;
5540 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5541 if (SWIG_arg_fail(3)) SWIG_fail
;
5545 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5546 if (SWIG_arg_fail(4)) SWIG_fail
;
5550 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5551 if (SWIG_arg_fail(5)) SWIG_fail
;
5556 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5557 if (SWIG_arg_fail(6)) SWIG_fail
;
5561 if (!wxPyCheckForApp()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_From_int(static_cast<int >(result
));
5593 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
= NULL
;
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (bool)wxColourDisplay();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5618 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
= NULL
;
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5627 if (!wxPyCheckForApp()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (int)wxDisplayDepth();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_From_int(static_cast<int >(result
));
5643 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= NULL
;
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (int)wxGetDisplayDepth();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_From_int(static_cast<int >(result
));
5668 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= NULL
;
5670 int *arg1
= (int *) 0 ;
5671 int *arg2
= (int *) 0 ;
5680 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5681 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5684 if (!wxPyCheckForApp()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 wxDisplaySize(arg1
,arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5693 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5694 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5695 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5702 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
= NULL
;
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5711 if (!wxPyCheckForApp()) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= wxGetDisplaySize();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5720 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5729 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
= NULL
;
5731 int *arg1
= (int *) 0 ;
5732 int *arg2
= (int *) 0 ;
5741 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5742 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5745 if (!wxPyCheckForApp()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 wxDisplaySizeMM(arg1
,arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5754 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5755 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5756 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5763 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= NULL
;
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5772 if (!wxPyCheckForApp()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= wxGetDisplaySizeMM();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5781 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5790 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
= NULL
;
5792 int *arg1
= (int *) 0 ;
5793 int *arg2
= (int *) 0 ;
5794 int *arg3
= (int *) 0 ;
5795 int *arg4
= (int *) 0 ;
5808 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5809 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5810 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5811 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5822 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5823 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5824 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5825 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5826 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5827 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5828 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5829 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5836 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= NULL
;
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5845 if (!wxPyCheckForApp()) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= wxGetClientDisplayRect();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5854 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5863 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
= NULL
;
5865 wxCursor
*arg1
= 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "cursor", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail
;
5876 SWIG_null_ref("wxCursor");
5878 if (SWIG_arg_fail(1)) SWIG_fail
;
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 Py_INCREF(Py_None
); resultobj
= Py_None
;
5895 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
= NULL
;
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5904 if (!wxPyCheckForApp()) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (void *)wxGetXDisplay();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5918 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= NULL
;
5920 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "cursor", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5929 if (SWIG_arg_fail(1)) SWIG_fail
;
5932 if (!wxPyCheckForApp()) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 wxBeginBusyCursor(arg1
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 Py_INCREF(Py_None
); resultobj
= Py_None
;
5946 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
= NULL
;
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5955 if (!wxPyCheckForApp()) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= wxGetMousePosition();
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 wxPoint
* resultptr
;
5964 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5973 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
= NULL
;
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5982 if (!wxPyCheckForApp()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxWindow
*)FindWindowAtPointer();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= wxPyMake_wxObject(result
, 0);
5998 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
= NULL
;
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6007 if (!wxPyCheckForApp()) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxWindow
*)wxGetActiveWindow();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= wxPyMake_wxObject(result
, 0);
6023 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
= NULL
;
6028 PyObject
* obj0
= 0 ;
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6036 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= wxPyMake_wxObject(result
, 0);
6055 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= NULL
;
6060 PyObject
* obj0
= 0 ;
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6068 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6071 if (!wxPyCheckForApp()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= wxPyMake_wxObject(result
, 0);
6087 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= NULL
;
6089 wxWindow
*arg1
= (wxWindow
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6093 (char *) "win", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6100 if (!wxPyCheckForApp()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= wxPyMake_wxObject(result
, 0);
6116 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
= NULL
;
6118 wxString
*arg1
= 0 ;
6120 bool temp1
= false ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "url", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6128 arg1
= wxString_in_helper(obj0
);
6129 if (arg1
== NULL
) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
= NULL
;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "key", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6167 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6168 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)wxGetKeyState(arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6187 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= NULL
;
6189 wxMouseState
*result
;
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (wxMouseState
*)new wxMouseState();
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6209 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= NULL
;
6211 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 Py_INCREF(Py_None
); resultobj
= Py_None
;
6234 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= NULL
;
6236 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (int)(arg1
)->GetX();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_From_int(static_cast<int >(result
));
6262 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
= NULL
;
6264 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (int)(arg1
)->GetY();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= SWIG_From_int(static_cast<int >(result
));
6290 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
= NULL
;
6292 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (bool)(arg1
)->LeftDown();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6318 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= NULL
;
6320 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6329 if (SWIG_arg_fail(1)) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (bool)(arg1
)->MiddleDown();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6346 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
= NULL
;
6348 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (bool)(arg1
)->RightDown();
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= NULL
;
6376 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (bool)(arg1
)->ControlDown();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
= NULL
;
6404 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "self", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6413 if (SWIG_arg_fail(1)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (bool)(arg1
)->ShiftDown();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= NULL
;
6432 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)(arg1
)->AltDown();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
= NULL
;
6460 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (bool)(arg1
)->MetaDown();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6486 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
= NULL
;
6488 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)(arg1
)->CmdDown();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6514 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
= NULL
;
6516 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6521 (char *) "self",(char *) "x", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6526 if (SWIG_arg_fail(1)) SWIG_fail
;
6528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6529 if (SWIG_arg_fail(2)) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 Py_INCREF(Py_None
); resultobj
= Py_None
;
6545 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
= NULL
;
6547 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "self",(char *) "y", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail
;
6559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6560 if (SWIG_arg_fail(2)) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 Py_INCREF(Py_None
); resultobj
= Py_None
;
6576 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
= NULL
;
6578 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6583 (char *) "self",(char *) "down", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail
;
6590 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6591 if (SWIG_arg_fail(2)) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->SetLeftDown(arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= NULL
;
6609 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "self",(char *) "down", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail
;
6621 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6622 if (SWIG_arg_fail(2)) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetMiddleDown(arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
= NULL
;
6640 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "down", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6652 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6653 if (SWIG_arg_fail(2)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetRightDown(arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= NULL
;
6671 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6676 (char *) "self",(char *) "down", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6681 if (SWIG_arg_fail(1)) SWIG_fail
;
6683 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6684 if (SWIG_arg_fail(2)) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 (arg1
)->SetControlDown(arg2
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
= NULL
;
6702 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 (char *) "self",(char *) "down", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6712 if (SWIG_arg_fail(1)) SWIG_fail
;
6714 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6715 if (SWIG_arg_fail(2)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 (arg1
)->SetShiftDown(arg2
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= NULL
;
6733 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "down", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6743 if (SWIG_arg_fail(1)) SWIG_fail
;
6745 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6746 if (SWIG_arg_fail(2)) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 (arg1
)->SetAltDown(arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 Py_INCREF(Py_None
); resultobj
= Py_None
;
6762 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
= NULL
;
6764 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj1
= 0 ;
6769 (char *) "self",(char *) "down", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6777 if (SWIG_arg_fail(2)) SWIG_fail
;
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 (arg1
)->SetMetaDown(arg2
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 Py_INCREF(Py_None
); resultobj
= Py_None
;
6793 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6796 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6798 return Py_BuildValue((char *)"");
6800 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
= NULL
;
6802 wxMouseState result
;
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= wxGetMouseState();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 wxMouseState
* resultptr
;
6817 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6826 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
= NULL
;
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6834 if (!wxPyCheckForApp()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 wxWakeUpMainThread();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 Py_INCREF(Py_None
); resultobj
= Py_None
;
6848 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= NULL
;
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6856 if (!wxPyCheckForApp()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= NULL
;
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6894 wxMutexGuiLocker
*result
;
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6901 if (!wxPyCheckForApp()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6915 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
= NULL
;
6917 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6925 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6933 Py_INCREF(Py_None
); resultobj
= Py_None
;
6940 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6943 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6945 return Py_BuildValue((char *)"");
6947 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
= NULL
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (bool)wxThread_IsMain();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6971 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
= NULL
;
6973 wxString
*arg1
= 0 ;
6975 bool temp1
= false ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "tip", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6983 arg1
= wxString_in_helper(obj0
);
6984 if (arg1
== NULL
) SWIG_fail
;
6988 if (!wxPyCheckForApp()) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7010 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
= NULL
;
7012 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "self", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= NULL
;
7037 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7038 wxString
*arg2
= 0 ;
7039 bool temp2
= false ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "tip", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7048 if (SWIG_arg_fail(1)) SWIG_fail
;
7050 arg2
= wxString_in_helper(obj1
);
7051 if (arg2
== NULL
) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 (arg1
)->SetTip((wxString
const &)*arg2
);
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= NULL
;
7078 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "self", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (arg1
)->GetTip();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7108 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
= NULL
;
7110 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7114 (char *) "self", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (wxWindow
*)(arg1
)->GetWindow();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= wxPyMake_wxObject(result
, 0);
7136 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
= NULL
;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "flag", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7146 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxToolTip::Enable(arg1
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
= NULL
;
7166 PyObject
* obj0
= 0 ;
7168 (char *) "milliseconds", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7173 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 wxToolTip::SetDelay(arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7193 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7195 return Py_BuildValue((char *)"");
7197 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= NULL
;
7199 wxWindow
*arg1
= (wxWindow
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7206 (char *) "window",(char *) "size", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7217 if (!wxPyCheckForApp()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7231 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
= NULL
;
7233 wxCaret
*arg1
= (wxCaret
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "self", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7241 if (SWIG_arg_fail(1)) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= NULL
;
7258 wxCaret
*arg1
= (wxCaret
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "self", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 wxCaret_Destroy(arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7281 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
= NULL
;
7283 wxCaret
*arg1
= (wxCaret
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "self", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7292 if (SWIG_arg_fail(1)) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (bool)(arg1
)->IsOk();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7309 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
= NULL
;
7311 wxCaret
*arg1
= (wxCaret
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7315 (char *) "self", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7320 if (SWIG_arg_fail(1)) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (bool)(arg1
)->IsVisible();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= NULL
;
7339 wxCaret
*arg1
= (wxCaret
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (arg1
)->GetPosition();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7357 wxPoint
* resultptr
;
7358 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7367 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
= NULL
;
7369 wxCaret
*arg1
= (wxCaret
*) 0 ;
7370 int *arg2
= (int *) 0 ;
7371 int *arg3
= (int *) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7382 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7385 if (SWIG_arg_fail(1)) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 (arg1
)->GetPosition(arg2
,arg3
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7394 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7395 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7396 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7397 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7404 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
= NULL
;
7406 wxCaret
*arg1
= (wxCaret
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7415 if (SWIG_arg_fail(1)) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (arg1
)->GetSize();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7425 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7434 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
= NULL
;
7436 wxCaret
*arg1
= (wxCaret
*) 0 ;
7437 int *arg2
= (int *) 0 ;
7438 int *arg3
= (int *) 0 ;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "self", NULL
7448 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7449 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->GetSize(arg2
,arg3
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7462 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7463 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7464 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7471 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
= NULL
;
7473 wxCaret
*arg1
= (wxCaret
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxWindow
*)(arg1
)->GetWindow();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= wxPyMake_wxObject(result
, 0);
7499 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
= NULL
;
7501 wxCaret
*arg1
= (wxCaret
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7506 PyObject
* obj2
= 0 ;
7508 (char *) "self",(char *) "x",(char *) "y", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail
;
7515 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7516 if (SWIG_arg_fail(2)) SWIG_fail
;
7519 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7520 if (SWIG_arg_fail(3)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 (arg1
)->Move(arg2
,arg3
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 Py_INCREF(Py_None
); resultobj
= Py_None
;
7536 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
= NULL
;
7538 wxCaret
*arg1
= (wxCaret
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "pt", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 (arg1
)->Move((wxPoint
const &)*arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= NULL
;
7570 wxCaret
*arg1
= (wxCaret
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7577 (char *) "self",(char *) "width",(char *) "height", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail
;
7584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7585 if (SWIG_arg_fail(2)) SWIG_fail
;
7588 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7589 if (SWIG_arg_fail(3)) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetSize(arg2
,arg3
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
= NULL
;
7607 wxCaret
*arg1
= (wxCaret
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7611 PyObject
* obj1
= 0 ;
7613 (char *) "self",(char *) "size", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail
;
7621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->SetSize((wxSize
const &)*arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= NULL
;
7639 wxCaret
*arg1
= (wxCaret
*) 0 ;
7640 int arg2
= (int) true ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "show", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail
;
7652 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7653 if (SWIG_arg_fail(2)) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
= NULL
;
7672 wxCaret
*arg1
= (wxCaret
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7680 if (SWIG_arg_fail(1)) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 Py_INCREF(Py_None
); resultobj
= Py_None
;
7695 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
= NULL
;
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (int)wxCaret::GetBlinkTime();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int(static_cast<int >(result
));
7719 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
= NULL
;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "milliseconds", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7729 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7730 if (SWIG_arg_fail(1)) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 wxCaret::SetBlinkTime(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7749 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7751 return Py_BuildValue((char *)"");
7753 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
= NULL
;
7755 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7756 wxBusyCursor
*result
;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "cursor", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail
;
7768 if (!wxPyCheckForApp()) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7782 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
= NULL
;
7784 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 Py_INCREF(Py_None
); resultobj
= Py_None
;
7807 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7810 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7812 return Py_BuildValue((char *)"");
7814 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= NULL
;
7816 wxWindow
*arg1
= (wxWindow
*) NULL
;
7817 wxWindowDisabler
*result
;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "winToSkip", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 if (!wxPyCheckForApp()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7843 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
= NULL
;
7845 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7873 return Py_BuildValue((char *)"");
7875 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= NULL
;
7877 wxString
*arg1
= 0 ;
7879 bool temp1
= false ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "message", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7887 arg1
= wxString_in_helper(obj0
);
7888 if (arg1
== NULL
) SWIG_fail
;
7892 if (!wxPyCheckForApp()) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7914 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
= NULL
;
7916 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7944 return Py_BuildValue((char *)"");
7946 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
= NULL
;
7948 wxStopWatch
*result
;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (wxStopWatch
*)new wxStopWatch();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7968 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
= NULL
;
7970 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7971 long arg2
= (long) 0 ;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7975 (char *) "self",(char *) "t0", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail
;
7983 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7984 if (SWIG_arg_fail(2)) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 (arg1
)->Start(arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= NULL
;
8003 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
= NULL
;
8028 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 Py_INCREF(Py_None
); resultobj
= Py_None
;
8051 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= NULL
;
8053 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8062 if (SWIG_arg_fail(1)) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_From_long(static_cast<long >(result
));
8079 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8082 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8084 return Py_BuildValue((char *)"");
8086 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
= NULL
;
8088 int arg1
= (int) 9 ;
8089 int arg2
= (int) wxID_FILE1
;
8090 wxFileHistory
*result
;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8094 (char *) "maxFiles",(char *) "idBase", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8100 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8101 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8107 if (SWIG_arg_fail(2)) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8124 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
= NULL
;
8126 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "self", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(1)) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
= NULL
;
8151 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8152 wxString
*arg2
= 0 ;
8153 bool temp2
= false ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8157 (char *) "self",(char *) "file", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail
;
8164 arg2
= wxString_in_helper(obj1
);
8165 if (arg2
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
= NULL
;
8192 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "i", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail
;
8204 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8205 if (SWIG_arg_fail(2)) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 (arg1
)->RemoveFileFromHistory(arg2
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 Py_INCREF(Py_None
); resultobj
= Py_None
;
8221 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
= NULL
;
8223 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8227 (char *) "self", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8232 if (SWIG_arg_fail(1)) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_From_int(static_cast<int >(result
));
8249 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
= NULL
;
8251 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8252 wxMenu
*arg2
= (wxMenu
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "menu", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8261 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8263 if (SWIG_arg_fail(2)) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 (arg1
)->UseMenu(arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 Py_INCREF(Py_None
); resultobj
= Py_None
;
8278 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
= NULL
;
8280 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8281 wxMenu
*arg2
= (wxMenu
*) 0 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8285 (char *) "self",(char *) "menu", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail
;
8291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8292 if (SWIG_arg_fail(2)) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 (arg1
)->RemoveMenu(arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8307 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
= NULL
;
8309 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8310 wxConfigBase
*arg2
= 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8314 (char *) "self",(char *) "config", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(2)) SWIG_fail
;
8324 SWIG_null_ref("wxConfigBase");
8326 if (SWIG_arg_fail(2)) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 (arg1
)->Load(*arg2
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 Py_INCREF(Py_None
); resultobj
= Py_None
;
8342 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
= NULL
;
8344 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8345 wxConfigBase
*arg2
= 0 ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "config", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail
;
8356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(2)) SWIG_fail
;
8359 SWIG_null_ref("wxConfigBase");
8361 if (SWIG_arg_fail(2)) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 (arg1
)->Save(*arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8377 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
= NULL
;
8379 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8387 if (SWIG_arg_fail(1)) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 (arg1
)->AddFilesToMenu();
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8402 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
= NULL
;
8404 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8405 wxMenu
*arg2
= (wxMenu
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8409 (char *) "self",(char *) "menu", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->AddFilesToMenu(arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
= NULL
;
8433 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8439 (char *) "self",(char *) "i", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail
;
8446 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8447 if (SWIG_arg_fail(2)) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8469 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
= NULL
;
8471 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8475 (char *) "self", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8480 if (SWIG_arg_fail(1)) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_From_int(static_cast<int >(result
));
8497 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8500 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8502 return Py_BuildValue((char *)"");
8504 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= NULL
;
8506 wxString
*arg1
= 0 ;
8507 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8509 wxSingleInstanceChecker
*result
;
8510 bool temp1
= false ;
8511 bool temp2
= false ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "name",(char *) "path", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 arg1
= wxString_in_helper(obj0
);
8521 if (arg1
== NULL
) SWIG_fail
;
8526 arg2
= wxString_in_helper(obj1
);
8527 if (arg2
== NULL
) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8561 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= NULL
;
8563 wxSingleInstanceChecker
*result
;
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8583 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= NULL
;
8585 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "self", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
= NULL
;
8610 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8611 wxString
*arg2
= 0 ;
8612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8615 bool temp2
= false ;
8616 bool temp3
= false ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8621 (char *) "self",(char *) "name",(char *) "path", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8626 if (SWIG_arg_fail(1)) SWIG_fail
;
8628 arg2
= wxString_in_helper(obj1
);
8629 if (arg2
== NULL
) SWIG_fail
;
8634 arg3
= wxString_in_helper(obj2
);
8635 if (arg3
== NULL
) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= NULL
;
8673 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8699 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8704 return Py_BuildValue((char *)"");
8706 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= NULL
;
8708 wxWindow
*arg1
= (wxWindow
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "window",(char *) "dc", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8722 if (SWIG_arg_fail(2)) SWIG_fail
;
8724 SWIG_null_ref("wxDC");
8726 if (SWIG_arg_fail(2)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= NULL
;
8746 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8747 PyObject
* obj0
= 0 ;
8749 (char *) "self", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8754 if (SWIG_arg_fail(1)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= NULL
;
8771 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8775 (char *) "self", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8780 if (SWIG_arg_fail(1)) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (arg1
)->GetTip();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8801 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= NULL
;
8803 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (size_t)(arg1
)->GetCurrentTip();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8829 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= NULL
;
8831 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8832 wxString
*arg2
= 0 ;
8834 bool temp2
= false ;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 (char *) "self",(char *) "tip", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 arg2
= wxString_in_helper(obj1
);
8846 if (arg2
== NULL
) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8877 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8880 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8882 return Py_BuildValue((char *)"");
8884 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= NULL
;
8887 wxPyTipProvider
*result
;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "currentTip", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8895 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8896 if (SWIG_arg_fail(1)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8912 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= NULL
;
8914 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8915 PyObject
*arg2
= (PyObject
*) 0 ;
8916 PyObject
*arg3
= (PyObject
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "self",(char *) "self",(char *) "_class", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8946 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8948 return Py_BuildValue((char *)"");
8950 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= NULL
;
8952 wxWindow
*arg1
= (wxWindow
*) 0 ;
8953 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8954 bool arg3
= (bool) true ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8960 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail
;
8966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8967 if (SWIG_arg_fail(2)) SWIG_fail
;
8970 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8971 if (SWIG_arg_fail(3)) SWIG_fail
;
8975 if (!wxPyCheckForApp()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8991 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
= NULL
;
8993 wxString
*arg1
= 0 ;
8995 wxTipProvider
*result
;
8996 bool temp1
= false ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
9000 (char *) "filename",(char *) "currentTip", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9005 arg1
= wxString_in_helper(obj0
);
9006 if (arg1
== NULL
) SWIG_fail
;
9010 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9011 if (SWIG_arg_fail(2)) SWIG_fail
;
9014 if (!wxPyCheckForApp()) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9036 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
= NULL
;
9038 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9039 int arg2
= (int) -1 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9044 (char *) "owner",(char *) "id", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail
;
9054 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9055 if (SWIG_arg_fail(2)) SWIG_fail
;
9059 if (!wxPyCheckForApp()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9073 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
= NULL
;
9075 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
= NULL
;
9100 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9101 PyObject
*arg2
= (PyObject
*) 0 ;
9102 PyObject
*arg3
= (PyObject
*) 0 ;
9103 int arg4
= (int) 1 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9109 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail
;
9119 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9120 if (SWIG_arg_fail(4)) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
= NULL
;
9139 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9140 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9141 int arg3
= (int) -1 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9146 (char *) "self",(char *) "owner",(char *) "id", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9153 if (SWIG_arg_fail(2)) SWIG_fail
;
9156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9157 if (SWIG_arg_fail(3)) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 (arg1
)->SetOwner(arg2
,arg3
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= NULL
;
9176 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9177 wxEvtHandler
*result
;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= wxPyMake_wxObject(result
, 0);
9202 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
= NULL
;
9204 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9205 int arg2
= (int) -1 ;
9206 bool arg3
= (bool) false ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 PyObject
* obj2
= 0 ;
9212 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9221 if (SWIG_arg_fail(2)) SWIG_fail
;
9226 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9227 if (SWIG_arg_fail(3)) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9246 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
= NULL
;
9248 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9256 if (SWIG_arg_fail(1)) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_Timer_Notify(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= NULL
;
9273 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
9280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
= NULL
;
9298 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= NULL
;
9326 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9335 if (SWIG_arg_fail(1)) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_From_int(static_cast<int >(result
));
9352 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
= NULL
;
9354 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9363 if (SWIG_arg_fail(1)) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= NULL
;
9382 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_From_int(static_cast<int >(result
));
9408 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9411 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9413 return Py_BuildValue((char *)"");
9415 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= NULL
;
9417 int arg1
= (int) 0 ;
9418 int arg2
= (int) 0 ;
9419 wxTimerEvent
*result
;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9423 (char *) "timerid",(char *) "interval", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9429 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9430 if (SWIG_arg_fail(1)) SWIG_fail
;
9435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9436 if (SWIG_arg_fail(2)) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9453 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= NULL
;
9455 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_From_int(static_cast<int >(result
));
9481 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9484 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9486 return Py_BuildValue((char *)"");
9488 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9489 PyObject
*resultobj
= NULL
;
9491 wxTimerRunner
*result
;
9492 PyObject
* obj0
= 0 ;
9494 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9497 if (SWIG_arg_fail(1)) SWIG_fail
;
9499 SWIG_null_ref("wxTimer");
9501 if (SWIG_arg_fail(1)) SWIG_fail
;
9504 if (!wxPyCheckForApp()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9518 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9519 PyObject
*resultobj
= NULL
;
9522 bool arg3
= (bool) false ;
9523 wxTimerRunner
*result
;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 PyObject
* obj2
= 0 ;
9528 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9531 if (SWIG_arg_fail(1)) SWIG_fail
;
9533 SWIG_null_ref("wxTimer");
9535 if (SWIG_arg_fail(1)) SWIG_fail
;
9538 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9539 if (SWIG_arg_fail(2)) SWIG_fail
;
9543 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9544 if (SWIG_arg_fail(3)) SWIG_fail
;
9548 if (!wxPyCheckForApp()) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9562 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9567 argc
= PyObject_Length(args
);
9568 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9569 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9575 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9583 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9586 if ((argc
>= 2) && (argc
<= 3)) {
9590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9598 _v
= SWIG_Check_int(argv
[1]);
9601 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9603 _v
= SWIG_Check_bool(argv
[2]);
9605 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9611 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9616 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
= NULL
;
9618 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
= NULL
;
9643 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9645 bool arg3
= (bool) false ;
9646 PyObject
* obj0
= 0 ;
9647 PyObject
* obj1
= 0 ;
9648 PyObject
* obj2
= 0 ;
9650 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail
;
9657 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9658 if (SWIG_arg_fail(2)) SWIG_fail
;
9662 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9663 if (SWIG_arg_fail(3)) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->Start(arg2
,arg3
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 Py_INCREF(Py_None
); resultobj
= Py_None
;
9680 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9683 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9685 return Py_BuildValue((char *)"");
9687 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
= NULL
;
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (wxLog
*)new wxLog();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9709 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= NULL
;
9711 wxLog
*arg1
= (wxLog
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= NULL
;
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)wxLog::IsEnabled();
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9758 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= NULL
;
9760 bool arg1
= (bool) true ;
9762 PyObject
* obj0
= 0 ;
9764 (char *) "doIt", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9770 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9771 if (SWIG_arg_fail(1)) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (bool)wxLog::EnableLogging(arg1
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= NULL
;
9793 wxChar
*arg2
= (wxChar
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 PyObject
* obj2
= 0 ;
9799 (char *) "level",(char *) "szString",(char *) "t", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9804 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9805 if (SWIG_arg_fail(1)) SWIG_fail
;
9807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(2)) SWIG_fail
;
9810 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9811 if (SWIG_arg_fail(3)) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 Py_INCREF(Py_None
); resultobj
= Py_None
;
9827 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= NULL
;
9829 wxLog
*arg1
= (wxLog
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 Py_INCREF(Py_None
); resultobj
= Py_None
;
9852 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= NULL
;
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 wxLog::FlushActive();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= NULL
;
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (wxLog
*)wxLog::GetActiveTarget();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9895 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
= NULL
;
9897 wxLog
*arg1
= (wxLog
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "pLogger", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9906 if (SWIG_arg_fail(1)) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9921 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= NULL
;
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 Py_INCREF(Py_None
); resultobj
= Py_None
;
9942 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
= NULL
;
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 Py_INCREF(Py_None
); resultobj
= Py_None
;
9963 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
= NULL
;
9965 bool arg1
= (bool) true ;
9966 PyObject
* obj0
= 0 ;
9968 (char *) "bVerbose", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9974 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 wxLog::SetVerbose(arg1
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= NULL
;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "logLevel", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
10002 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxLog::SetLogLevel(arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= NULL
;
10021 char *kwnames
[] = {
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxLog::DontCreateOnDemand();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 Py_INCREF(Py_None
); resultobj
= Py_None
;
10040 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
= NULL
;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "ulMask", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10050 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10051 if (SWIG_arg_fail(1)) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxLog::SetTraceMask(arg1
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 Py_INCREF(Py_None
); resultobj
= Py_None
;
10067 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
= NULL
;
10069 wxString
*arg1
= 0 ;
10070 bool temp1
= false ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "str", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10078 arg1
= wxString_in_helper(obj0
);
10079 if (arg1
== NULL
) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 wxLog::AddTraceMask((wxString
const &)*arg1
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10104 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
= NULL
;
10106 wxString
*arg1
= 0 ;
10107 bool temp1
= false ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "str", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10115 arg1
= wxString_in_helper(obj0
);
10116 if (arg1
== NULL
) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10141 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= NULL
;
10143 char *kwnames
[] = {
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 wxLog::ClearTraceMasks();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 Py_INCREF(Py_None
); resultobj
= Py_None
;
10162 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
= NULL
;
10164 wxArrayString
*result
;
10165 char *kwnames
[] = {
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10174 result
= (wxArrayString
*) &_result_ref
;
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= wxArrayString2PyList_helper(*result
);
10189 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= NULL
;
10191 wxChar
*arg1
= (wxChar
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "ts", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10199 if (SWIG_arg_fail(1)) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 wxLog::SetTimestamp((wxChar
const *)arg1
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 Py_INCREF(Py_None
); resultobj
= Py_None
;
10214 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= NULL
;
10217 char *kwnames
[] = {
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)wxLog::GetVerbose();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10238 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= NULL
;
10240 wxTraceMask result
;
10241 char *kwnames
[] = {
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (wxTraceMask
)wxLog::GetTraceMask();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10262 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
= NULL
;
10264 wxChar
*arg1
= (wxChar
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "mask", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10290 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
= NULL
;
10293 char *kwnames
[] = {
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (wxLogLevel
)wxLog::GetLogLevel();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10314 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
= NULL
;
10317 char *kwnames
[] = {
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (wxChar
*)wxLog::GetTimestamp();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10336 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
= NULL
;
10339 char *kwnames
[] = {
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= wxLog_TimeStamp();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10364 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
= NULL
;
10366 wxLog
*arg1
= (wxLog
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 wxLog_Destroy(arg1
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10389 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10392 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10394 return Py_BuildValue((char *)"");
10396 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= NULL
;
10398 wxLogStderr
*result
;
10399 char *kwnames
[] = {
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (wxLogStderr
*)new wxLogStderr();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10418 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10421 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10423 return Py_BuildValue((char *)"");
10425 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= NULL
;
10427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10428 wxLogTextCtrl
*result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "pTextCtrl", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10436 if (SWIG_arg_fail(1)) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10451 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10454 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10456 return Py_BuildValue((char *)"");
10458 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
= NULL
;
10461 char *kwnames
[] = {
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxLogGui
*)new wxLogGui();
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10480 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10483 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10485 return Py_BuildValue((char *)"");
10487 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
= NULL
;
10489 wxFrame
*arg1
= (wxFrame
*) 0 ;
10490 wxString
*arg2
= 0 ;
10491 bool arg3
= (bool) true ;
10492 bool arg4
= (bool) true ;
10493 wxLogWindow
*result
;
10494 bool temp2
= false ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 PyObject
* obj2
= 0 ;
10498 PyObject
* obj3
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 arg2
= wxString_in_helper(obj1
);
10508 if (arg2
== NULL
) SWIG_fail
;
10513 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10514 if (SWIG_arg_fail(3)) SWIG_fail
;
10519 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10520 if (SWIG_arg_fail(4)) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10545 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= NULL
;
10547 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10548 bool arg2
= (bool) true ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "bShow", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10560 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10561 if (SWIG_arg_fail(2)) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->Show(arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= NULL
;
10580 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10606 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= NULL
;
10608 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10632 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
= NULL
;
10634 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10660 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
= NULL
;
10662 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "bDoPass", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail
;
10674 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10675 if (SWIG_arg_fail(2)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->PassMessages(arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10694 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10696 return Py_BuildValue((char *)"");
10698 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
= NULL
;
10700 wxLog
*arg1
= (wxLog
*) 0 ;
10701 wxLogChain
*result
;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "logger", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxLogChain
*)new wxLogChain(arg1
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10724 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
= NULL
;
10726 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10727 wxLog
*arg2
= (wxLog
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "logger", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail
;
10737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10738 if (SWIG_arg_fail(2)) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetLog(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= NULL
;
10755 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "bDoPass", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->PassMessages(arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 Py_INCREF(Py_None
); resultobj
= Py_None
;
10784 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
= NULL
;
10786 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (bool)(arg1
)->IsPassingMessages();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10812 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= NULL
;
10814 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (wxLog
*)(arg1
)->GetOldLog();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10838 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10841 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10843 return Py_BuildValue((char *)"");
10845 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= NULL
;
10847 wxLogBuffer
*result
;
10848 char *kwnames
[] = {
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (wxLogBuffer
*)new wxLogBuffer();
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10867 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= NULL
;
10869 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10883 result
= (wxString
*) &_result_ref
;
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10902 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= NULL
;
10904 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10930 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10932 return Py_BuildValue((char *)"");
10934 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= NULL
;
10936 unsigned long result
;
10937 char *kwnames
[] = {
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (unsigned long)wxSysErrorCode();
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10958 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
= NULL
;
10960 unsigned long arg1
= (unsigned long) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "nErrCode", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10970 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= wxSysErrorMsg(arg1
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10994 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= NULL
;
10996 wxString
*arg1
= 0 ;
10997 bool temp1
= false ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "msg", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11005 arg1
= wxString_in_helper(obj0
);
11006 if (arg1
== NULL
) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 wxPyLogFatalError((wxString
const &)*arg1
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= NULL
;
11033 wxString
*arg1
= 0 ;
11034 bool temp1
= false ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "msg", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11042 arg1
= wxString_in_helper(obj0
);
11043 if (arg1
== NULL
) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxPyLogError((wxString
const &)*arg1
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= NULL
;
11070 wxString
*arg1
= 0 ;
11071 bool temp1
= false ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "msg", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11079 arg1
= wxString_in_helper(obj0
);
11080 if (arg1
== NULL
) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 wxPyLogWarning((wxString
const &)*arg1
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
= NULL
;
11107 wxString
*arg1
= 0 ;
11108 bool temp1
= false ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "msg", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11116 arg1
= wxString_in_helper(obj0
);
11117 if (arg1
== NULL
) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 wxPyLogMessage((wxString
const &)*arg1
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= NULL
;
11144 wxString
*arg1
= 0 ;
11145 bool temp1
= false ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "msg", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11153 arg1
= wxString_in_helper(obj0
);
11154 if (arg1
== NULL
) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 wxPyLogInfo((wxString
const &)*arg1
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11179 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
= NULL
;
11181 wxString
*arg1
= 0 ;
11182 bool temp1
= false ;
11183 PyObject
* obj0
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "msg", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11190 arg1
= wxString_in_helper(obj0
);
11191 if (arg1
== NULL
) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 wxPyLogDebug((wxString
const &)*arg1
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
= NULL
;
11218 wxString
*arg1
= 0 ;
11219 bool temp1
= false ;
11220 PyObject
* obj0
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "msg", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11227 arg1
= wxString_in_helper(obj0
);
11228 if (arg1
== NULL
) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxPyLogVerbose((wxString
const &)*arg1
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
= NULL
;
11255 wxString
*arg1
= 0 ;
11256 bool temp1
= false ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "msg", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11264 arg1
= wxString_in_helper(obj0
);
11265 if (arg1
== NULL
) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxPyLogStatus((wxString
const &)*arg1
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= NULL
;
11292 wxFrame
*arg1
= (wxFrame
*) 0 ;
11293 wxString
*arg2
= 0 ;
11294 bool temp2
= false ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "pFrame",(char *) "msg", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11303 if (SWIG_arg_fail(1)) SWIG_fail
;
11305 arg2
= wxString_in_helper(obj1
);
11306 if (arg2
== NULL
) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
= NULL
;
11333 wxString
*arg1
= 0 ;
11334 bool temp1
= false ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "msg", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11342 arg1
= wxString_in_helper(obj0
);
11343 if (arg1
== NULL
) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxPyLogSysError((wxString
const &)*arg1
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11368 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= NULL
;
11370 unsigned long arg1
;
11371 wxString
*arg2
= 0 ;
11372 bool temp2
= false ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "level",(char *) "msg", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11385 arg2
= wxString_in_helper(obj1
);
11386 if (arg2
== NULL
) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11411 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11412 PyObject
*resultobj
= NULL
;
11413 unsigned long arg1
;
11414 wxString
*arg2
= 0 ;
11415 bool temp2
= false ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11419 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11421 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11422 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 arg2
= wxString_in_helper(obj1
);
11426 if (arg2
== NULL
) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 Py_INCREF(Py_None
); resultobj
= Py_None
;
11451 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11452 PyObject
*resultobj
= NULL
;
11453 wxString
*arg1
= 0 ;
11454 wxString
*arg2
= 0 ;
11455 bool temp1
= false ;
11456 bool temp2
= false ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11460 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11462 arg1
= wxString_in_helper(obj0
);
11463 if (arg1
== NULL
) SWIG_fail
;
11467 arg2
= wxString_in_helper(obj1
);
11468 if (arg2
== NULL
) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11506 argc
= PyObject_Length(args
);
11507 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11508 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11513 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11517 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11520 return _wrap_LogTrace__SWIG_1(self
,args
);
11526 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11529 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11532 return _wrap_LogTrace__SWIG_0(self
,args
);
11537 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11542 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= NULL
;
11544 wxString
*arg1
= 0 ;
11545 wxString
*arg2
= 0 ;
11546 bool temp1
= false ;
11547 bool temp2
= false ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "title",(char *) "text", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11556 arg1
= wxString_in_helper(obj0
);
11557 if (arg1
== NULL
) SWIG_fail
;
11561 arg2
= wxString_in_helper(obj1
);
11562 if (arg2
== NULL
) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11595 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= NULL
;
11598 char *kwnames
[] = {
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxLogNull
*)new wxLogNull();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11617 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= NULL
;
11619 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 Py_INCREF(Py_None
); resultobj
= Py_None
;
11642 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11645 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11647 return Py_BuildValue((char *)"");
11649 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= NULL
;
11652 char *kwnames
[] = {
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxPyLog
*)new wxPyLog();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11671 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= NULL
;
11673 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11674 PyObject
*arg2
= (PyObject
*) 0 ;
11675 PyObject
*arg3
= (PyObject
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 PyObject
* obj2
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "self",(char *) "_class", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11685 if (SWIG_arg_fail(1)) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11702 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11707 return Py_BuildValue((char *)"");
11709 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
= NULL
;
11712 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11713 int arg3
= (int) wxKILL_NOCHILDREN
;
11714 wxKillError result
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11724 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11725 if (SWIG_arg_fail(1)) SWIG_fail
;
11729 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11730 if (SWIG_arg_fail(2)) SWIG_fail
;
11735 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11736 if (SWIG_arg_fail(3)) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int((result
));
11753 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= NULL
;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "pid", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11764 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)wxPyProcess::Exists(arg1
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
= NULL
;
11785 wxString
*arg1
= 0 ;
11786 int arg2
= (int) wxEXEC_ASYNC
;
11787 wxPyProcess
*result
;
11788 bool temp1
= false ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "cmd",(char *) "flags", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11797 arg1
= wxString_in_helper(obj0
);
11798 if (arg1
== NULL
) SWIG_fail
;
11803 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11804 if (SWIG_arg_fail(2)) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11829 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
= NULL
;
11831 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11832 int arg2
= (int) -1 ;
11833 wxPyProcess
*result
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "parent",(char *) "id", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11843 if (SWIG_arg_fail(1)) SWIG_fail
;
11847 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11848 if (SWIG_arg_fail(2)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11865 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= NULL
;
11867 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11868 PyObject
*arg2
= (PyObject
*) 0 ;
11869 PyObject
*arg3
= (PyObject
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "self",(char *) "_class", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11896 static PyObject
*_wrap_Process_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= NULL
;
11898 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 PyObject
* obj2
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self",(char *) "pid",(char *) "status", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11910 if (SWIG_arg_fail(1)) SWIG_fail
;
11912 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11913 if (SWIG_arg_fail(2)) SWIG_fail
;
11916 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11917 if (SWIG_arg_fail(3)) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->OnTerminate(arg2
,arg3
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 Py_INCREF(Py_None
); resultobj
= Py_None
;
11933 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= NULL
;
11935 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 (arg1
)->Redirect();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 Py_INCREF(Py_None
); resultobj
= Py_None
;
11958 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
= NULL
;
11960 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)(arg1
)->IsRedirected();
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= NULL
;
11988 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11996 if (SWIG_arg_fail(1)) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= NULL
;
12013 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12014 wxInputStream
*result
;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12022 if (SWIG_arg_fail(1)) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 wxPyInputStream
* _ptr
= NULL
;
12034 _ptr
= new wxPyInputStream(result
);
12036 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12044 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= NULL
;
12046 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12047 wxInputStream
*result
;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12055 if (SWIG_arg_fail(1)) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 wxPyInputStream
* _ptr
= NULL
;
12067 _ptr
= new wxPyInputStream(result
);
12069 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12077 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= NULL
;
12079 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12080 wxOutputStream
*result
;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12103 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
= NULL
;
12105 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->CloseOutput();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12128 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
= NULL
;
12130 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12139 if (SWIG_arg_fail(1)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12156 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= NULL
;
12158 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12167 if (SWIG_arg_fail(1)) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12184 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= NULL
;
12186 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12195 if (SWIG_arg_fail(1)) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12215 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12217 return Py_BuildValue((char *)"");
12219 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
= NULL
;
12221 int arg1
= (int) 0 ;
12222 int arg2
= (int) 0 ;
12223 int arg3
= (int) 0 ;
12224 wxProcessEvent
*result
;
12225 PyObject
* obj0
= 0 ;
12226 PyObject
* obj1
= 0 ;
12227 PyObject
* obj2
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12235 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12236 if (SWIG_arg_fail(1)) SWIG_fail
;
12241 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12242 if (SWIG_arg_fail(2)) SWIG_fail
;
12247 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12248 if (SWIG_arg_fail(3)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12265 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
= NULL
;
12267 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12276 if (SWIG_arg_fail(1)) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (int)(arg1
)->GetPid();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_From_int(static_cast<int >(result
));
12293 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= NULL
;
12295 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (int)(arg1
)->GetExitCode();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_From_int(static_cast<int >(result
));
12321 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= NULL
;
12323 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "m_pid", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail
;
12335 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12336 if (SWIG_arg_fail(2)) SWIG_fail
;
12338 if (arg1
) (arg1
)->m_pid
= arg2
;
12340 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= NULL
;
12349 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12359 result
= (int) ((arg1
)->m_pid
);
12362 resultobj
= SWIG_From_int(static_cast<int >(result
));
12370 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
= NULL
;
12372 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "m_exitcode", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12385 if (SWIG_arg_fail(2)) SWIG_fail
;
12387 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= NULL
;
12398 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12407 if (SWIG_arg_fail(1)) SWIG_fail
;
12408 result
= (int) ((arg1
)->m_exitcode
);
12411 resultobj
= SWIG_From_int(static_cast<int >(result
));
12419 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12422 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12424 return Py_BuildValue((char *)"");
12426 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
= NULL
;
12428 wxString
*arg1
= 0 ;
12429 int arg2
= (int) wxEXEC_ASYNC
;
12430 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12432 bool temp1
= false ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "command",(char *) "flags",(char *) "process", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12442 arg1
= wxString_in_helper(obj0
);
12443 if (arg1
== NULL
) SWIG_fail
;
12448 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12449 if (SWIG_arg_fail(2)) SWIG_fail
;
12453 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(3)) SWIG_fail
;
12457 if (!wxPyCheckForApp()) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_From_long(static_cast<long >(result
));
12481 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
= NULL
;
12484 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12485 wxKillError
*arg3
= (wxKillError
*) 0 ;
12486 int arg4
= (int) wxKILL_NOCHILDREN
;
12488 wxKillError temp3
;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12501 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12502 if (SWIG_arg_fail(1)) SWIG_fail
;
12506 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12507 if (SWIG_arg_fail(2)) SWIG_fail
;
12512 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12513 if (SWIG_arg_fail(4)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_int(static_cast<int >(result
));
12528 o
= PyInt_FromLong((long) (*arg3
));
12530 resultobj
= t_output_helper(resultobj
, o
);
12541 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
= NULL
;
12543 int arg1
= (int) wxJOYSTICK1
;
12544 wxJoystick
*result
;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "joystick", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12553 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 if (!wxPyCheckForApp()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxJoystick
*)new wxJoystick(arg1
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12572 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= NULL
;
12574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
= NULL
;
12599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= (arg1
)->GetPosition();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 wxPoint
* resultptr
;
12618 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12627 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
= NULL
;
12629 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (int)(arg1
)->GetZPosition();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= SWIG_From_int(static_cast<int >(result
));
12655 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
= NULL
;
12657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (int)(arg1
)->GetButtonState();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_From_int(static_cast<int >(result
));
12683 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
= NULL
;
12685 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (int)(arg1
)->GetPOVPosition();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_From_int(static_cast<int >(result
));
12711 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= NULL
;
12713 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 result
= (int)(arg1
)->GetPOVCTSPosition();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_From_int(static_cast<int >(result
));
12739 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= NULL
;
12741 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12750 if (SWIG_arg_fail(1)) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (int)(arg1
)->GetRudderPosition();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_From_int(static_cast<int >(result
));
12767 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
= NULL
;
12769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (int)(arg1
)->GetUPosition();
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_From_int(static_cast<int >(result
));
12795 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
= NULL
;
12797 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (int)(arg1
)->GetVPosition();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_From_int(static_cast<int >(result
));
12823 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
= NULL
;
12825 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12834 if (SWIG_arg_fail(1)) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (int)(arg1
)->GetMovementThreshold();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_From_int(static_cast<int >(result
));
12851 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
= NULL
;
12853 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "threshold", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12865 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12866 if (SWIG_arg_fail(2)) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 (arg1
)->SetMovementThreshold(arg2
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 Py_INCREF(Py_None
); resultobj
= Py_None
;
12882 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
= NULL
;
12884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12893 if (SWIG_arg_fail(1)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->IsOk();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12910 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= NULL
;
12912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (int)(arg1
)->GetNumberJoysticks();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_int(static_cast<int >(result
));
12938 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= NULL
;
12940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (int)(arg1
)->GetManufacturerId();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_int(static_cast<int >(result
));
12966 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
= NULL
;
12968 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (int)(arg1
)->GetProductId();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_int(static_cast<int >(result
));
12994 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= NULL
;
12996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (arg1
)->GetProductName();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13026 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
= NULL
;
13028 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (int)(arg1
)->GetXMin();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_From_int(static_cast<int >(result
));
13054 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= NULL
;
13056 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (int)(arg1
)->GetYMin();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_From_int(static_cast<int >(result
));
13082 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
= NULL
;
13084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13093 if (SWIG_arg_fail(1)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (int)(arg1
)->GetZMin();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_From_int(static_cast<int >(result
));
13110 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= NULL
;
13112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (int)(arg1
)->GetXMax();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_From_int(static_cast<int >(result
));
13138 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
= NULL
;
13140 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (int)(arg1
)->GetYMax();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_From_int(static_cast<int >(result
));
13166 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= NULL
;
13168 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (int)(arg1
)->GetZMax();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_From_int(static_cast<int >(result
));
13194 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= NULL
;
13196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13205 if (SWIG_arg_fail(1)) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (int)(arg1
)->GetNumberButtons();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_From_int(static_cast<int >(result
));
13222 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
= NULL
;
13224 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (int)(arg1
)->GetNumberAxes();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_From_int(static_cast<int >(result
));
13250 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= NULL
;
13252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (int)(arg1
)->GetMaxButtons();
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_From_int(static_cast<int >(result
));
13278 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= NULL
;
13280 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13289 if (SWIG_arg_fail(1)) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (int)(arg1
)->GetMaxAxes();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_From_int(static_cast<int >(result
));
13306 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= NULL
;
13308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (int)(arg1
)->GetPollingMin();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_From_int(static_cast<int >(result
));
13334 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= NULL
;
13336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13345 if (SWIG_arg_fail(1)) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (int)(arg1
)->GetPollingMax();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_From_int(static_cast<int >(result
));
13362 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
= NULL
;
13364 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (int)(arg1
)->GetRudderMin();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_From_int(static_cast<int >(result
));
13390 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
= NULL
;
13392 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (int)(arg1
)->GetRudderMax();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_From_int(static_cast<int >(result
));
13418 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= NULL
;
13420 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13429 if (SWIG_arg_fail(1)) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (int)(arg1
)->GetUMin();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_From_int(static_cast<int >(result
));
13446 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
= NULL
;
13448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (int)(arg1
)->GetUMax();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_From_int(static_cast<int >(result
));
13474 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= NULL
;
13476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)(arg1
)->GetVMin();
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_From_int(static_cast<int >(result
));
13502 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
= NULL
;
13504 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13513 if (SWIG_arg_fail(1)) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (int)(arg1
)->GetVMax();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_From_int(static_cast<int >(result
));
13530 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= NULL
;
13532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)(arg1
)->HasRudder();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
= NULL
;
13560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (bool)(arg1
)->HasZ();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13586 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= NULL
;
13588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (bool)(arg1
)->HasU();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13614 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
= NULL
;
13616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)(arg1
)->HasV();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= NULL
;
13644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)(arg1
)->HasPOV();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
= NULL
;
13672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (bool)(arg1
)->HasPOV4Dir();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13698 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= NULL
;
13700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13709 if (SWIG_arg_fail(1)) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (bool)(arg1
)->HasPOVCTS();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
= NULL
;
13728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13729 wxWindow
*arg2
= (wxWindow
*) 0 ;
13730 int arg3
= (int) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 PyObject
* obj2
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13741 if (SWIG_arg_fail(1)) SWIG_fail
;
13742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13743 if (SWIG_arg_fail(2)) SWIG_fail
;
13746 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13747 if (SWIG_arg_fail(3)) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13766 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
= NULL
;
13768 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (bool)(arg1
)->ReleaseCapture();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13794 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13799 return Py_BuildValue((char *)"");
13801 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
= NULL
;
13803 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13804 int arg2
= (int) 0 ;
13805 int arg3
= (int) wxJOYSTICK1
;
13806 int arg4
= (int) 0 ;
13807 wxJoystickEvent
*result
;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 PyObject
* obj2
= 0 ;
13811 PyObject
* obj3
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13819 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13820 if (SWIG_arg_fail(1)) SWIG_fail
;
13825 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13826 if (SWIG_arg_fail(2)) SWIG_fail
;
13831 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13832 if (SWIG_arg_fail(3)) SWIG_fail
;
13837 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13838 if (SWIG_arg_fail(4)) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13855 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
= NULL
;
13857 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 wxPoint
* resultptr
;
13876 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13885 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
= NULL
;
13887 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_From_int(static_cast<int >(result
));
13913 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= NULL
;
13915 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13924 if (SWIG_arg_fail(1)) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_From_int(static_cast<int >(result
));
13941 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= NULL
;
13943 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_From_int(static_cast<int >(result
));
13969 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= NULL
;
13971 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13980 if (SWIG_arg_fail(1)) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast<int >(result
));
13997 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
= NULL
;
13999 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self",(char *) "stick", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14012 if (SWIG_arg_fail(2)) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 (arg1
)->SetJoystick(arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 Py_INCREF(Py_None
); resultobj
= Py_None
;
14028 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
= NULL
;
14030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "state", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14043 if (SWIG_arg_fail(2)) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetButtonState(arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
= NULL
;
14061 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "change", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14071 if (SWIG_arg_fail(1)) SWIG_fail
;
14073 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14074 if (SWIG_arg_fail(2)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->SetButtonChange(arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14090 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= NULL
;
14092 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14093 wxPoint
*arg2
= 0 ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self",(char *) "pos", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14122 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
= NULL
;
14124 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "zPos", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail
;
14136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14137 if (SWIG_arg_fail(2)) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 (arg1
)->SetZPosition(arg2
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 Py_INCREF(Py_None
); resultobj
= Py_None
;
14153 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
= NULL
;
14155 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14164 if (SWIG_arg_fail(1)) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14181 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
= NULL
;
14183 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14192 if (SWIG_arg_fail(1)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= NULL
;
14211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14237 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= NULL
;
14239 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14240 int arg2
= (int) wxJOY_BUTTON_ANY
;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "but", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14254 if (SWIG_arg_fail(2)) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= NULL
;
14275 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14276 int arg2
= (int) wxJOY_BUTTON_ANY
;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "but", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14290 if (SWIG_arg_fail(2)) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14309 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
= NULL
;
14311 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14312 int arg2
= (int) wxJOY_BUTTON_ANY
;
14314 PyObject
* obj0
= 0 ;
14315 PyObject
* obj1
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self",(char *) "but", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14325 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14326 if (SWIG_arg_fail(2)) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14345 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14350 return Py_BuildValue((char *)"");
14352 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
= NULL
;
14354 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14355 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14357 bool temp1
= false ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "fileName", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14366 arg1
= wxString_in_helper(obj0
);
14367 if (arg1
== NULL
) SWIG_fail
;
14372 if (!wxPyCheckForApp()) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14394 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= NULL
;
14396 PyObject
*arg1
= (PyObject
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "data", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14406 if (!wxPyCheckForApp()) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (wxSound
*)new_wxSound(arg1
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14420 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= NULL
;
14422 wxSound
*arg1
= (wxSound
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
= NULL
;
14447 wxSound
*arg1
= (wxSound
*) 0 ;
14448 wxString
*arg2
= 0 ;
14450 bool temp2
= false ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self",(char *) "fileName", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 arg2
= wxString_in_helper(obj1
);
14462 if (arg2
== NULL
) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14489 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= NULL
;
14491 wxSound
*arg1
= (wxSound
*) 0 ;
14492 PyObject
*arg2
= (PyObject
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "data", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14502 if (SWIG_arg_fail(1)) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14520 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
= NULL
;
14522 wxSound
*arg1
= (wxSound
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (bool)(arg1
)->IsOk();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
= NULL
;
14550 wxSound
*arg1
= (wxSound
*) 0 ;
14551 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self",(char *) "flags", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14565 if (SWIG_arg_fail(2)) SWIG_fail
;
14569 if (!wxPyCheckForApp()) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14585 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
= NULL
;
14587 wxString
*arg1
= 0 ;
14588 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14590 bool temp1
= false ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "filename",(char *) "flags", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14599 arg1
= wxString_in_helper(obj0
);
14600 if (arg1
== NULL
) SWIG_fail
;
14605 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14606 if (SWIG_arg_fail(2)) SWIG_fail
;
14610 if (!wxPyCheckForApp()) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= NULL
;
14636 char *kwnames
[] = {
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14642 if (!wxPyCheckForApp()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14659 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14661 return Py_BuildValue((char *)"");
14663 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= NULL
;
14665 wxString
*arg1
= 0 ;
14666 wxString
*arg2
= 0 ;
14667 wxString
*arg3
= 0 ;
14668 wxString
*arg4
= 0 ;
14669 wxFileTypeInfo
*result
;
14670 bool temp1
= false ;
14671 bool temp2
= false ;
14672 bool temp3
= false ;
14673 bool temp4
= false ;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 PyObject
* obj2
= 0 ;
14677 PyObject
* obj3
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14684 arg1
= wxString_in_helper(obj0
);
14685 if (arg1
== NULL
) SWIG_fail
;
14689 arg2
= wxString_in_helper(obj1
);
14690 if (arg2
== NULL
) SWIG_fail
;
14694 arg3
= wxString_in_helper(obj2
);
14695 if (arg3
== NULL
) SWIG_fail
;
14699 arg4
= wxString_in_helper(obj3
);
14700 if (arg4
== NULL
) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14749 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
= NULL
;
14751 wxArrayString
*arg1
= 0 ;
14752 wxFileTypeInfo
*result
;
14753 bool temp1
= false ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "sArray", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14761 if (! PySequence_Check(obj0
)) {
14762 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14765 arg1
= new wxArrayString
;
14767 int i
, len
=PySequence_Length(obj0
);
14768 for (i
=0; i
<len
; i
++) {
14769 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14770 wxString
* s
= wxString_in_helper(item
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14786 if (temp1
) delete arg1
;
14791 if (temp1
) delete arg1
;
14797 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
= NULL
;
14799 wxFileTypeInfo
*result
;
14800 char *kwnames
[] = {
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14819 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
= NULL
;
14821 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14830 if (SWIG_arg_fail(1)) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14847 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= NULL
;
14849 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14850 wxString
*arg2
= 0 ;
14851 int arg3
= (int) 0 ;
14852 bool temp2
= false ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14862 if (SWIG_arg_fail(1)) SWIG_fail
;
14864 arg2
= wxString_in_helper(obj1
);
14865 if (arg2
== NULL
) SWIG_fail
;
14870 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14871 if (SWIG_arg_fail(3)) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 Py_INCREF(Py_None
); resultobj
= Py_None
;
14896 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
= NULL
;
14898 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14899 wxString
*arg2
= 0 ;
14900 bool temp2
= false ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "shortDesc", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(1)) SWIG_fail
;
14911 arg2
= wxString_in_helper(obj1
);
14912 if (arg2
== NULL
) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 Py_INCREF(Py_None
); resultobj
= Py_None
;
14937 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
= NULL
;
14939 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14948 if (SWIG_arg_fail(1)) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14953 result
= (wxString
*) &_result_ref
;
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14972 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= NULL
;
14974 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14983 if (SWIG_arg_fail(1)) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14988 result
= (wxString
*) &_result_ref
;
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15007 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
= NULL
;
15009 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15023 result
= (wxString
*) &_result_ref
;
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15042 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
= NULL
;
15044 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15053 if (SWIG_arg_fail(1)) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15058 result
= (wxString
*) &_result_ref
;
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15077 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
= NULL
;
15079 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15093 result
= (wxString
*) &_result_ref
;
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15112 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= NULL
;
15114 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15115 wxArrayString
*result
;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15128 result
= (wxArrayString
*) &_result_ref
;
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= wxArrayString2PyList_helper(*result
);
15143 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= NULL
;
15145 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_From_int(static_cast<int >(result
));
15171 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= NULL
;
15173 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15187 result
= (wxString
*) &_result_ref
;
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15206 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
= NULL
;
15208 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= SWIG_From_int(static_cast<int >(result
));
15234 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15237 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15239 return Py_BuildValue((char *)"");
15241 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
= NULL
;
15243 wxFileTypeInfo
*arg1
= 0 ;
15244 wxFileType
*result
;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "ftInfo", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 if (arg1
== NULL
) {
15255 SWIG_null_ref("wxFileTypeInfo");
15257 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15273 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
= NULL
;
15275 wxFileType
*arg1
= (wxFileType
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 Py_INCREF(Py_None
); resultobj
= Py_None
;
15298 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
= NULL
;
15300 wxFileType
*arg1
= (wxFileType
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
;
15324 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
= NULL
;
15326 wxFileType
*arg1
= (wxFileType
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
;
15350 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
= NULL
;
15352 wxFileType
*arg1
= (wxFileType
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
;
15376 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= NULL
;
15378 wxFileType
*arg1
= (wxFileType
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15387 if (SWIG_arg_fail(1)) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15402 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
= NULL
;
15404 wxFileType
*arg1
= (wxFileType
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= result
;
15428 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= NULL
;
15430 wxFileType
*arg1
= (wxFileType
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= result
;
15454 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= NULL
;
15456 wxFileType
*arg1
= (wxFileType
*) 0 ;
15457 wxString
*arg2
= 0 ;
15458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15461 bool temp2
= false ;
15462 bool temp3
= false ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 PyObject
* obj2
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 arg2
= wxString_in_helper(obj1
);
15475 if (arg2
== NULL
) SWIG_fail
;
15480 arg3
= wxString_in_helper(obj2
);
15481 if (arg3
== NULL
) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= result
;
15515 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
= NULL
;
15517 wxFileType
*arg1
= (wxFileType
*) 0 ;
15518 wxString
*arg2
= 0 ;
15519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15522 bool temp2
= false ;
15523 bool temp3
= false ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 PyObject
* obj2
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 arg2
= wxString_in_helper(obj1
);
15536 if (arg2
== NULL
) SWIG_fail
;
15541 arg3
= wxString_in_helper(obj2
);
15542 if (arg3
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
;
15576 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
= NULL
;
15578 wxFileType
*arg1
= (wxFileType
*) 0 ;
15579 wxString
*arg2
= 0 ;
15580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15583 bool temp2
= false ;
15584 bool temp3
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail
;
15596 arg2
= wxString_in_helper(obj1
);
15597 if (arg2
== NULL
) SWIG_fail
;
15602 arg3
= wxString_in_helper(obj2
);
15603 if (arg3
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
;
15637 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
= NULL
;
15639 wxFileType
*arg1
= (wxFileType
*) 0 ;
15640 wxString
*arg2
= 0 ;
15641 wxString
*arg3
= 0 ;
15642 bool arg4
= (bool) true ;
15644 bool temp2
= false ;
15645 bool temp3
= false ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 PyObject
* obj2
= 0 ;
15649 PyObject
* obj3
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 arg2
= wxString_in_helper(obj1
);
15659 if (arg2
== NULL
) SWIG_fail
;
15663 arg3
= wxString_in_helper(obj2
);
15664 if (arg3
== NULL
) SWIG_fail
;
15669 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15670 if (SWIG_arg_fail(4)) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15705 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= NULL
;
15707 wxFileType
*arg1
= (wxFileType
*) 0 ;
15708 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15709 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15710 int arg3
= (int) 0 ;
15712 bool temp2
= false ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 PyObject
* obj2
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self",(char *) "cmd",(char *) "index", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail
;
15725 arg2
= wxString_in_helper(obj1
);
15726 if (arg2
== NULL
) SWIG_fail
;
15732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15733 if (SWIG_arg_fail(3)) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15760 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= NULL
;
15762 wxFileType
*arg1
= (wxFileType
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15771 if (SWIG_arg_fail(1)) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)(arg1
)->Unassociate();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15788 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= NULL
;
15790 wxString
*arg1
= 0 ;
15791 wxString
*arg2
= 0 ;
15792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15795 bool temp1
= false ;
15796 bool temp2
= false ;
15797 bool temp3
= false ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 PyObject
* obj2
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15807 arg1
= wxString_in_helper(obj0
);
15808 if (arg1
== NULL
) SWIG_fail
;
15812 arg2
= wxString_in_helper(obj1
);
15813 if (arg2
== NULL
) SWIG_fail
;
15818 arg3
= wxString_in_helper(obj2
);
15819 if (arg3
== NULL
) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15867 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15870 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15872 return Py_BuildValue((char *)"");
15874 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15875 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15880 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15881 PyObject
*pyobj
= NULL
;
15883 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15888 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
= NULL
;
15890 wxString
*arg1
= 0 ;
15891 wxString
*arg2
= 0 ;
15893 bool temp1
= false ;
15894 bool temp2
= false ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "mimeType",(char *) "wildcard", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 arg1
= wxString_in_helper(obj0
);
15904 if (arg1
== NULL
) SWIG_fail
;
15908 arg2
= wxString_in_helper(obj1
);
15909 if (arg2
== NULL
) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15944 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= NULL
;
15946 wxMimeTypesManager
*result
;
15947 char *kwnames
[] = {
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15966 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
= NULL
;
15968 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15969 int arg2
= (int) wxMAILCAP_ALL
;
15970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15972 bool temp3
= false ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 PyObject
* obj2
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15985 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15986 if (SWIG_arg_fail(2)) SWIG_fail
;
15991 arg3
= wxString_in_helper(obj2
);
15992 if (arg3
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
= NULL
;
16020 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 (arg1
)->ClearData();
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
= NULL
;
16045 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16046 wxString
*arg2
= 0 ;
16047 wxFileType
*result
;
16048 bool temp2
= false ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "ext", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16057 if (SWIG_arg_fail(1)) SWIG_fail
;
16059 arg2
= wxString_in_helper(obj1
);
16060 if (arg2
== NULL
) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16085 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
= NULL
;
16087 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16088 wxString
*arg2
= 0 ;
16089 wxFileType
*result
;
16090 bool temp2
= false ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self",(char *) "mimeType", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16099 if (SWIG_arg_fail(1)) SWIG_fail
;
16101 arg2
= wxString_in_helper(obj1
);
16102 if (arg2
== NULL
) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16127 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
= NULL
;
16129 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16130 wxString
*arg2
= 0 ;
16131 bool arg3
= (bool) false ;
16133 bool temp2
= false ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 PyObject
* obj2
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16143 if (SWIG_arg_fail(1)) SWIG_fail
;
16145 arg2
= wxString_in_helper(obj1
);
16146 if (arg2
== NULL
) SWIG_fail
;
16151 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16152 if (SWIG_arg_fail(3)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= NULL
;
16181 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16182 wxString
*arg2
= 0 ;
16184 bool temp2
= false ;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self",(char *) "filename", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16193 if (SWIG_arg_fail(1)) SWIG_fail
;
16195 arg2
= wxString_in_helper(obj1
);
16196 if (arg2
== NULL
) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
= NULL
;
16225 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= result
;
16249 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
= NULL
;
16251 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16252 wxFileTypeInfo
*arg2
= 0 ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self",(char *) "ft", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16261 if (SWIG_arg_fail(1)) SWIG_fail
;
16263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(2)) SWIG_fail
;
16265 if (arg2
== NULL
) {
16266 SWIG_null_ref("wxFileTypeInfo");
16268 if (SWIG_arg_fail(2)) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
= NULL
;
16286 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16287 wxFileTypeInfo
*arg2
= 0 ;
16288 wxFileType
*result
;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "ftInfo", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail
;
16299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(2)) SWIG_fail
;
16301 if (arg2
== NULL
) {
16302 SWIG_null_ref("wxFileTypeInfo");
16304 if (SWIG_arg_fail(2)) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16320 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
= NULL
;
16322 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16323 wxFileType
*arg2
= (wxFileType
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "ft", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16333 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16335 if (SWIG_arg_fail(2)) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (bool)(arg1
)->Unassociate(arg2
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16352 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
= NULL
;
16354 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 Py_INCREF(Py_None
); resultobj
= Py_None
;
16377 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16380 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16382 return Py_BuildValue((char *)"");
16384 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16385 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16390 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16391 PyObject
*pyobj
= NULL
;
16395 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16397 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16404 static int _wrap_ART_MENU_set(PyObject
*) {
16405 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16410 static PyObject
*_wrap_ART_MENU_get(void) {
16411 PyObject
*pyobj
= NULL
;
16415 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16417 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16424 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16425 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16430 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16431 PyObject
*pyobj
= NULL
;
16435 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16437 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16444 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16445 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16450 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16451 PyObject
*pyobj
= NULL
;
16455 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16457 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16464 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16465 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16470 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16471 PyObject
*pyobj
= NULL
;
16475 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16477 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16484 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16485 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16490 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16491 PyObject
*pyobj
= NULL
;
16495 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16497 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16504 static int _wrap_ART_BUTTON_set(PyObject
*) {
16505 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16510 static PyObject
*_wrap_ART_BUTTON_get(void) {
16511 PyObject
*pyobj
= NULL
;
16515 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16517 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16524 static int _wrap_ART_OTHER_set(PyObject
*) {
16525 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16530 static PyObject
*_wrap_ART_OTHER_get(void) {
16531 PyObject
*pyobj
= NULL
;
16535 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16537 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16544 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16545 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16550 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16551 PyObject
*pyobj
= NULL
;
16555 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16557 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16564 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16565 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16570 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16571 PyObject
*pyobj
= NULL
;
16575 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16577 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16584 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16585 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16590 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16591 PyObject
*pyobj
= NULL
;
16595 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16597 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16604 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16605 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16610 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16611 PyObject
*pyobj
= NULL
;
16615 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16617 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16624 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16625 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16630 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16631 PyObject
*pyobj
= NULL
;
16635 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16637 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16644 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16645 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16650 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16651 PyObject
*pyobj
= NULL
;
16655 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16657 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16664 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16665 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16670 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16671 PyObject
*pyobj
= NULL
;
16675 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16677 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16684 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16685 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16690 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16691 PyObject
*pyobj
= NULL
;
16695 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16697 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16704 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16705 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16710 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16711 PyObject
*pyobj
= NULL
;
16715 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16717 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16724 static int _wrap_ART_GO_UP_set(PyObject
*) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16730 static PyObject
*_wrap_ART_GO_UP_get(void) {
16731 PyObject
*pyobj
= NULL
;
16735 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16737 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16744 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16745 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16750 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16751 PyObject
*pyobj
= NULL
;
16755 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16757 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16764 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16765 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16770 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16771 PyObject
*pyobj
= NULL
;
16775 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16777 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16784 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16785 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16790 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16791 PyObject
*pyobj
= NULL
;
16795 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16797 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16804 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16805 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16810 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16811 PyObject
*pyobj
= NULL
;
16815 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16817 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16824 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16825 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16830 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16831 PyObject
*pyobj
= NULL
;
16835 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16837 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16844 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16845 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16850 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16851 PyObject
*pyobj
= NULL
;
16855 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16857 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16864 static int _wrap_ART_PRINT_set(PyObject
*) {
16865 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16870 static PyObject
*_wrap_ART_PRINT_get(void) {
16871 PyObject
*pyobj
= NULL
;
16875 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16877 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16884 static int _wrap_ART_HELP_set(PyObject
*) {
16885 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16890 static PyObject
*_wrap_ART_HELP_get(void) {
16891 PyObject
*pyobj
= NULL
;
16895 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16897 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16904 static int _wrap_ART_TIP_set(PyObject
*) {
16905 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16910 static PyObject
*_wrap_ART_TIP_get(void) {
16911 PyObject
*pyobj
= NULL
;
16915 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16917 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16924 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16930 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16931 PyObject
*pyobj
= NULL
;
16935 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16937 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16944 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16945 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16950 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16951 PyObject
*pyobj
= NULL
;
16955 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16957 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16964 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16965 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16970 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16971 PyObject
*pyobj
= NULL
;
16975 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16977 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16984 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16985 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16990 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16991 PyObject
*pyobj
= NULL
;
16995 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16997 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17004 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17005 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17010 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17011 PyObject
*pyobj
= NULL
;
17015 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17017 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17024 static int _wrap_ART_CDROM_set(PyObject
*) {
17025 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17030 static PyObject
*_wrap_ART_CDROM_get(void) {
17031 PyObject
*pyobj
= NULL
;
17035 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17037 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17044 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17045 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17050 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17051 PyObject
*pyobj
= NULL
;
17055 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17057 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17064 static int _wrap_ART_FOLDER_set(PyObject
*) {
17065 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17070 static PyObject
*_wrap_ART_FOLDER_get(void) {
17071 PyObject
*pyobj
= NULL
;
17075 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17077 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17084 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17085 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17090 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17091 PyObject
*pyobj
= NULL
;
17095 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17097 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17104 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17105 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17110 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17111 PyObject
*pyobj
= NULL
;
17115 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17117 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17124 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17125 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17130 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17131 PyObject
*pyobj
= NULL
;
17135 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17137 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17144 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17145 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17150 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17151 PyObject
*pyobj
= NULL
;
17155 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17157 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17164 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17165 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17170 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17171 PyObject
*pyobj
= NULL
;
17175 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17177 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17184 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17185 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17190 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17191 PyObject
*pyobj
= NULL
;
17195 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17197 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17204 static int _wrap_ART_ERROR_set(PyObject
*) {
17205 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17210 static PyObject
*_wrap_ART_ERROR_get(void) {
17211 PyObject
*pyobj
= NULL
;
17215 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17217 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17224 static int _wrap_ART_QUESTION_set(PyObject
*) {
17225 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17230 static PyObject
*_wrap_ART_QUESTION_get(void) {
17231 PyObject
*pyobj
= NULL
;
17235 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17237 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17244 static int _wrap_ART_WARNING_set(PyObject
*) {
17245 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17250 static PyObject
*_wrap_ART_WARNING_get(void) {
17251 PyObject
*pyobj
= NULL
;
17255 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17257 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17264 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17265 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17270 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17271 PyObject
*pyobj
= NULL
;
17275 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17277 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17284 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17285 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17290 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17291 PyObject
*pyobj
= NULL
;
17295 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17297 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17304 static int _wrap_ART_COPY_set(PyObject
*) {
17305 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17310 static PyObject
*_wrap_ART_COPY_get(void) {
17311 PyObject
*pyobj
= NULL
;
17315 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17317 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17324 static int _wrap_ART_CUT_set(PyObject
*) {
17325 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17330 static PyObject
*_wrap_ART_CUT_get(void) {
17331 PyObject
*pyobj
= NULL
;
17335 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17337 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17344 static int _wrap_ART_PASTE_set(PyObject
*) {
17345 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17350 static PyObject
*_wrap_ART_PASTE_get(void) {
17351 PyObject
*pyobj
= NULL
;
17355 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17357 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17364 static int _wrap_ART_DELETE_set(PyObject
*) {
17365 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17370 static PyObject
*_wrap_ART_DELETE_get(void) {
17371 PyObject
*pyobj
= NULL
;
17375 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17377 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17384 static int _wrap_ART_NEW_set(PyObject
*) {
17385 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17390 static PyObject
*_wrap_ART_NEW_get(void) {
17391 PyObject
*pyobj
= NULL
;
17395 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17397 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17404 static int _wrap_ART_UNDO_set(PyObject
*) {
17405 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17410 static PyObject
*_wrap_ART_UNDO_get(void) {
17411 PyObject
*pyobj
= NULL
;
17415 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17417 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17424 static int _wrap_ART_REDO_set(PyObject
*) {
17425 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17430 static PyObject
*_wrap_ART_REDO_get(void) {
17431 PyObject
*pyobj
= NULL
;
17435 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17437 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17444 static int _wrap_ART_QUIT_set(PyObject
*) {
17445 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17450 static PyObject
*_wrap_ART_QUIT_get(void) {
17451 PyObject
*pyobj
= NULL
;
17455 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17457 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17464 static int _wrap_ART_FIND_set(PyObject
*) {
17465 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17470 static PyObject
*_wrap_ART_FIND_get(void) {
17471 PyObject
*pyobj
= NULL
;
17475 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17477 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17484 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17485 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17490 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17491 PyObject
*pyobj
= NULL
;
17495 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17497 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17504 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
= NULL
;
17506 wxPyArtProvider
*result
;
17507 char *kwnames
[] = {
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17513 if (!wxPyCheckForApp()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17527 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= NULL
;
17529 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17537 if (SWIG_arg_fail(1)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 Py_INCREF(Py_None
); resultobj
= Py_None
;
17552 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= NULL
;
17554 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17555 PyObject
*arg2
= (PyObject
*) 0 ;
17556 PyObject
*arg3
= (PyObject
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "self",(char *) "_class", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 Py_INCREF(Py_None
); resultobj
= Py_None
;
17583 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= NULL
;
17585 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17586 PyObject
* obj0
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "provider", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17593 if (SWIG_arg_fail(1)) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 wxPyArtProvider::PushProvider(arg1
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
= NULL
;
17611 char *kwnames
[] = {
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (bool)wxPyArtProvider::PopProvider();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17632 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
= NULL
;
17634 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "provider", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17643 if (SWIG_arg_fail(1)) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
= NULL
;
17662 wxString
*arg1
= 0 ;
17663 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17664 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17665 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17666 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17668 bool temp1
= false ;
17669 bool temp2
= false ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "id",(char *) "client",(char *) "size", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17680 arg1
= wxString_in_helper(obj0
);
17681 if (arg1
== NULL
) SWIG_fail
;
17686 arg2
= wxString_in_helper(obj1
);
17687 if (arg2
== NULL
) SWIG_fail
;
17694 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17698 if (!wxPyCheckForApp()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17706 wxBitmap
* resultptr
;
17707 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17732 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= NULL
;
17734 wxString
*arg1
= 0 ;
17735 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17736 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17737 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17738 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17740 bool temp1
= false ;
17741 bool temp2
= false ;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 PyObject
* obj2
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "id",(char *) "client",(char *) "size", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17752 arg1
= wxString_in_helper(obj0
);
17753 if (arg1
== NULL
) SWIG_fail
;
17758 arg2
= wxString_in_helper(obj1
);
17759 if (arg2
== NULL
) SWIG_fail
;
17766 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17770 if (!wxPyCheckForApp()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxIcon
* resultptr
;
17779 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17804 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
= NULL
;
17806 wxString
*arg1
= 0 ;
17807 bool arg2
= (bool) false ;
17809 bool temp1
= false ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "client",(char *) "platform_dependent", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17818 arg1
= wxString_in_helper(obj0
);
17819 if (arg1
== NULL
) SWIG_fail
;
17824 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17825 if (SWIG_arg_fail(2)) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 wxSize
* resultptr
;
17837 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17854 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= NULL
;
17856 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 wxPyArtProvider_Destroy(arg1
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 Py_INCREF(Py_None
); resultobj
= Py_None
;
17879 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17882 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17884 return Py_BuildValue((char *)"");
17886 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= NULL
;
17888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17889 PyObject
* obj0
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17911 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= NULL
;
17913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17914 wxConfigBase
*result
;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "config", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17937 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= NULL
;
17939 bool arg1
= (bool) true ;
17940 wxConfigBase
*result
;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "createOnDemand", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17949 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17967 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
= NULL
;
17969 wxConfigBase
*result
;
17970 char *kwnames
[] = {
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (wxConfigBase
*)wxConfigBase::Create();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17989 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= NULL
;
17991 char *kwnames
[] = {
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 wxConfigBase::DontCreateOnDemand();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 Py_INCREF(Py_None
); resultobj
= Py_None
;
18010 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
= NULL
;
18012 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18013 wxString
*arg2
= 0 ;
18014 bool temp2
= false ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "path", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18023 if (SWIG_arg_fail(1)) SWIG_fail
;
18025 arg2
= wxString_in_helper(obj1
);
18026 if (arg2
== NULL
) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 (arg1
)->SetPath((wxString
const &)*arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
= NULL
;
18053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18067 result
= (wxString
*) &_result_ref
;
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18077 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18086 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= NULL
;
18088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= result
;
18112 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= NULL
;
18114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "index", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18128 if (SWIG_arg_fail(2)) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
;
18144 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
= NULL
;
18146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= result
;
18170 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
= NULL
;
18172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "index", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18186 if (SWIG_arg_fail(2)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= result
;
18202 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= NULL
;
18204 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18205 bool arg2
= (bool) false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "recursive", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18218 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18219 if (SWIG_arg_fail(2)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18238 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
= NULL
;
18240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18241 bool arg2
= (bool) false ;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self",(char *) "recursive", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail
;
18254 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18255 if (SWIG_arg_fail(2)) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18274 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= NULL
;
18276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18277 wxString
*arg2
= 0 ;
18279 bool temp2
= false ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self",(char *) "name", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18290 arg2
= wxString_in_helper(obj1
);
18291 if (arg2
== NULL
) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18318 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
= NULL
;
18320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18321 wxString
*arg2
= 0 ;
18323 bool temp2
= false ;
18324 PyObject
* obj0
= 0 ;
18325 PyObject
* obj1
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self",(char *) "name", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 arg2
= wxString_in_helper(obj1
);
18335 if (arg2
== NULL
) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18362 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
= NULL
;
18364 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18365 wxString
*arg2
= 0 ;
18367 bool temp2
= false ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "name", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail
;
18378 arg2
= wxString_in_helper(obj1
);
18379 if (arg2
== NULL
) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18406 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= NULL
;
18408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18409 wxString
*arg2
= 0 ;
18410 wxConfigBase::EntryType result
;
18411 bool temp2
= false ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self",(char *) "name", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18420 if (SWIG_arg_fail(1)) SWIG_fail
;
18422 arg2
= wxString_in_helper(obj1
);
18423 if (arg2
== NULL
) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_From_int((result
));
18448 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
= NULL
;
18450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18451 wxString
*arg2
= 0 ;
18452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18455 bool temp2
= false ;
18456 bool temp3
= false ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 arg2
= wxString_in_helper(obj1
);
18469 if (arg2
== NULL
) SWIG_fail
;
18474 arg3
= wxString_in_helper(obj2
);
18475 if (arg3
== NULL
) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18515 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= NULL
;
18517 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18518 wxString
*arg2
= 0 ;
18519 long arg3
= (long) 0 ;
18521 bool temp2
= false ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 PyObject
* obj2
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18533 arg2
= wxString_in_helper(obj1
);
18534 if (arg2
== NULL
) SWIG_fail
;
18539 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18540 if (SWIG_arg_fail(3)) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_From_long(static_cast<long >(result
));
18567 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
= NULL
;
18569 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18570 wxString
*arg2
= 0 ;
18571 double arg3
= (double) 0.0 ;
18573 bool temp2
= false ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail
;
18585 arg2
= wxString_in_helper(obj1
);
18586 if (arg2
== NULL
) SWIG_fail
;
18591 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18592 if (SWIG_arg_fail(3)) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_double(static_cast<double >(result
));
18619 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= NULL
;
18621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18622 wxString
*arg2
= 0 ;
18623 bool arg3
= (bool) false ;
18625 bool temp2
= false ;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 PyObject
* obj2
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 arg2
= wxString_in_helper(obj1
);
18638 if (arg2
== NULL
) SWIG_fail
;
18643 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18644 if (SWIG_arg_fail(3)) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18671 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
= NULL
;
18673 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18674 wxString
*arg2
= 0 ;
18675 wxString
*arg3
= 0 ;
18677 bool temp2
= false ;
18678 bool temp3
= false ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 PyObject
* obj2
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self",(char *) "key",(char *) "value", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18688 if (SWIG_arg_fail(1)) SWIG_fail
;
18690 arg2
= wxString_in_helper(obj1
);
18691 if (arg2
== NULL
) SWIG_fail
;
18695 arg3
= wxString_in_helper(obj2
);
18696 if (arg3
== NULL
) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18731 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
= NULL
;
18733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18734 wxString
*arg2
= 0 ;
18737 bool temp2
= false ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 PyObject
* obj2
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self",(char *) "key",(char *) "value", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(1)) SWIG_fail
;
18749 arg2
= wxString_in_helper(obj1
);
18750 if (arg2
== NULL
) SWIG_fail
;
18754 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18755 if (SWIG_arg_fail(3)) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18781 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
= NULL
;
18783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18784 wxString
*arg2
= 0 ;
18787 bool temp2
= false ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 PyObject
* obj2
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "key",(char *) "value", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail
;
18799 arg2
= wxString_in_helper(obj1
);
18800 if (arg2
== NULL
) SWIG_fail
;
18804 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18805 if (SWIG_arg_fail(3)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18831 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= NULL
;
18833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18834 wxString
*arg2
= 0 ;
18837 bool temp2
= false ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self",(char *) "key",(char *) "value", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 arg2
= wxString_in_helper(obj1
);
18850 if (arg2
== NULL
) SWIG_fail
;
18854 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18855 if (SWIG_arg_fail(3)) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18881 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= NULL
;
18883 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18884 bool arg2
= (bool) false ;
18886 PyObject
* obj0
= 0 ;
18887 PyObject
* obj1
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self",(char *) "currentOnly", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18894 if (SWIG_arg_fail(1)) SWIG_fail
;
18897 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18898 if (SWIG_arg_fail(2)) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)(arg1
)->Flush(arg2
);
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
= NULL
;
18919 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18920 wxString
*arg2
= 0 ;
18921 wxString
*arg3
= 0 ;
18923 bool temp2
= false ;
18924 bool temp3
= false ;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 PyObject
* obj2
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail
;
18936 arg2
= wxString_in_helper(obj1
);
18937 if (arg2
== NULL
) SWIG_fail
;
18941 arg3
= wxString_in_helper(obj2
);
18942 if (arg3
== NULL
) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= NULL
;
18979 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18980 wxString
*arg2
= 0 ;
18981 wxString
*arg3
= 0 ;
18983 bool temp2
= false ;
18984 bool temp3
= false ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 PyObject
* obj2
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18994 if (SWIG_arg_fail(1)) SWIG_fail
;
18996 arg2
= wxString_in_helper(obj1
);
18997 if (arg2
== NULL
) SWIG_fail
;
19001 arg3
= wxString_in_helper(obj2
);
19002 if (arg3
== NULL
) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19037 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
= NULL
;
19039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19040 wxString
*arg2
= 0 ;
19041 bool arg3
= (bool) true ;
19043 bool temp2
= false ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail
;
19055 arg2
= wxString_in_helper(obj1
);
19056 if (arg2
== NULL
) SWIG_fail
;
19061 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19062 if (SWIG_arg_fail(3)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19089 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= NULL
;
19091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19092 wxString
*arg2
= 0 ;
19094 bool temp2
= false ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "key", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= wxString_in_helper(obj1
);
19106 if (arg2
== NULL
) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19133 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= NULL
;
19135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19144 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (bool)(arg1
)->DeleteAll();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19161 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
= NULL
;
19163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19164 bool arg2
= (bool) true ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self",(char *) "doIt", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail
;
19176 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19177 if (SWIG_arg_fail(2)) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->SetExpandEnvVars(arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= NULL
;
19196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19222 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= NULL
;
19224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19225 bool arg2
= (bool) true ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self",(char *) "doIt", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19234 if (SWIG_arg_fail(1)) SWIG_fail
;
19237 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19238 if (SWIG_arg_fail(2)) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 (arg1
)->SetRecordDefaults(arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 Py_INCREF(Py_None
); resultobj
= Py_None
;
19255 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= NULL
;
19257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19283 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
= NULL
;
19285 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19286 wxString
*arg2
= 0 ;
19288 bool temp2
= false ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "str", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19297 if (SWIG_arg_fail(1)) SWIG_fail
;
19299 arg2
= wxString_in_helper(obj1
);
19300 if (arg2
== NULL
) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19331 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
= NULL
;
19333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19363 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
= NULL
;
19365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19395 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
= NULL
;
19397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19398 wxString
*arg2
= 0 ;
19399 bool temp2
= false ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "appName", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 arg2
= wxString_in_helper(obj1
);
19411 if (arg2
== NULL
) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 (arg1
)->SetAppName((wxString
const &)*arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
= NULL
;
19438 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19439 wxString
*arg2
= 0 ;
19440 bool temp2
= false ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "vendorName", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19449 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 arg2
= wxString_in_helper(obj1
);
19452 if (arg2
== NULL
) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 Py_INCREF(Py_None
); resultobj
= Py_None
;
19477 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
= NULL
;
19479 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "style", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19489 if (SWIG_arg_fail(1)) SWIG_fail
;
19491 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19492 if (SWIG_arg_fail(2)) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->SetStyle(arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 Py_INCREF(Py_None
); resultobj
= Py_None
;
19508 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
= NULL
;
19510 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19519 if (SWIG_arg_fail(1)) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_From_long(static_cast<long >(result
));
19536 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19539 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19541 return Py_BuildValue((char *)"");
19543 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= NULL
;
19545 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19546 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19547 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19548 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19549 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19550 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19553 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19555 bool temp1
= false ;
19556 bool temp2
= false ;
19557 bool temp3
= false ;
19558 bool temp4
= false ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 PyObject
* obj2
= 0 ;
19562 PyObject
* obj3
= 0 ;
19563 PyObject
* obj4
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19571 arg1
= wxString_in_helper(obj0
);
19572 if (arg1
== NULL
) SWIG_fail
;
19578 arg2
= wxString_in_helper(obj1
);
19579 if (arg2
== NULL
) SWIG_fail
;
19585 arg3
= wxString_in_helper(obj2
);
19586 if (arg3
== NULL
) SWIG_fail
;
19592 arg4
= wxString_in_helper(obj3
);
19593 if (arg4
== NULL
) SWIG_fail
;
19599 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19600 if (SWIG_arg_fail(5)) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19649 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
= NULL
;
19651 wxConfig
*arg1
= (wxConfig
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 Py_INCREF(Py_None
); resultobj
= Py_None
;
19674 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19679 return Py_BuildValue((char *)"");
19681 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
= NULL
;
19683 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19684 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19685 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19686 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19687 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19689 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19690 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19691 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19692 wxFileConfig
*result
;
19693 bool temp1
= false ;
19694 bool temp2
= false ;
19695 bool temp3
= false ;
19696 bool temp4
= false ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 PyObject
* obj2
= 0 ;
19700 PyObject
* obj3
= 0 ;
19701 PyObject
* obj4
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19709 arg1
= wxString_in_helper(obj0
);
19710 if (arg1
== NULL
) SWIG_fail
;
19716 arg2
= wxString_in_helper(obj1
);
19717 if (arg2
== NULL
) SWIG_fail
;
19723 arg3
= wxString_in_helper(obj2
);
19724 if (arg3
== NULL
) SWIG_fail
;
19730 arg4
= wxString_in_helper(obj3
);
19731 if (arg4
== NULL
) SWIG_fail
;
19737 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19738 if (SWIG_arg_fail(5)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19787 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= NULL
;
19789 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19797 if (SWIG_arg_fail(1)) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19815 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19817 return Py_BuildValue((char *)"");
19819 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= NULL
;
19821 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19822 wxString
*arg2
= 0 ;
19823 wxConfigPathChanger
*result
;
19824 bool temp2
= false ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "config",(char *) "entry", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail
;
19835 arg2
= wxString_in_helper(obj1
);
19836 if (arg2
== NULL
) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19861 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= NULL
;
19863 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
= NULL
;
19888 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19902 result
= (wxString
*) &_result_ref
;
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19921 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19924 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19926 return Py_BuildValue((char *)"");
19928 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= NULL
;
19930 wxString
*arg1
= 0 ;
19932 bool temp1
= false ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "sz", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19940 arg1
= wxString_in_helper(obj0
);
19941 if (arg1
== NULL
) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19972 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19973 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19978 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19979 PyObject
*pyobj
= NULL
;
19983 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19985 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19992 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19993 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19998 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19999 PyObject
*pyobj
= NULL
;
20003 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20005 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20012 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= NULL
;
20014 wxDateTime::Country arg1
;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "country", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20022 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20023 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 wxDateTime::SetCountry(arg1
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= NULL
;
20041 wxDateTime::Country result
;
20042 char *kwnames
[] = {
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_From_int((result
));
20061 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= NULL
;
20063 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "country", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20073 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20093 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
= NULL
;
20095 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "cal", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20105 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= SWIG_From_int(static_cast<int >(result
));
20125 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
= NULL
;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "year", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20136 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= SWIG_From_int(static_cast<int >(result
));
20155 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= NULL
;
20157 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20158 wxDateTime::Month result
;
20159 PyObject
* obj0
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "cal", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20167 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20168 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= SWIG_From_int((result
));
20185 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
= NULL
;
20187 int arg1
= (int) wxDateTime::Inv_Year
;
20188 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "year",(char *) "cal", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20199 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20200 if (SWIG_arg_fail(1)) SWIG_fail
;
20205 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20206 if (SWIG_arg_fail(2)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20225 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= NULL
;
20227 int arg1
= (int) wxDateTime::Inv_Year
;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "year", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20237 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20238 if (SWIG_arg_fail(1)) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (int)wxDateTime::GetCentury(arg1
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= SWIG_From_int(static_cast<int >(result
));
20257 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= NULL
;
20260 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "year",(char *) "cal", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20270 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20271 if (SWIG_arg_fail(1)) SWIG_fail
;
20275 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20276 if (SWIG_arg_fail(2)) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_From_int(static_cast<int >(result
));
20295 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
= NULL
;
20297 wxDateTime::Month arg1
;
20298 int arg2
= (int) wxDateTime::Inv_Year
;
20299 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20301 PyObject
* obj0
= 0 ;
20302 PyObject
* obj1
= 0 ;
20303 PyObject
* obj2
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "month",(char *) "year",(char *) "cal", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20310 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20311 if (SWIG_arg_fail(1)) SWIG_fail
;
20315 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20316 if (SWIG_arg_fail(2)) SWIG_fail
;
20321 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20322 if (SWIG_arg_fail(3)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_From_int(static_cast<int >(result
));
20341 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= NULL
;
20343 wxDateTime::Month arg1
;
20344 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "month",(char *) "flags", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20354 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20355 if (SWIG_arg_fail(1)) SWIG_fail
;
20359 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20360 if (SWIG_arg_fail(2)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20383 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
= NULL
;
20385 wxDateTime::WeekDay arg1
;
20386 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "weekday",(char *) "flags", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20402 if (SWIG_arg_fail(2)) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20425 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= NULL
;
20428 char *kwnames
[] = {
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= result
;
20447 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= NULL
;
20449 int arg1
= (int) wxDateTime::Inv_Year
;
20450 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "year",(char *) "country", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20461 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20462 if (SWIG_arg_fail(1)) SWIG_fail
;
20467 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20468 if (SWIG_arg_fail(2)) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20487 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
= NULL
;
20489 int arg1
= (int) wxDateTime::Inv_Year
;
20490 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "year",(char *) "country", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20507 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20508 if (SWIG_arg_fail(2)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20519 wxDateTime
* resultptr
;
20520 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20529 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
= NULL
;
20531 int arg1
= (int) wxDateTime::Inv_Year
;
20532 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "year",(char *) "country", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20543 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20549 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20550 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 wxDateTime
* resultptr
;
20562 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20571 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= NULL
;
20574 char *kwnames
[] = {
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= wxDateTime::Now();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 wxDateTime
* resultptr
;
20588 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20597 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= NULL
;
20600 char *kwnames
[] = {
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= wxDateTime::UNow();
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20613 wxDateTime
* resultptr
;
20614 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20623 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
= NULL
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= wxDateTime::Today();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 wxDateTime
* resultptr
;
20640 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20649 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
= NULL
;
20651 wxDateTime
*result
;
20652 char *kwnames
[] = {
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (wxDateTime
*)new wxDateTime();
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20671 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
= NULL
;
20674 wxDateTime
*result
;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "timet", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20682 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (wxDateTime
*)new wxDateTime(arg1
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20699 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= NULL
;
20702 wxDateTime
*result
;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "jdn", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20710 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20711 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (wxDateTime
*)new wxDateTime(arg1
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20727 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
= NULL
;
20730 int arg2
= (int) 0 ;
20731 int arg3
= (int) 0 ;
20732 int arg4
= (int) 0 ;
20733 wxDateTime
*result
;
20734 PyObject
* obj0
= 0 ;
20735 PyObject
* obj1
= 0 ;
20736 PyObject
* obj2
= 0 ;
20737 PyObject
* obj3
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20744 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20745 if (SWIG_arg_fail(1)) SWIG_fail
;
20749 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20750 if (SWIG_arg_fail(2)) SWIG_fail
;
20755 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20756 if (SWIG_arg_fail(3)) SWIG_fail
;
20761 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20762 if (SWIG_arg_fail(4)) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20779 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= NULL
;
20782 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20783 int arg3
= (int) wxDateTime::Inv_Year
;
20784 int arg4
= (int) 0 ;
20785 int arg5
= (int) 0 ;
20786 int arg6
= (int) 0 ;
20787 int arg7
= (int) 0 ;
20788 wxDateTime
*result
;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 PyObject
* obj2
= 0 ;
20792 PyObject
* obj3
= 0 ;
20793 PyObject
* obj4
= 0 ;
20794 PyObject
* obj5
= 0 ;
20795 PyObject
* obj6
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20802 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20803 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20808 if (SWIG_arg_fail(2)) SWIG_fail
;
20813 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20814 if (SWIG_arg_fail(3)) SWIG_fail
;
20819 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20820 if (SWIG_arg_fail(4)) SWIG_fail
;
20825 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20826 if (SWIG_arg_fail(5)) SWIG_fail
;
20831 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20832 if (SWIG_arg_fail(6)) SWIG_fail
;
20837 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20838 if (SWIG_arg_fail(7)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20855 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
= NULL
;
20857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 Py_INCREF(Py_None
); resultobj
= Py_None
;
20880 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= NULL
;
20882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20883 wxDateTime
*result
;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20896 result
= (wxDateTime
*) &_result_ref
;
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20909 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= NULL
;
20911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20913 wxDateTime
*result
;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "timet", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20924 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20925 if (SWIG_arg_fail(2)) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20931 result
= (wxDateTime
*) &_result_ref
;
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20944 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
= NULL
;
20946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20948 wxDateTime
*result
;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "jdn", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail
;
20959 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20960 if (SWIG_arg_fail(2)) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20966 result
= (wxDateTime
*) &_result_ref
;
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20979 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
= NULL
;
20981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20983 int arg3
= (int) 0 ;
20984 int arg4
= (int) 0 ;
20985 int arg5
= (int) 0 ;
20986 wxDateTime
*result
;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 PyObject
* obj2
= 0 ;
20990 PyObject
* obj3
= 0 ;
20991 PyObject
* obj4
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20998 if (SWIG_arg_fail(1)) SWIG_fail
;
21000 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21001 if (SWIG_arg_fail(2)) SWIG_fail
;
21005 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21006 if (SWIG_arg_fail(3)) SWIG_fail
;
21011 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21012 if (SWIG_arg_fail(4)) SWIG_fail
;
21017 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21018 if (SWIG_arg_fail(5)) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21025 result
= (wxDateTime
*) &_result_ref
;
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21038 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= NULL
;
21040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21042 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21043 int arg4
= (int) wxDateTime::Inv_Year
;
21044 int arg5
= (int) 0 ;
21045 int arg6
= (int) 0 ;
21046 int arg7
= (int) 0 ;
21047 int arg8
= (int) 0 ;
21048 wxDateTime
*result
;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 PyObject
* obj2
= 0 ;
21052 PyObject
* obj3
= 0 ;
21053 PyObject
* obj4
= 0 ;
21054 PyObject
* obj5
= 0 ;
21055 PyObject
* obj6
= 0 ;
21056 PyObject
* obj7
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail
;
21065 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21066 if (SWIG_arg_fail(2)) SWIG_fail
;
21070 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21071 if (SWIG_arg_fail(3)) SWIG_fail
;
21076 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21077 if (SWIG_arg_fail(4)) SWIG_fail
;
21082 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21083 if (SWIG_arg_fail(5)) SWIG_fail
;
21088 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21089 if (SWIG_arg_fail(6)) SWIG_fail
;
21094 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21095 if (SWIG_arg_fail(7)) SWIG_fail
;
21100 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21101 if (SWIG_arg_fail(8)) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21108 result
= (wxDateTime
*) &_result_ref
;
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21121 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
= NULL
;
21123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21124 wxDateTime
*result
;
21125 PyObject
* obj0
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21137 result
= (wxDateTime
*) &_result_ref
;
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21150 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
= NULL
;
21152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21154 wxDateTime
*result
;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "year", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21165 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21166 if (SWIG_arg_fail(2)) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21172 result
= (wxDateTime
*) &_result_ref
;
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21185 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
= NULL
;
21187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21188 wxDateTime::Month arg2
;
21189 wxDateTime
*result
;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self",(char *) "month", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21198 if (SWIG_arg_fail(1)) SWIG_fail
;
21200 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21201 if (SWIG_arg_fail(2)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21207 result
= (wxDateTime
*) &_result_ref
;
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21220 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= NULL
;
21222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21224 wxDateTime
*result
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "day", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21233 if (SWIG_arg_fail(1)) SWIG_fail
;
21235 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21236 if (SWIG_arg_fail(2)) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21242 result
= (wxDateTime
*) &_result_ref
;
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21255 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= NULL
;
21257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21259 wxDateTime
*result
;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "hour", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail
;
21270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21271 if (SWIG_arg_fail(2)) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21277 result
= (wxDateTime
*) &_result_ref
;
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21290 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
= NULL
;
21292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21294 wxDateTime
*result
;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "minute", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21303 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21306 if (SWIG_arg_fail(2)) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21312 result
= (wxDateTime
*) &_result_ref
;
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21325 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
= NULL
;
21327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21329 wxDateTime
*result
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "second", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21341 if (SWIG_arg_fail(2)) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21347 result
= (wxDateTime
*) &_result_ref
;
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21360 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
= NULL
;
21362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21364 wxDateTime
*result
;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "millisecond", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail
;
21375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21376 if (SWIG_arg_fail(2)) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21382 result
= (wxDateTime
*) &_result_ref
;
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21395 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= NULL
;
21397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21398 wxDateTime::WeekDay arg2
;
21399 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21400 wxDateTime
*result
;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 PyObject
* obj2
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail
;
21412 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21413 if (SWIG_arg_fail(2)) SWIG_fail
;
21417 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21418 if (SWIG_arg_fail(3)) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21425 result
= (wxDateTime
*) &_result_ref
;
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21438 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= NULL
;
21440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21441 wxDateTime::WeekDay arg2
;
21442 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21456 if (SWIG_arg_fail(2)) SWIG_fail
;
21460 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21461 if (SWIG_arg_fail(3)) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 wxDateTime
* resultptr
;
21473 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21482 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
= NULL
;
21484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21485 wxDateTime::WeekDay arg2
;
21486 wxDateTime
*result
;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "weekday", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21498 if (SWIG_arg_fail(2)) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21504 result
= (wxDateTime
*) &_result_ref
;
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21517 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= NULL
;
21519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21520 wxDateTime::WeekDay arg2
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "weekday", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21533 if (SWIG_arg_fail(2)) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (arg1
)->GetNextWeekDay(arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 wxDateTime
* resultptr
;
21544 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21553 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
= NULL
;
21555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21556 wxDateTime::WeekDay arg2
;
21557 wxDateTime
*result
;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self",(char *) "weekday", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail
;
21568 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21569 if (SWIG_arg_fail(2)) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21575 result
= (wxDateTime
*) &_result_ref
;
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21588 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
= NULL
;
21590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21591 wxDateTime::WeekDay arg2
;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self",(char *) "weekday", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail
;
21603 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21604 if (SWIG_arg_fail(2)) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (arg1
)->GetPrevWeekDay(arg2
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 wxDateTime
* resultptr
;
21615 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21624 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
= NULL
;
21626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21627 wxDateTime::WeekDay arg2
;
21628 int arg3
= (int) 1 ;
21629 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21630 int arg5
= (int) wxDateTime::Inv_Year
;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 PyObject
* obj2
= 0 ;
21635 PyObject
* obj3
= 0 ;
21636 PyObject
* obj4
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21643 if (SWIG_arg_fail(1)) SWIG_fail
;
21645 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21646 if (SWIG_arg_fail(2)) SWIG_fail
;
21650 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21651 if (SWIG_arg_fail(3)) SWIG_fail
;
21656 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21657 if (SWIG_arg_fail(4)) SWIG_fail
;
21662 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21663 if (SWIG_arg_fail(5)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21682 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
= NULL
;
21684 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21685 wxDateTime::WeekDay arg2
;
21686 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21687 int arg4
= (int) wxDateTime::Inv_Year
;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 PyObject
* obj2
= 0 ;
21692 PyObject
* obj3
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21702 if (SWIG_arg_fail(2)) SWIG_fail
;
21706 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21707 if (SWIG_arg_fail(3)) SWIG_fail
;
21712 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21713 if (SWIG_arg_fail(4)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21732 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
= NULL
;
21734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21735 wxDateTime::WeekDay arg2
;
21736 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21737 int arg4
= (int) wxDateTime::Inv_Year
;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 PyObject
* obj2
= 0 ;
21742 PyObject
* obj3
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail
;
21751 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21752 if (SWIG_arg_fail(2)) SWIG_fail
;
21756 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21757 if (SWIG_arg_fail(3)) SWIG_fail
;
21762 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21763 if (SWIG_arg_fail(4)) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 wxDateTime
* resultptr
;
21775 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21784 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
= NULL
;
21786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21788 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21789 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 PyObject
* obj2
= 0 ;
21794 PyObject
* obj3
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail
;
21803 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21804 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21809 if (SWIG_arg_fail(3)) SWIG_fail
;
21814 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21815 if (SWIG_arg_fail(4)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21834 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= NULL
;
21836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21838 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21839 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 PyObject
* obj3
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21851 if (SWIG_arg_fail(1)) SWIG_fail
;
21853 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21854 if (SWIG_arg_fail(2)) SWIG_fail
;
21858 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21859 if (SWIG_arg_fail(3)) SWIG_fail
;
21864 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21865 if (SWIG_arg_fail(4)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 wxDateTime
* resultptr
;
21877 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21886 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= NULL
;
21890 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21901 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21902 if (SWIG_arg_fail(1)) SWIG_fail
;
21905 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21906 if (SWIG_arg_fail(2)) SWIG_fail
;
21910 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21911 if (SWIG_arg_fail(3)) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 wxDateTime
* resultptr
;
21923 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21932 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= NULL
;
21934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21935 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21936 int arg3
= (int) wxDateTime::Inv_Year
;
21937 wxDateTime
*result
;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "month",(char *) "year", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21951 if (SWIG_arg_fail(2)) SWIG_fail
;
21956 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21957 if (SWIG_arg_fail(3)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21964 result
= (wxDateTime
*) &_result_ref
;
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21977 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
= NULL
;
21979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21980 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21981 int arg3
= (int) wxDateTime::Inv_Year
;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "month",(char *) "year", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21995 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21996 if (SWIG_arg_fail(2)) SWIG_fail
;
22001 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22002 if (SWIG_arg_fail(3)) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 wxDateTime
* resultptr
;
22014 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22023 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
= NULL
;
22025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22027 wxDateTime
*result
;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "yday", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22045 result
= (wxDateTime
*) &_result_ref
;
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22058 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
= NULL
;
22060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "yday", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22073 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22074 if (SWIG_arg_fail(2)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (arg1
)->GetYearDay(arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 wxDateTime
* resultptr
;
22085 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22094 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
= NULL
;
22096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (double)(arg1
)->GetJulianDayNumber();
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_From_double(static_cast<double >(result
));
22122 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= NULL
;
22124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (double)(arg1
)->GetJDN();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_From_double(static_cast<double >(result
));
22150 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
= NULL
;
22152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_From_double(static_cast<double >(result
));
22178 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= NULL
;
22180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (double)(arg1
)->GetMJD();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_From_double(static_cast<double >(result
));
22206 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
= NULL
;
22208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (double)(arg1
)->GetRataDie();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_From_double(static_cast<double >(result
));
22234 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
= NULL
;
22236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22237 wxDateTime::TimeZone
*arg2
= 0 ;
22238 bool arg3
= (bool) false ;
22240 bool temp2
= false ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22252 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22257 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22258 if (SWIG_arg_fail(3)) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 wxDateTime
* resultptr
;
22270 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22274 if (temp2
) delete arg2
;
22279 if (temp2
) delete arg2
;
22285 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= NULL
;
22287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22288 wxDateTime::TimeZone
*arg2
= 0 ;
22289 bool arg3
= (bool) false ;
22290 wxDateTime
*result
;
22291 bool temp2
= false ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 PyObject
* obj2
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22308 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22309 if (SWIG_arg_fail(3)) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22316 result
= (wxDateTime
*) &_result_ref
;
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22324 if (temp2
) delete arg2
;
22329 if (temp2
) delete arg2
;
22335 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= NULL
;
22337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22338 wxDateTime::TimeZone
*arg2
= 0 ;
22339 bool arg3
= (bool) false ;
22341 bool temp2
= false ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 PyObject
* obj2
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22358 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22359 if (SWIG_arg_fail(3)) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 wxDateTime
* resultptr
;
22371 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22375 if (temp2
) delete arg2
;
22380 if (temp2
) delete arg2
;
22386 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
= NULL
;
22388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22389 wxDateTime::TimeZone
*arg2
= 0 ;
22390 bool arg3
= (bool) false ;
22391 wxDateTime
*result
;
22392 bool temp2
= false ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 PyObject
* obj2
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(1)) SWIG_fail
;
22404 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22409 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22410 if (SWIG_arg_fail(3)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22417 result
= (wxDateTime
*) &_result_ref
;
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22425 if (temp2
) delete arg2
;
22430 if (temp2
) delete arg2
;
22436 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
= NULL
;
22438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22439 bool arg2
= (bool) false ;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "noDST", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22449 if (SWIG_arg_fail(1)) SWIG_fail
;
22452 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22453 if (SWIG_arg_fail(2)) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 wxDateTime
* resultptr
;
22465 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22474 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= NULL
;
22476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22477 bool arg2
= (bool) false ;
22478 wxDateTime
*result
;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "noDST", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22487 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22491 if (SWIG_arg_fail(2)) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22498 result
= (wxDateTime
*) &_result_ref
;
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22511 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
= NULL
;
22513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22514 bool arg2
= (bool) false ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "noDST", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22524 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 wxDateTime
* resultptr
;
22540 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22549 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
= NULL
;
22551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22552 bool arg2
= (bool) false ;
22553 wxDateTime
*result
;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self",(char *) "noDST", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22566 if (SWIG_arg_fail(2)) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22573 result
= (wxDateTime
*) &_result_ref
;
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22586 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
= NULL
;
22588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22589 bool arg2
= (bool) false ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "noDST", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail
;
22602 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22603 if (SWIG_arg_fail(2)) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxDateTime
* resultptr
;
22615 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22624 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
= NULL
;
22626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22627 bool arg2
= (bool) false ;
22628 wxDateTime
*result
;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self",(char *) "noDST", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22637 if (SWIG_arg_fail(1)) SWIG_fail
;
22640 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22641 if (SWIG_arg_fail(2)) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22648 result
= (wxDateTime
*) &_result_ref
;
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22661 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
= NULL
;
22663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22664 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "country", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22678 if (SWIG_arg_fail(2)) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (int)(arg1
)->IsDST(arg2
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_From_int(static_cast<int >(result
));
22697 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= NULL
;
22699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22708 if (SWIG_arg_fail(1)) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22725 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
= NULL
;
22727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22753 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= NULL
;
22755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22756 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22757 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22759 bool temp2
= false ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "tz", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_From_int(static_cast<int >(result
));
22786 if (temp2
) delete arg2
;
22791 if (temp2
) delete arg2
;
22797 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
= NULL
;
22799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22800 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22801 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22802 wxDateTime::Month result
;
22803 bool temp2
= false ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "tz", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22815 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_From_int((result
));
22828 if (temp2
) delete arg2
;
22833 if (temp2
) delete arg2
;
22839 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
= NULL
;
22841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22842 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22843 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22845 bool temp2
= false ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self",(char *) "tz", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail
;
22857 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_From_int(static_cast<int >(result
));
22872 if (temp2
) delete arg2
;
22877 if (temp2
) delete arg2
;
22883 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= NULL
;
22885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22886 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22887 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22888 wxDateTime::WeekDay result
;
22889 bool temp2
= false ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "tz", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_From_int((result
));
22914 if (temp2
) delete arg2
;
22919 if (temp2
) delete arg2
;
22925 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
= NULL
;
22927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22928 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22929 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22931 bool temp2
= false ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self",(char *) "tz", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22943 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_From_int(static_cast<int >(result
));
22958 if (temp2
) delete arg2
;
22963 if (temp2
) delete arg2
;
22969 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
= NULL
;
22971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22972 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22973 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22975 bool temp2
= false ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "tz", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_From_int(static_cast<int >(result
));
23002 if (temp2
) delete arg2
;
23007 if (temp2
) delete arg2
;
23013 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
= NULL
;
23015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23016 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23017 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23019 bool temp2
= false ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "tz", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23031 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_From_int(static_cast<int >(result
));
23046 if (temp2
) delete arg2
;
23051 if (temp2
) delete arg2
;
23057 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
= NULL
;
23059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23060 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23061 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23063 bool temp2
= false ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "tz", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_From_int(static_cast<int >(result
));
23090 if (temp2
) delete arg2
;
23095 if (temp2
) delete arg2
;
23101 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
= NULL
;
23103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23104 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23105 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23107 bool temp2
= false ;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self",(char *) "tz", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23116 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_From_int(static_cast<int >(result
));
23134 if (temp2
) delete arg2
;
23139 if (temp2
) delete arg2
;
23145 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= NULL
;
23147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23148 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23149 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23150 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23152 bool temp3
= false ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 PyObject
* obj2
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self",(char *) "flags",(char *) "tz", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail
;
23165 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23166 if (SWIG_arg_fail(2)) SWIG_fail
;
23171 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_From_int(static_cast<int >(result
));
23186 if (temp3
) delete arg3
;
23191 if (temp3
) delete arg3
;
23197 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
= NULL
;
23199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23200 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23201 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23202 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23204 bool temp3
= false ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "flags",(char *) "tz", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23217 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23218 if (SWIG_arg_fail(2)) SWIG_fail
;
23223 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_From_int(static_cast<int >(result
));
23238 if (temp3
) delete arg3
;
23243 if (temp3
) delete arg3
;
23249 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
= NULL
;
23251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23252 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "country", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23266 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23285 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= NULL
;
23287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23288 wxDateTime
*arg2
= 0 ;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "datetime", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail
;
23300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23301 if (SWIG_arg_fail(2)) SWIG_fail
;
23302 if (arg2
== NULL
) {
23303 SWIG_null_ref("wxDateTime");
23305 if (SWIG_arg_fail(2)) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23323 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
= NULL
;
23325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23326 wxDateTime
*arg2
= 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "datetime", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail
;
23338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(2)) SWIG_fail
;
23340 if (arg2
== NULL
) {
23341 SWIG_null_ref("wxDateTime");
23343 if (SWIG_arg_fail(2)) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23361 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
= NULL
;
23363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23364 wxDateTime
*arg2
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "datetime", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(2)) SWIG_fail
;
23378 if (arg2
== NULL
) {
23379 SWIG_null_ref("wxDateTime");
23381 if (SWIG_arg_fail(2)) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23399 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
= NULL
;
23401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23402 wxDateTime
*arg2
= 0 ;
23403 wxDateTime
*arg3
= 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 PyObject
* obj2
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "t1",(char *) "t2", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail
;
23416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23417 if (SWIG_arg_fail(2)) SWIG_fail
;
23418 if (arg2
== NULL
) {
23419 SWIG_null_ref("wxDateTime");
23421 if (SWIG_arg_fail(2)) SWIG_fail
;
23424 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(3)) SWIG_fail
;
23426 if (arg3
== NULL
) {
23427 SWIG_null_ref("wxDateTime");
23429 if (SWIG_arg_fail(3)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
= NULL
;
23449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23450 wxDateTime
*arg2
= 0 ;
23451 wxDateTime
*arg3
= 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 PyObject
* obj2
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "t1",(char *) "t2", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail
;
23464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23465 if (SWIG_arg_fail(2)) SWIG_fail
;
23466 if (arg2
== NULL
) {
23467 SWIG_null_ref("wxDateTime");
23469 if (SWIG_arg_fail(2)) SWIG_fail
;
23472 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23473 if (SWIG_arg_fail(3)) SWIG_fail
;
23474 if (arg3
== NULL
) {
23475 SWIG_null_ref("wxDateTime");
23477 if (SWIG_arg_fail(3)) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23495 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
= NULL
;
23497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23498 wxDateTime
*arg2
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "dt", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23508 if (SWIG_arg_fail(1)) SWIG_fail
;
23510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23511 if (SWIG_arg_fail(2)) SWIG_fail
;
23512 if (arg2
== NULL
) {
23513 SWIG_null_ref("wxDateTime");
23515 if (SWIG_arg_fail(2)) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23533 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
= NULL
;
23535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23536 wxDateTime
*arg2
= 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "dt", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail
;
23548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23549 if (SWIG_arg_fail(2)) SWIG_fail
;
23550 if (arg2
== NULL
) {
23551 SWIG_null_ref("wxDateTime");
23553 if (SWIG_arg_fail(2)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23571 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
= NULL
;
23573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23574 wxDateTime
*arg2
= 0 ;
23575 wxTimeSpan
*arg3
= 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 PyObject
* obj2
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "dt",(char *) "ts", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23589 if (SWIG_arg_fail(2)) SWIG_fail
;
23590 if (arg2
== NULL
) {
23591 SWIG_null_ref("wxDateTime");
23593 if (SWIG_arg_fail(2)) SWIG_fail
;
23596 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23597 if (SWIG_arg_fail(3)) SWIG_fail
;
23598 if (arg3
== NULL
) {
23599 SWIG_null_ref("wxTimeSpan");
23601 if (SWIG_arg_fail(3)) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23619 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
= NULL
;
23621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23622 wxTimeSpan
*arg2
= 0 ;
23623 wxDateTime
*result
;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "diff", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(2)) SWIG_fail
;
23636 if (arg2
== NULL
) {
23637 SWIG_null_ref("wxTimeSpan");
23639 if (SWIG_arg_fail(2)) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23645 result
= (wxDateTime
*) &_result_ref
;
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23658 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
= NULL
;
23660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23661 wxDateSpan
*arg2
= 0 ;
23662 wxDateTime
*result
;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self",(char *) "diff", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23671 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23674 if (SWIG_arg_fail(2)) SWIG_fail
;
23675 if (arg2
== NULL
) {
23676 SWIG_null_ref("wxDateSpan");
23678 if (SWIG_arg_fail(2)) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23684 result
= (wxDateTime
*) &_result_ref
;
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23697 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
= NULL
;
23699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23700 wxTimeSpan
*arg2
= 0 ;
23701 wxDateTime
*result
;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "diff", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail
;
23712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23713 if (SWIG_arg_fail(2)) SWIG_fail
;
23714 if (arg2
== NULL
) {
23715 SWIG_null_ref("wxTimeSpan");
23717 if (SWIG_arg_fail(2)) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23723 result
= (wxDateTime
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23736 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
= NULL
;
23738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23739 wxDateSpan
*arg2
= 0 ;
23740 wxDateTime
*result
;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self",(char *) "diff", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23749 if (SWIG_arg_fail(1)) SWIG_fail
;
23751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23752 if (SWIG_arg_fail(2)) SWIG_fail
;
23753 if (arg2
== NULL
) {
23754 SWIG_null_ref("wxDateSpan");
23756 if (SWIG_arg_fail(2)) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23762 result
= (wxDateTime
*) &_result_ref
;
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23775 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
= NULL
;
23777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23778 wxDateTime
*arg2
= 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self",(char *) "dt", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail
;
23790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23791 if (SWIG_arg_fail(2)) SWIG_fail
;
23792 if (arg2
== NULL
) {
23793 SWIG_null_ref("wxDateTime");
23795 if (SWIG_arg_fail(2)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 wxTimeSpan
* resultptr
;
23806 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23815 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23816 PyObject
*resultobj
= NULL
;
23817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23818 wxTimeSpan
*arg2
= 0 ;
23819 wxDateTime
*result
;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23823 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23828 if (SWIG_arg_fail(2)) SWIG_fail
;
23829 if (arg2
== NULL
) {
23830 SWIG_null_ref("wxTimeSpan");
23832 if (SWIG_arg_fail(2)) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23838 result
= (wxDateTime
*) &_result_ref
;
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23851 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23852 PyObject
*resultobj
= NULL
;
23853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23854 wxDateSpan
*arg2
= 0 ;
23855 wxDateTime
*result
;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23859 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23861 if (SWIG_arg_fail(1)) SWIG_fail
;
23863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23864 if (SWIG_arg_fail(2)) SWIG_fail
;
23865 if (arg2
== NULL
) {
23866 SWIG_null_ref("wxDateSpan");
23868 if (SWIG_arg_fail(2)) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23874 result
= (wxDateTime
*) &_result_ref
;
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23887 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23892 argc
= PyObject_Length(args
);
23893 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23894 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23900 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23910 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23918 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23926 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23936 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23944 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23949 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23954 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23955 PyObject
*resultobj
= NULL
;
23956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23957 wxTimeSpan
*arg2
= 0 ;
23958 wxDateTime
*result
;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23962 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23964 if (SWIG_arg_fail(1)) SWIG_fail
;
23966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23967 if (SWIG_arg_fail(2)) SWIG_fail
;
23968 if (arg2
== NULL
) {
23969 SWIG_null_ref("wxTimeSpan");
23971 if (SWIG_arg_fail(2)) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23977 result
= (wxDateTime
*) &_result_ref
;
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23990 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23991 PyObject
*resultobj
= NULL
;
23992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23993 wxDateSpan
*arg2
= 0 ;
23994 wxDateTime
*result
;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23998 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24004 if (arg2
== NULL
) {
24005 SWIG_null_ref("wxDateSpan");
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24013 result
= (wxDateTime
*) &_result_ref
;
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24026 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24031 argc
= PyObject_Length(args
);
24032 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24033 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24039 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24049 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24057 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24065 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24075 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24083 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24088 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24093 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24094 PyObject
*resultobj
= NULL
;
24095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24096 wxTimeSpan
*arg2
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24101 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24103 if (SWIG_arg_fail(1)) SWIG_fail
;
24105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(2)) SWIG_fail
;
24107 if (arg2
== NULL
) {
24108 SWIG_null_ref("wxTimeSpan");
24110 if (SWIG_arg_fail(2)) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 wxDateTime
* resultptr
;
24121 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24130 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24131 PyObject
*resultobj
= NULL
;
24132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24133 wxDateSpan
*arg2
= 0 ;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24138 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24140 if (SWIG_arg_fail(1)) SWIG_fail
;
24142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24143 if (SWIG_arg_fail(2)) SWIG_fail
;
24144 if (arg2
== NULL
) {
24145 SWIG_null_ref("wxDateSpan");
24147 if (SWIG_arg_fail(2)) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24157 wxDateTime
* resultptr
;
24158 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24167 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24172 argc
= PyObject_Length(args
);
24173 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24174 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24180 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24190 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24198 return _wrap_DateTime___add____SWIG_0(self
,args
);
24206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24224 return _wrap_DateTime___add____SWIG_1(self
,args
);
24229 Py_INCREF(Py_NotImplemented
);
24230 return Py_NotImplemented
;
24234 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24235 PyObject
*resultobj
= NULL
;
24236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24237 wxDateTime
*arg2
= 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24242 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail
;
24246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24247 if (SWIG_arg_fail(2)) SWIG_fail
;
24248 if (arg2
== NULL
) {
24249 SWIG_null_ref("wxDateTime");
24251 if (SWIG_arg_fail(2)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24261 wxTimeSpan
* resultptr
;
24262 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24271 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24272 PyObject
*resultobj
= NULL
;
24273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24274 wxTimeSpan
*arg2
= 0 ;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24279 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24281 if (SWIG_arg_fail(1)) SWIG_fail
;
24283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(2)) SWIG_fail
;
24285 if (arg2
== NULL
) {
24286 SWIG_null_ref("wxTimeSpan");
24288 if (SWIG_arg_fail(2)) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 wxDateTime
* resultptr
;
24299 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24308 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24309 PyObject
*resultobj
= NULL
;
24310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24311 wxDateSpan
*arg2
= 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24316 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(2)) SWIG_fail
;
24322 if (arg2
== NULL
) {
24323 SWIG_null_ref("wxDateSpan");
24325 if (SWIG_arg_fail(2)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 wxDateTime
* resultptr
;
24336 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24345 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24350 argc
= PyObject_Length(args
);
24351 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24352 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24358 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24368 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24376 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24394 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24402 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24410 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24420 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24428 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24433 Py_INCREF(Py_NotImplemented
);
24434 return Py_NotImplemented
;
24438 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= NULL
;
24440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24441 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "other", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24470 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= NULL
;
24472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24473 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "other", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= NULL
;
24504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24505 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "other", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24517 if (SWIG_arg_fail(2)) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24534 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
= NULL
;
24536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24537 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "other", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(2)) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= NULL
;
24568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24569 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "other", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail
;
24580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24581 if (SWIG_arg_fail(2)) SWIG_fail
;
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24598 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
= NULL
;
24600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24601 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "other", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(2)) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24630 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= NULL
;
24632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24633 wxString
*arg2
= 0 ;
24635 bool temp2
= false ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "date", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail
;
24646 arg2
= wxString_in_helper(obj1
);
24647 if (arg2
== NULL
) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_From_int(static_cast<int >(result
));
24674 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
= NULL
;
24676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24677 wxString
*arg2
= 0 ;
24678 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24680 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24681 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24683 bool temp2
= false ;
24684 bool temp3
= false ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 PyObject
* obj2
= 0 ;
24688 PyObject
* obj3
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 arg2
= wxString_in_helper(obj1
);
24698 if (arg2
== NULL
) SWIG_fail
;
24703 arg3
= wxString_in_helper(obj2
);
24704 if (arg3
== NULL
) SWIG_fail
;
24710 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24711 if (SWIG_arg_fail(4)) SWIG_fail
;
24712 if (arg4
== NULL
) {
24713 SWIG_null_ref("wxDateTime");
24715 if (SWIG_arg_fail(4)) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_From_int(static_cast<int >(result
));
24750 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
= NULL
;
24752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24753 wxString
*arg2
= 0 ;
24755 bool temp2
= false ;
24756 PyObject
* obj0
= 0 ;
24757 PyObject
* obj1
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self",(char *) "datetime", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24764 if (SWIG_arg_fail(1)) SWIG_fail
;
24766 arg2
= wxString_in_helper(obj1
);
24767 if (arg2
== NULL
) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_From_int(static_cast<int >(result
));
24794 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
= NULL
;
24796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24797 wxString
*arg2
= 0 ;
24799 bool temp2
= false ;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "date", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24808 if (SWIG_arg_fail(1)) SWIG_fail
;
24810 arg2
= wxString_in_helper(obj1
);
24811 if (arg2
== NULL
) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_From_int(static_cast<int >(result
));
24838 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= NULL
;
24840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24841 wxString
*arg2
= 0 ;
24843 bool temp2
= false ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self",(char *) "time", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail
;
24854 arg2
= wxString_in_helper(obj1
);
24855 if (arg2
== NULL
) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_From_int(static_cast<int >(result
));
24882 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
= NULL
;
24884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24885 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24886 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24887 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24888 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24890 bool temp2
= false ;
24891 bool temp3
= false ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 PyObject
* obj2
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "format",(char *) "tz", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24901 if (SWIG_arg_fail(1)) SWIG_fail
;
24904 arg2
= wxString_in_helper(obj1
);
24905 if (arg2
== NULL
) SWIG_fail
;
24911 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24934 if (temp3
) delete arg3
;
24943 if (temp3
) delete arg3
;
24949 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= NULL
;
24951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24981 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= NULL
;
24983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25013 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
= NULL
;
25015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25045 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
= NULL
;
25047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25077 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25080 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25082 return Py_BuildValue((char *)"");
25084 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= NULL
;
25088 PyObject
* obj0
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "sec", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25095 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= wxTimeSpan::Seconds(arg1
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25106 wxTimeSpan
* resultptr
;
25107 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25116 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
= NULL
;
25119 char *kwnames
[] = {
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= wxTimeSpan::Second();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 wxTimeSpan
* resultptr
;
25133 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25142 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
= NULL
;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "min", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25153 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25154 if (SWIG_arg_fail(1)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= wxTimeSpan::Minutes(arg1
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 wxTimeSpan
* resultptr
;
25165 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25174 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
= NULL
;
25177 char *kwnames
[] = {
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= wxTimeSpan::Minute();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 wxTimeSpan
* resultptr
;
25191 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25200 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
= NULL
;
25204 PyObject
* obj0
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "hours", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25211 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25212 if (SWIG_arg_fail(1)) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= wxTimeSpan::Hours(arg1
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25222 wxTimeSpan
* resultptr
;
25223 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25232 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= NULL
;
25235 char *kwnames
[] = {
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= wxTimeSpan::Hour();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25248 wxTimeSpan
* resultptr
;
25249 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25258 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
= NULL
;
25262 PyObject
* obj0
= 0 ;
25263 char *kwnames
[] = {
25264 (char *) "days", NULL
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25269 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25270 if (SWIG_arg_fail(1)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= wxTimeSpan::Days(arg1
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25280 wxTimeSpan
* resultptr
;
25281 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25290 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
= NULL
;
25293 char *kwnames
[] = {
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= wxTimeSpan::Day();
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 wxTimeSpan
* resultptr
;
25307 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25316 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= NULL
;
25320 PyObject
* obj0
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "days", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25327 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25328 if (SWIG_arg_fail(1)) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= wxTimeSpan::Weeks(arg1
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 wxTimeSpan
* resultptr
;
25339 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25348 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
= NULL
;
25351 char *kwnames
[] = {
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= wxTimeSpan::Week();
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25364 wxTimeSpan
* resultptr
;
25365 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25374 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
= NULL
;
25376 long arg1
= (long) 0 ;
25377 long arg2
= (long) 0 ;
25378 long arg3
= (long) 0 ;
25379 long arg4
= (long) 0 ;
25380 wxTimeSpan
*result
;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 PyObject
* obj2
= 0 ;
25384 PyObject
* obj3
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25392 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25398 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25399 if (SWIG_arg_fail(2)) SWIG_fail
;
25404 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25405 if (SWIG_arg_fail(3)) SWIG_fail
;
25410 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25411 if (SWIG_arg_fail(4)) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25428 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= NULL
;
25430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25438 if (SWIG_arg_fail(1)) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 Py_INCREF(Py_None
); resultobj
= Py_None
;
25453 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
= NULL
;
25455 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25456 wxTimeSpan
*arg2
= 0 ;
25457 wxTimeSpan
*result
;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "diff", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail
;
25468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25469 if (SWIG_arg_fail(2)) SWIG_fail
;
25470 if (arg2
== NULL
) {
25471 SWIG_null_ref("wxTimeSpan");
25473 if (SWIG_arg_fail(2)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25479 result
= (wxTimeSpan
*) &_result_ref
;
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25492 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
= NULL
;
25494 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25495 wxTimeSpan
*arg2
= 0 ;
25496 wxTimeSpan
*result
;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "diff", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25505 if (SWIG_arg_fail(1)) SWIG_fail
;
25507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25508 if (SWIG_arg_fail(2)) SWIG_fail
;
25509 if (arg2
== NULL
) {
25510 SWIG_null_ref("wxTimeSpan");
25512 if (SWIG_arg_fail(2)) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25518 result
= (wxTimeSpan
*) &_result_ref
;
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25531 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
= NULL
;
25533 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25535 wxTimeSpan
*result
;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "n", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25544 if (SWIG_arg_fail(1)) SWIG_fail
;
25546 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25547 if (SWIG_arg_fail(2)) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25553 result
= (wxTimeSpan
*) &_result_ref
;
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25566 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
= NULL
;
25568 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25569 wxTimeSpan
*result
;
25570 PyObject
* obj0
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25582 result
= (wxTimeSpan
*) &_result_ref
;
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25595 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= NULL
;
25597 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 wxTimeSpan
* resultptr
;
25616 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25625 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
= NULL
;
25627 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25628 wxTimeSpan
*arg2
= 0 ;
25629 wxTimeSpan
*result
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "diff", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25638 if (SWIG_arg_fail(1)) SWIG_fail
;
25640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(2)) SWIG_fail
;
25642 if (arg2
== NULL
) {
25643 SWIG_null_ref("wxTimeSpan");
25645 if (SWIG_arg_fail(2)) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25651 result
= (wxTimeSpan
*) &_result_ref
;
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25664 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
= NULL
;
25666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25667 wxTimeSpan
*arg2
= 0 ;
25668 wxTimeSpan
*result
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "diff", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25677 if (SWIG_arg_fail(1)) SWIG_fail
;
25679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25680 if (SWIG_arg_fail(2)) SWIG_fail
;
25681 if (arg2
== NULL
) {
25682 SWIG_null_ref("wxTimeSpan");
25684 if (SWIG_arg_fail(2)) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25690 result
= (wxTimeSpan
*) &_result_ref
;
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25703 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
= NULL
;
25705 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25707 wxTimeSpan
*result
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "n", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25716 if (SWIG_arg_fail(1)) SWIG_fail
;
25718 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25719 if (SWIG_arg_fail(2)) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25725 result
= (wxTimeSpan
*) &_result_ref
;
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25738 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= NULL
;
25740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25741 wxTimeSpan
*result
;
25742 PyObject
* obj0
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25754 result
= (wxTimeSpan
*) &_result_ref
;
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25767 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
= NULL
;
25769 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25770 wxTimeSpan
*arg2
= 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "other", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25783 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 if (arg2
== NULL
) {
25785 SWIG_null_ref("wxTimeSpan");
25787 if (SWIG_arg_fail(2)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 wxTimeSpan
* resultptr
;
25798 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25807 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
= NULL
;
25809 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25810 wxTimeSpan
*arg2
= 0 ;
25812 PyObject
* obj0
= 0 ;
25813 PyObject
* obj1
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self",(char *) "other", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25823 if (SWIG_arg_fail(2)) SWIG_fail
;
25824 if (arg2
== NULL
) {
25825 SWIG_null_ref("wxTimeSpan");
25827 if (SWIG_arg_fail(2)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 wxTimeSpan
* resultptr
;
25838 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25847 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
= NULL
;
25849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
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:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25863 if (SWIG_arg_fail(2)) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= wxTimeSpan___mul__(arg1
,arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25873 wxTimeSpan
* resultptr
;
25874 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25883 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= NULL
;
25885 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "n", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(1)) SWIG_fail
;
25898 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25899 if (SWIG_arg_fail(2)) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25909 wxTimeSpan
* resultptr
;
25910 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25919 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= NULL
;
25921 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25922 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "other", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(2)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25951 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
= NULL
;
25953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25954 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "other", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(2)) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25983 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
= NULL
;
25985 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25986 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "other", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26015 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
= NULL
;
26017 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26018 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "other", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail
;
26029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26030 if (SWIG_arg_fail(2)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26047 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
= NULL
;
26049 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26050 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "other", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26060 if (SWIG_arg_fail(1)) SWIG_fail
;
26061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26062 if (SWIG_arg_fail(2)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26079 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
= NULL
;
26081 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26082 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "other", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26092 if (SWIG_arg_fail(1)) SWIG_fail
;
26093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26094 if (SWIG_arg_fail(2)) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26111 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
= NULL
;
26113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26122 if (SWIG_arg_fail(1)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26139 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= NULL
;
26141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26150 if (SWIG_arg_fail(1)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26167 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
= NULL
;
26169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26178 if (SWIG_arg_fail(1)) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
= NULL
;
26197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26198 wxTimeSpan
*arg2
= 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "ts", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26208 if (SWIG_arg_fail(1)) SWIG_fail
;
26210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(2)) SWIG_fail
;
26212 if (arg2
== NULL
) {
26213 SWIG_null_ref("wxTimeSpan");
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26233 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
= NULL
;
26235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26236 wxTimeSpan
*arg2
= 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "ts", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail
;
26248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26249 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 if (arg2
== NULL
) {
26251 SWIG_null_ref("wxTimeSpan");
26253 if (SWIG_arg_fail(2)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26271 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
= NULL
;
26273 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26274 wxTimeSpan
*arg2
= 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "t", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26287 if (SWIG_arg_fail(2)) SWIG_fail
;
26288 if (arg2
== NULL
) {
26289 SWIG_null_ref("wxTimeSpan");
26291 if (SWIG_arg_fail(2)) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26309 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
= NULL
;
26311 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_From_int(static_cast<int >(result
));
26337 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= NULL
;
26339 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= SWIG_From_int(static_cast<int >(result
));
26365 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= NULL
;
26367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= SWIG_From_int(static_cast<int >(result
));
26393 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
= NULL
;
26395 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26404 if (SWIG_arg_fail(1)) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_From_int(static_cast<int >(result
));
26421 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
= NULL
;
26423 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26442 hi
= PyLong_FromLong( (&result
)->GetHi() );
26443 lo
= PyLong_FromLong( (&result
)->GetLo() );
26444 shifter
= PyLong_FromLong(32);
26445 shifted
= PyNumber_Lshift(hi
, shifter
);
26446 resultobj
= PyNumber_Or(shifted
, lo
);
26449 Py_DECREF(shifter
);
26450 Py_DECREF(shifted
);
26458 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
= NULL
;
26460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(1)) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26478 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26479 hi
= PyLong_FromLong( (&result
)->GetHi() );
26480 lo
= PyLong_FromLong( (&result
)->GetLo() );
26481 shifter
= PyLong_FromLong(32);
26482 shifted
= PyNumber_Lshift(hi
, shifter
);
26483 resultobj
= PyNumber_Or(shifted
, lo
);
26486 Py_DECREF(shifter
);
26487 Py_DECREF(shifted
);
26495 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
= NULL
;
26497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26498 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26499 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26501 bool temp2
= false ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "format", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26510 if (SWIG_arg_fail(1)) SWIG_fail
;
26513 arg2
= wxString_in_helper(obj1
);
26514 if (arg2
== NULL
) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26546 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26549 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26551 return Py_BuildValue((char *)"");
26553 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
= NULL
;
26555 int arg1
= (int) 0 ;
26556 int arg2
= (int) 0 ;
26557 int arg3
= (int) 0 ;
26558 int arg4
= (int) 0 ;
26559 wxDateSpan
*result
;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 PyObject
* obj2
= 0 ;
26563 PyObject
* obj3
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26571 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26577 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26578 if (SWIG_arg_fail(2)) SWIG_fail
;
26583 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26584 if (SWIG_arg_fail(3)) SWIG_fail
;
26589 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26590 if (SWIG_arg_fail(4)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26607 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
= NULL
;
26609 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26617 if (SWIG_arg_fail(1)) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 Py_INCREF(Py_None
); resultobj
= Py_None
;
26632 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= NULL
;
26636 PyObject
* obj0
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "days", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26643 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26644 if (SWIG_arg_fail(1)) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= wxDateSpan::Days(arg1
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 wxDateSpan
* resultptr
;
26655 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26664 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
= NULL
;
26667 char *kwnames
[] = {
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= wxDateSpan::Day();
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 wxDateSpan
* resultptr
;
26681 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26690 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= NULL
;
26694 PyObject
* obj0
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "weeks", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26701 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= wxDateSpan::Weeks(arg1
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 wxDateSpan
* resultptr
;
26713 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26722 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
= NULL
;
26725 char *kwnames
[] = {
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= wxDateSpan::Week();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 wxDateSpan
* resultptr
;
26739 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26748 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= NULL
;
26752 PyObject
* obj0
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "mon", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26759 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26760 if (SWIG_arg_fail(1)) SWIG_fail
;
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 result
= wxDateSpan::Months(arg1
);
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 wxDateSpan
* resultptr
;
26771 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26780 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= NULL
;
26783 char *kwnames
[] = {
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= wxDateSpan::Month();
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 wxDateSpan
* resultptr
;
26797 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26806 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
= NULL
;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "years", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26817 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26818 if (SWIG_arg_fail(1)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= wxDateSpan::Years(arg1
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 wxDateSpan
* resultptr
;
26829 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26838 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
= NULL
;
26841 char *kwnames
[] = {
26845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= wxDateSpan::Year();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 wxDateSpan
* resultptr
;
26855 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26864 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= NULL
;
26866 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26868 wxDateSpan
*result
;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "n", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail
;
26879 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26880 if (SWIG_arg_fail(2)) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26886 result
= (wxDateSpan
*) &_result_ref
;
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26899 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
= NULL
;
26901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26903 wxDateSpan
*result
;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "n", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26915 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26921 result
= (wxDateSpan
*) &_result_ref
;
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26934 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= NULL
;
26936 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26938 wxDateSpan
*result
;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "n", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26949 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26950 if (SWIG_arg_fail(2)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26956 result
= (wxDateSpan
*) &_result_ref
;
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26969 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
= NULL
;
26971 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26973 wxDateSpan
*result
;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "n", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26985 if (SWIG_arg_fail(2)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26991 result
= (wxDateSpan
*) &_result_ref
;
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27004 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= NULL
;
27006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27015 if (SWIG_arg_fail(1)) SWIG_fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_From_int(static_cast<int >(result
));
27032 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= NULL
;
27034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= SWIG_From_int(static_cast<int >(result
));
27060 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
= NULL
;
27062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_From_int(static_cast<int >(result
));
27088 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= NULL
;
27090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(1)) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_From_int(static_cast<int >(result
));
27116 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= NULL
;
27118 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_int(static_cast<int >(result
));
27144 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
= NULL
;
27146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27147 wxDateSpan
*arg2
= 0 ;
27148 wxDateSpan
*result
;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "other", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27161 if (arg2
== NULL
) {
27162 SWIG_null_ref("wxDateSpan");
27164 if (SWIG_arg_fail(2)) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27170 result
= (wxDateSpan
*) &_result_ref
;
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27183 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= NULL
;
27185 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27186 wxDateSpan
*arg2
= 0 ;
27187 wxDateSpan
*result
;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "other", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail
;
27198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27199 if (SWIG_arg_fail(2)) SWIG_fail
;
27200 if (arg2
== NULL
) {
27201 SWIG_null_ref("wxDateSpan");
27203 if (SWIG_arg_fail(2)) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27209 result
= (wxDateSpan
*) &_result_ref
;
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27222 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
= NULL
;
27224 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27225 wxDateSpan
*result
;
27226 PyObject
* obj0
= 0 ;
27227 char *kwnames
[] = {
27228 (char *) "self", NULL
27231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27233 if (SWIG_arg_fail(1)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27238 result
= (wxDateSpan
*) &_result_ref
;
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27251 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= NULL
;
27253 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27255 wxDateSpan
*result
;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "factor", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27267 if (SWIG_arg_fail(2)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27273 result
= (wxDateSpan
*) &_result_ref
;
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27286 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
= NULL
;
27288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27289 wxDateSpan
*arg2
= 0 ;
27290 wxDateSpan
*result
;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "other", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27299 if (SWIG_arg_fail(1)) SWIG_fail
;
27301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27302 if (SWIG_arg_fail(2)) SWIG_fail
;
27303 if (arg2
== NULL
) {
27304 SWIG_null_ref("wxDateSpan");
27306 if (SWIG_arg_fail(2)) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27312 result
= (wxDateSpan
*) &_result_ref
;
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27325 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
= NULL
;
27327 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27328 wxDateSpan
*arg2
= 0 ;
27329 wxDateSpan
*result
;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "other", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27338 if (SWIG_arg_fail(1)) SWIG_fail
;
27340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27341 if (SWIG_arg_fail(2)) SWIG_fail
;
27342 if (arg2
== NULL
) {
27343 SWIG_null_ref("wxDateSpan");
27345 if (SWIG_arg_fail(2)) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27351 result
= (wxDateSpan
*) &_result_ref
;
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27364 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= NULL
;
27366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27367 wxDateSpan
*result
;
27368 PyObject
* obj0
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27375 if (SWIG_arg_fail(1)) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27380 result
= (wxDateSpan
*) &_result_ref
;
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27393 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
= NULL
;
27395 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27397 wxDateSpan
*result
;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "factor", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27406 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27409 if (SWIG_arg_fail(2)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27415 result
= (wxDateSpan
*) &_result_ref
;
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27428 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
= NULL
;
27430 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27431 wxDateSpan
*arg2
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self",(char *) "other", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27444 if (SWIG_arg_fail(2)) SWIG_fail
;
27445 if (arg2
== NULL
) {
27446 SWIG_null_ref("wxDateSpan");
27448 if (SWIG_arg_fail(2)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27458 wxDateSpan
* resultptr
;
27459 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27468 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
= NULL
;
27470 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27471 wxDateSpan
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "other", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27485 if (arg2
== NULL
) {
27486 SWIG_null_ref("wxDateSpan");
27488 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 wxDateSpan
* resultptr
;
27499 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27508 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
= NULL
;
27510 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "n", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27521 if (SWIG_arg_fail(1)) SWIG_fail
;
27523 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27524 if (SWIG_arg_fail(2)) SWIG_fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= wxDateSpan___mul__(arg1
,arg2
);
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27534 wxDateSpan
* resultptr
;
27535 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27544 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
= NULL
;
27546 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self",(char *) "n", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27557 if (SWIG_arg_fail(1)) SWIG_fail
;
27559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27560 if (SWIG_arg_fail(2)) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= wxDateSpan___rmul__(arg1
,arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 wxDateSpan
* resultptr
;
27571 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27580 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
= NULL
;
27582 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27583 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self",(char *) "other", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail
;
27594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27595 if (SWIG_arg_fail(2)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27612 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
= NULL
;
27614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27615 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self",(char *) "other", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27644 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27649 return Py_BuildValue((char *)"");
27651 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
= NULL
;
27654 char *kwnames
[] = {
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (long)wxGetLocalTime();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= SWIG_From_long(static_cast<long >(result
));
27675 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
= NULL
;
27678 char *kwnames
[] = {
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 result
= (long)wxGetUTCTime();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_From_long(static_cast<long >(result
));
27699 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
= NULL
;
27702 char *kwnames
[] = {
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (long)wxGetCurrentTime();
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_From_long(static_cast<long >(result
));
27723 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
= NULL
;
27726 char *kwnames
[] = {
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 result
= wxGetLocalTimeMillis();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27739 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27740 hi
= PyLong_FromLong( (&result
)->GetHi() );
27741 lo
= PyLong_FromLong( (&result
)->GetLo() );
27742 shifter
= PyLong_FromLong(32);
27743 shifted
= PyNumber_Lshift(hi
, shifter
);
27744 resultobj
= PyNumber_Or(shifted
, lo
);
27747 Py_DECREF(shifter
);
27748 Py_DECREF(shifted
);
27756 static int _wrap_DefaultDateTime_set(PyObject
*) {
27757 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27762 static PyObject
*_wrap_DefaultDateTime_get(void) {
27763 PyObject
*pyobj
= NULL
;
27765 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27770 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
= NULL
;
27772 wxDataFormatId arg1
;
27773 wxDataFormat
*result
;
27774 PyObject
* obj0
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "type", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27781 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27782 if (SWIG_arg_fail(1)) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27798 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27799 PyObject
*resultobj
= NULL
;
27800 wxString
*arg1
= 0 ;
27801 wxDataFormat
*result
;
27802 bool temp1
= false ;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "format", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27810 arg1
= wxString_in_helper(obj0
);
27811 if (arg1
== NULL
) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27836 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
= NULL
;
27838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27846 if (SWIG_arg_fail(1)) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 Py_INCREF(Py_None
); resultobj
= Py_None
;
27861 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27862 PyObject
*resultobj
= NULL
;
27863 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27864 wxDataFormatId arg2
;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27869 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27871 if (SWIG_arg_fail(1)) SWIG_fail
;
27873 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27874 if (SWIG_arg_fail(2)) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27892 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27893 PyObject
*resultobj
= NULL
;
27894 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27895 wxDataFormatId arg2
;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27900 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27902 if (SWIG_arg_fail(1)) SWIG_fail
;
27904 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27905 if (SWIG_arg_fail(2)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27923 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27924 PyObject
*resultobj
= NULL
;
27925 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27926 wxDataFormat
*arg2
= 0 ;
27928 PyObject
* obj0
= 0 ;
27929 PyObject
* obj1
= 0 ;
27931 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail
;
27935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27936 if (SWIG_arg_fail(2)) SWIG_fail
;
27937 if (arg2
== NULL
) {
27938 SWIG_null_ref("wxDataFormat");
27940 if (SWIG_arg_fail(2)) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27958 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27963 argc
= PyObject_Length(args
);
27964 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27965 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27971 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27981 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27989 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28005 _v
= SWIG_Check_int(argv
[1]);
28007 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28012 Py_INCREF(Py_NotImplemented
);
28013 return Py_NotImplemented
;
28017 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28018 PyObject
*resultobj
= NULL
;
28019 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28020 wxDataFormat
*arg2
= 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28025 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28027 if (SWIG_arg_fail(1)) SWIG_fail
;
28029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28030 if (SWIG_arg_fail(2)) SWIG_fail
;
28031 if (arg2
== NULL
) {
28032 SWIG_null_ref("wxDataFormat");
28034 if (SWIG_arg_fail(2)) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28052 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28057 argc
= PyObject_Length(args
);
28058 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28059 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28065 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28075 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28083 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28099 _v
= SWIG_Check_int(argv
[1]);
28101 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28106 Py_INCREF(Py_NotImplemented
);
28107 return Py_NotImplemented
;
28111 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
= NULL
;
28113 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28114 wxDataFormatId arg2
;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "format", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28125 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28126 if (SWIG_arg_fail(2)) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 (arg1
)->SetType(arg2
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 Py_INCREF(Py_None
); resultobj
= Py_None
;
28142 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
= NULL
;
28144 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28145 wxDataFormatId result
;
28146 PyObject
* obj0
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= SWIG_From_int((result
));
28168 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
= NULL
;
28170 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28172 PyObject
* obj0
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28179 if (SWIG_arg_fail(1)) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= ((wxDataFormat
const *)arg1
)->GetId();
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28200 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= NULL
;
28202 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28203 wxString
*arg2
= 0 ;
28204 bool temp2
= false ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "format", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 arg2
= wxString_in_helper(obj1
);
28216 if (arg2
== NULL
) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 (arg1
)->SetId((wxString
const &)*arg2
);
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 Py_INCREF(Py_None
); resultobj
= Py_None
;
28241 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28244 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28246 return Py_BuildValue((char *)"");
28248 static int _wrap_FormatInvalid_set(PyObject
*) {
28249 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28254 static PyObject
*_wrap_FormatInvalid_get(void) {
28255 PyObject
*pyobj
= NULL
;
28257 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28262 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
= NULL
;
28264 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(1)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 Py_INCREF(Py_None
); resultobj
= Py_None
;
28287 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
= NULL
;
28289 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28290 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28291 SwigValueWrapper
<wxDataFormat
> result
;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self",(char *) "dir", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28300 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28304 if (SWIG_arg_fail(2)) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28315 wxDataFormat
* resultptr
;
28316 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28325 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
= NULL
;
28327 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28328 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "dir", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail
;
28341 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28342 if (SWIG_arg_fail(2)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28361 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
= NULL
;
28363 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28364 wxDataFormat
*arg2
= 0 ;
28365 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self",(char *) "format",(char *) "dir", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28376 if (SWIG_arg_fail(1)) SWIG_fail
;
28378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(2)) SWIG_fail
;
28380 if (arg2
== NULL
) {
28381 SWIG_null_ref("wxDataFormat");
28383 if (SWIG_arg_fail(2)) SWIG_fail
;
28387 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28388 if (SWIG_arg_fail(3)) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28407 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
= NULL
;
28409 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28410 wxDataFormat
*arg2
= 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "self",(char *) "format", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail
;
28422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28423 if (SWIG_arg_fail(2)) SWIG_fail
;
28424 if (arg2
== NULL
) {
28425 SWIG_null_ref("wxDataFormat");
28427 if (SWIG_arg_fail(2)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28445 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
= NULL
;
28447 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28448 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char *kwnames
[] = {
28453 (char *) "self",(char *) "dir", NULL
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail
;
28461 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28462 if (SWIG_arg_fail(2)) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= result
;
28479 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
= NULL
;
28481 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28482 wxDataFormat
*arg2
= 0 ;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self",(char *) "format", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28492 if (SWIG_arg_fail(1)) SWIG_fail
;
28494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28495 if (SWIG_arg_fail(2)) SWIG_fail
;
28496 if (arg2
== NULL
) {
28497 SWIG_null_ref("wxDataFormat");
28499 if (SWIG_arg_fail(2)) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= result
;
28515 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
= NULL
;
28517 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28518 wxDataFormat
*arg2
= 0 ;
28519 PyObject
*arg3
= (PyObject
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 PyObject
* obj2
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "self",(char *) "format",(char *) "data", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28530 if (SWIG_arg_fail(1)) SWIG_fail
;
28532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28533 if (SWIG_arg_fail(2)) SWIG_fail
;
28534 if (arg2
== NULL
) {
28535 SWIG_null_ref("wxDataFormat");
28537 if (SWIG_arg_fail(2)) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28559 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28561 return Py_BuildValue((char *)"");
28563 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
= NULL
;
28565 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28566 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28567 wxDataObjectSimple
*result
;
28568 PyObject
* obj0
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "format", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail
;
28578 if (arg1
== NULL
) {
28579 SWIG_null_ref("wxDataFormat");
28581 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28598 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
= NULL
;
28600 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28601 wxDataFormat
*result
;
28602 PyObject
* obj0
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28614 result
= (wxDataFormat
*) &_result_ref
;
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28627 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
= NULL
;
28629 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28630 wxDataFormat
*arg2
= 0 ;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self",(char *) "format", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail
;
28641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(2)) SWIG_fail
;
28643 if (arg2
== NULL
) {
28644 SWIG_null_ref("wxDataFormat");
28646 if (SWIG_arg_fail(2)) SWIG_fail
;
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 Py_INCREF(Py_None
); resultobj
= Py_None
;
28662 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
= NULL
;
28664 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28666 PyObject
* obj0
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28690 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= NULL
;
28692 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 char *kwnames
[] = {
28696 (char *) "self", NULL
28699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28701 if (SWIG_arg_fail(1)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= result
;
28716 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
= NULL
;
28718 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28719 PyObject
*arg2
= (PyObject
*) 0 ;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "self",(char *) "data", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28729 if (SWIG_arg_fail(1)) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28747 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28750 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28752 return Py_BuildValue((char *)"");
28754 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
= NULL
;
28756 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28757 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28758 wxPyDataObjectSimple
*result
;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "format", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28768 if (SWIG_arg_fail(1)) SWIG_fail
;
28769 if (arg1
== NULL
) {
28770 SWIG_null_ref("wxDataFormat");
28772 if (SWIG_arg_fail(1)) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28789 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
= NULL
;
28791 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28792 PyObject
*arg2
= (PyObject
*) 0 ;
28793 PyObject
*arg3
= (PyObject
*) 0 ;
28794 PyObject
* obj0
= 0 ;
28795 PyObject
* obj1
= 0 ;
28796 PyObject
* obj2
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "self",(char *) "_class", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 Py_INCREF(Py_None
); resultobj
= Py_None
;
28820 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28823 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28825 return Py_BuildValue((char *)"");
28827 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
= NULL
;
28829 wxDataObjectComposite
*result
;
28830 char *kwnames
[] = {
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28849 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
= NULL
;
28851 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28852 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28853 bool arg3
= (bool) false ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 PyObject
* obj2
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail
;
28864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28865 if (SWIG_arg_fail(2)) SWIG_fail
;
28868 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28869 if (SWIG_arg_fail(3)) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 (arg1
)->Add(arg2
,arg3
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 Py_INCREF(Py_None
); resultobj
= Py_None
;
28886 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28889 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28891 return Py_BuildValue((char *)"");
28893 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
= NULL
;
28895 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28896 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28897 wxTextDataObject
*result
;
28898 bool temp1
= false ;
28899 PyObject
* obj0
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "text", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28907 arg1
= wxString_in_helper(obj0
);
28908 if (arg1
== NULL
) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28934 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
= NULL
;
28936 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28945 if (SWIG_arg_fail(1)) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (size_t)(arg1
)->GetTextLength();
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28962 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= NULL
;
28964 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (arg1
)->GetText();
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28994 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
= NULL
;
28996 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28997 wxString
*arg2
= 0 ;
28998 bool temp2
= false ;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "text", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail
;
29009 arg2
= wxString_in_helper(obj1
);
29010 if (arg2
== NULL
) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 (arg1
)->SetText((wxString
const &)*arg2
);
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 Py_INCREF(Py_None
); resultobj
= Py_None
;
29035 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29038 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29040 return Py_BuildValue((char *)"");
29042 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= NULL
;
29044 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29046 wxPyTextDataObject
*result
;
29047 bool temp1
= false ;
29048 PyObject
* obj0
= 0 ;
29049 char *kwnames
[] = {
29050 (char *) "text", NULL
29053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29056 arg1
= wxString_in_helper(obj0
);
29057 if (arg1
== NULL
) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29083 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
= NULL
;
29085 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29086 PyObject
*arg2
= (PyObject
*) 0 ;
29087 PyObject
*arg3
= (PyObject
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "self",(char *) "_class", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 Py_INCREF(Py_None
); resultobj
= Py_None
;
29114 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29117 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29119 return Py_BuildValue((char *)"");
29121 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= NULL
;
29123 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29124 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29125 wxBitmapDataObject
*result
;
29126 PyObject
* obj0
= 0 ;
29127 char *kwnames
[] = {
29128 (char *) "bitmap", NULL
29131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29135 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 if (arg1
== NULL
) {
29137 SWIG_null_ref("wxBitmap");
29139 if (SWIG_arg_fail(1)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29156 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
= NULL
;
29158 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29160 PyObject
* obj0
= 0 ;
29161 char *kwnames
[] = {
29162 (char *) "self", NULL
29165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29167 if (SWIG_arg_fail(1)) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29176 wxBitmap
* resultptr
;
29177 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29186 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= NULL
;
29188 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29189 wxBitmap
*arg2
= 0 ;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "self",(char *) "bitmap", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29198 if (SWIG_arg_fail(1)) SWIG_fail
;
29200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29201 if (SWIG_arg_fail(2)) SWIG_fail
;
29202 if (arg2
== NULL
) {
29203 SWIG_null_ref("wxBitmap");
29205 if (SWIG_arg_fail(2)) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 Py_INCREF(Py_None
); resultobj
= Py_None
;
29221 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29226 return Py_BuildValue((char *)"");
29228 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= NULL
;
29230 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29231 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29232 wxPyBitmapDataObject
*result
;
29233 PyObject
* obj0
= 0 ;
29234 char *kwnames
[] = {
29235 (char *) "bitmap", NULL
29238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29242 if (SWIG_arg_fail(1)) SWIG_fail
;
29243 if (arg1
== NULL
) {
29244 SWIG_null_ref("wxBitmap");
29246 if (SWIG_arg_fail(1)) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29263 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= NULL
;
29265 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29266 PyObject
*arg2
= (PyObject
*) 0 ;
29267 PyObject
*arg3
= (PyObject
*) 0 ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self",(char *) "self",(char *) "_class", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29277 if (SWIG_arg_fail(1)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 Py_INCREF(Py_None
); resultobj
= Py_None
;
29294 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29297 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29299 return Py_BuildValue((char *)"");
29301 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
= NULL
;
29303 wxFileDataObject
*result
;
29304 char *kwnames
[] = {
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (wxFileDataObject
*)new wxFileDataObject();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29323 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
= NULL
;
29325 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29326 wxArrayString
*result
;
29327 PyObject
* obj0
= 0 ;
29328 char *kwnames
[] = {
29329 (char *) "self", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29334 if (SWIG_arg_fail(1)) SWIG_fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29339 result
= (wxArrayString
*) &_result_ref
;
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= wxArrayString2PyList_helper(*result
);
29354 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
= NULL
;
29356 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29357 wxString
*arg2
= 0 ;
29358 bool temp2
= false ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self",(char *) "filename", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail
;
29369 arg2
= wxString_in_helper(obj1
);
29370 if (arg2
== NULL
) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 (arg1
)->AddFile((wxString
const &)*arg2
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 Py_INCREF(Py_None
); resultobj
= Py_None
;
29395 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29398 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29400 return Py_BuildValue((char *)"");
29402 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29403 PyObject
*resultobj
= NULL
;
29404 wxDataFormat
*arg1
= 0 ;
29405 wxCustomDataObject
*result
;
29406 PyObject
* obj0
= 0 ;
29408 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29411 if (SWIG_arg_fail(1)) SWIG_fail
;
29412 if (arg1
== NULL
) {
29413 SWIG_null_ref("wxDataFormat");
29415 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29431 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29432 PyObject
*resultobj
= NULL
;
29433 wxString
*arg1
= 0 ;
29434 wxCustomDataObject
*result
;
29435 bool temp1
= false ;
29436 PyObject
* obj0
= 0 ;
29438 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29440 arg1
= wxString_in_helper(obj0
);
29441 if (arg1
== NULL
) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29466 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29467 PyObject
*resultobj
= NULL
;
29468 wxCustomDataObject
*result
;
29470 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29485 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29490 argc
= PyObject_Length(args
);
29491 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29492 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29495 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29500 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29503 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29518 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29522 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29527 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
= NULL
;
29529 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29530 PyObject
*arg2
= (PyObject
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "data", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(1)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29558 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
= NULL
;
29560 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29562 PyObject
* obj0
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (size_t)(arg1
)->GetSize();
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29586 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= NULL
;
29588 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29597 if (SWIG_arg_fail(1)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= result
;
29612 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29615 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29617 return Py_BuildValue((char *)"");
29619 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
= NULL
;
29621 wxURLDataObject
*result
;
29622 char *kwnames
[] = {
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29629 result
= (wxURLDataObject
*)new wxURLDataObject();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29641 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= NULL
;
29643 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (arg1
)->GetURL();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29673 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29674 PyObject
*resultobj
= NULL
;
29675 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29676 wxString
*arg2
= 0 ;
29677 bool temp2
= false ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 char *kwnames
[] = {
29681 (char *) "self",(char *) "url", NULL
29684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29686 if (SWIG_arg_fail(1)) SWIG_fail
;
29688 arg2
= wxString_in_helper(obj1
);
29689 if (arg2
== NULL
) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 (arg1
)->SetURL((wxString
const &)*arg2
);
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 Py_INCREF(Py_None
); resultobj
= Py_None
;
29714 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29717 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29719 return Py_BuildValue((char *)"");
29721 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
= NULL
;
29723 wxMetafileDataObject
*result
;
29724 char *kwnames
[] = {
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29743 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
= NULL
;
29745 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29746 wxMetafile
*arg2
= 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self",(char *) "metafile", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29755 if (SWIG_arg_fail(1)) SWIG_fail
;
29757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(2)) SWIG_fail
;
29759 if (arg2
== NULL
) {
29760 SWIG_null_ref("wxMetafile");
29762 if (SWIG_arg_fail(2)) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 Py_INCREF(Py_None
); resultobj
= Py_None
;
29778 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
= NULL
;
29780 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29789 if (SWIG_arg_fail(1)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29798 wxMetafile
* resultptr
;
29799 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29808 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29811 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29813 return Py_BuildValue((char *)"");
29815 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
= NULL
;
29817 wxDragResult arg1
;
29819 PyObject
* obj0
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "res", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29826 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29827 if (SWIG_arg_fail(1)) SWIG_fail
;
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= (bool)wxIsDragResultOk(arg1
);
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29845 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
= NULL
;
29847 wxWindow
*arg1
= (wxWindow
*) 0 ;
29848 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29849 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29850 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29851 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29852 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29853 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29854 wxPyDropSource
*result
;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 PyObject
* obj2
= 0 ;
29858 PyObject
* obj3
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29865 if (SWIG_arg_fail(1)) SWIG_fail
;
29868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29869 if (SWIG_arg_fail(2)) SWIG_fail
;
29870 if (arg2
== NULL
) {
29871 SWIG_null_ref("wxCursor");
29873 if (SWIG_arg_fail(2)) SWIG_fail
;
29878 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(3)) SWIG_fail
;
29880 if (arg3
== NULL
) {
29881 SWIG_null_ref("wxCursor");
29883 if (SWIG_arg_fail(3)) SWIG_fail
;
29888 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29889 if (SWIG_arg_fail(4)) SWIG_fail
;
29890 if (arg4
== NULL
) {
29891 SWIG_null_ref("wxCursor");
29893 if (SWIG_arg_fail(4)) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29910 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
= NULL
;
29912 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29913 PyObject
*arg2
= (PyObject
*) 0 ;
29914 PyObject
*arg3
= (PyObject
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 PyObject
* obj3
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29930 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29931 if (SWIG_arg_fail(4)) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 Py_INCREF(Py_None
); resultobj
= Py_None
;
29947 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
= NULL
;
29949 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 char *kwnames
[] = {
29952 (char *) "self", NULL
29955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29957 if (SWIG_arg_fail(1)) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 Py_INCREF(Py_None
); resultobj
= Py_None
;
29972 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
= NULL
;
29974 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29975 wxDataObject
*arg2
= 0 ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "data", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail
;
29988 if (arg2
== NULL
) {
29989 SWIG_null_ref("wxDataObject");
29991 if (SWIG_arg_fail(2)) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 (arg1
)->SetData(*arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 Py_INCREF(Py_None
); resultobj
= Py_None
;
30007 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= NULL
;
30009 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30010 wxDataObject
*result
;
30011 PyObject
* obj0
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
30017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30018 if (SWIG_arg_fail(1)) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30033 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
= NULL
;
30035 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30036 wxDragResult arg2
;
30037 wxCursor
*arg3
= 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self",(char *) "res",(char *) "cursor", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30047 if (SWIG_arg_fail(1)) SWIG_fail
;
30049 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30050 if (SWIG_arg_fail(2)) SWIG_fail
;
30053 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30054 if (SWIG_arg_fail(3)) SWIG_fail
;
30055 if (arg3
== NULL
) {
30056 SWIG_null_ref("wxCursor");
30058 if (SWIG_arg_fail(3)) SWIG_fail
;
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 Py_INCREF(Py_None
); resultobj
= Py_None
;
30074 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= NULL
;
30076 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30077 int arg2
= (int) wxDrag_CopyOnly
;
30078 wxDragResult result
;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "flags", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail
;
30090 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30091 if (SWIG_arg_fail(2)) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= SWIG_From_int((result
));
30108 static PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
= NULL
;
30110 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30111 wxDragResult arg2
;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "effect", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail
;
30123 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30124 if (SWIG_arg_fail(2)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (bool)(arg1
)->GiveFeedback(arg2
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30142 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30145 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30147 return Py_BuildValue((char *)"");
30149 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
= NULL
;
30151 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30152 wxPyDropTarget
*result
;
30153 PyObject
* obj0
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "dataObject", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30161 if (SWIG_arg_fail(1)) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30177 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
= NULL
;
30179 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30180 PyObject
*arg2
= (PyObject
*) 0 ;
30181 PyObject
*arg3
= (PyObject
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 PyObject
* obj2
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "self",(char *) "self",(char *) "_class", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30191 if (SWIG_arg_fail(1)) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 Py_INCREF(Py_None
); resultobj
= Py_None
;
30208 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= NULL
;
30210 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30211 PyObject
* obj0
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 Py_INCREF(Py_None
); resultobj
= Py_None
;
30233 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
= NULL
;
30235 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30236 wxDataObject
*result
;
30237 PyObject
* obj0
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30259 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
= NULL
;
30261 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30262 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 char *kwnames
[] = {
30266 (char *) "self",(char *) "dataObject", NULL
30269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30271 if (SWIG_arg_fail(1)) SWIG_fail
;
30272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30273 if (SWIG_arg_fail(2)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 (arg1
)->SetDataObject(arg2
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_DropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= NULL
;
30290 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30293 wxDragResult arg4
;
30294 wxDragResult result
;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 PyObject
* obj2
= 0 ;
30298 PyObject
* obj3
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail
;
30307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30308 if (SWIG_arg_fail(2)) SWIG_fail
;
30311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30312 if (SWIG_arg_fail(3)) SWIG_fail
;
30315 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30316 if (SWIG_arg_fail(4)) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= SWIG_From_int((result
));
30332 static PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30333 PyObject
*resultobj
= NULL
;
30334 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30337 wxDragResult arg4
;
30338 wxDragResult result
;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 PyObject
* obj3
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30352 if (SWIG_arg_fail(2)) SWIG_fail
;
30355 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30356 if (SWIG_arg_fail(3)) SWIG_fail
;
30359 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30360 if (SWIG_arg_fail(4)) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_From_int((result
));
30376 static PyObject
*_wrap_DropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
= NULL
;
30378 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30379 PyObject
* obj0
= 0 ;
30380 char *kwnames
[] = {
30381 (char *) "self", NULL
30384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30386 if (SWIG_arg_fail(1)) SWIG_fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 Py_INCREF(Py_None
); resultobj
= Py_None
;
30401 static PyObject
*_wrap_DropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
= NULL
;
30403 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 PyObject
* obj2
= 0 ;
30410 char *kwnames
[] = {
30411 (char *) "self",(char *) "x",(char *) "y", NULL
30414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30416 if (SWIG_arg_fail(1)) SWIG_fail
;
30418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30419 if (SWIG_arg_fail(2)) SWIG_fail
;
30422 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30423 if (SWIG_arg_fail(3)) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30441 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= NULL
;
30443 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30445 PyObject
* obj0
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30452 if (SWIG_arg_fail(1)) SWIG_fail
;
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30455 result
= (bool)(arg1
)->GetData();
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30469 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= NULL
;
30471 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30472 wxDragResult arg2
;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "action", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30484 if (SWIG_arg_fail(2)) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 (arg1
)->SetDefaultAction(arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 Py_INCREF(Py_None
); resultobj
= Py_None
;
30500 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= NULL
;
30502 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30503 wxDragResult result
;
30504 PyObject
* obj0
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_From_int((result
));
30526 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30529 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30531 return Py_BuildValue((char *)"");
30533 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
= NULL
;
30535 wxPyTextDropTarget
*result
;
30536 char *kwnames
[] = {
30540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30555 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
= NULL
;
30557 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30558 PyObject
*arg2
= (PyObject
*) 0 ;
30559 PyObject
*arg3
= (PyObject
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "self",(char *) "_class", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= NULL
;
30588 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30591 wxString
*arg4
= 0 ;
30593 bool temp4
= false ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 PyObject
* obj2
= 0 ;
30597 PyObject
* obj3
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail
;
30606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30607 if (SWIG_arg_fail(2)) SWIG_fail
;
30610 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30611 if (SWIG_arg_fail(3)) SWIG_fail
;
30614 arg4
= wxString_in_helper(obj3
);
30615 if (arg4
== NULL
) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30642 static PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= NULL
;
30644 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30647 wxDragResult arg4
;
30648 wxDragResult result
;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 PyObject
* obj2
= 0 ;
30652 PyObject
* obj3
= 0 ;
30653 char *kwnames
[] = {
30654 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30659 if (SWIG_arg_fail(1)) SWIG_fail
;
30661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30662 if (SWIG_arg_fail(2)) SWIG_fail
;
30665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30666 if (SWIG_arg_fail(3)) SWIG_fail
;
30669 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30670 if (SWIG_arg_fail(4)) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= SWIG_From_int((result
));
30686 static PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
= NULL
;
30688 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30691 wxDragResult arg4
;
30692 wxDragResult result
;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 PyObject
* obj2
= 0 ;
30696 PyObject
* obj3
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30706 if (SWIG_arg_fail(2)) SWIG_fail
;
30709 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30710 if (SWIG_arg_fail(3)) SWIG_fail
;
30713 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30714 if (SWIG_arg_fail(4)) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= SWIG_From_int((result
));
30730 static PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
= NULL
;
30732 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30733 PyObject
* obj0
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
= NULL
;
30757 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 PyObject
* obj2
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self",(char *) "x",(char *) "y", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30770 if (SWIG_arg_fail(1)) SWIG_fail
;
30772 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30773 if (SWIG_arg_fail(2)) SWIG_fail
;
30776 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30777 if (SWIG_arg_fail(3)) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30795 static PyObject
*_wrap_TextDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30796 PyObject
*resultobj
= NULL
;
30797 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30800 wxDragResult arg4
;
30801 wxDragResult result
;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 PyObject
* obj2
= 0 ;
30805 PyObject
* obj3
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail
;
30814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30815 if (SWIG_arg_fail(2)) SWIG_fail
;
30818 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30819 if (SWIG_arg_fail(3)) SWIG_fail
;
30822 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30823 if (SWIG_arg_fail(4)) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= SWIG_From_int((result
));
30839 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30842 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30844 return Py_BuildValue((char *)"");
30846 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= NULL
;
30848 wxPyFileDropTarget
*result
;
30849 char *kwnames
[] = {
30853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30868 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
= NULL
;
30870 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30871 PyObject
*arg2
= (PyObject
*) 0 ;
30872 PyObject
*arg3
= (PyObject
*) 0 ;
30873 PyObject
* obj0
= 0 ;
30874 PyObject
* obj1
= 0 ;
30875 PyObject
* obj2
= 0 ;
30876 char *kwnames
[] = {
30877 (char *) "self",(char *) "self",(char *) "_class", NULL
30880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30882 if (SWIG_arg_fail(1)) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 Py_INCREF(Py_None
); resultobj
= Py_None
;
30899 static PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
= NULL
;
30901 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30904 wxArrayString
*arg4
= 0 ;
30906 bool temp4
= false ;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 PyObject
* obj2
= 0 ;
30910 PyObject
* obj3
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30917 if (SWIG_arg_fail(1)) SWIG_fail
;
30919 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30920 if (SWIG_arg_fail(2)) SWIG_fail
;
30923 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30924 if (SWIG_arg_fail(3)) SWIG_fail
;
30927 if (! PySequence_Check(obj3
)) {
30928 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
30931 arg4
= new wxArrayString
;
30933 int i
, len
=PySequence_Length(obj3
);
30934 for (i
=0; i
<len
; i
++) {
30935 PyObject
* item
= PySequence_GetItem(obj3
, i
);
30936 wxString
* s
= wxString_in_helper(item
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30954 if (temp4
) delete arg4
;
30959 if (temp4
) delete arg4
;
30965 static PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
= NULL
;
30967 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30970 wxDragResult arg4
;
30971 wxDragResult result
;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 PyObject
* obj2
= 0 ;
30975 PyObject
* obj3
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30982 if (SWIG_arg_fail(1)) SWIG_fail
;
30984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30985 if (SWIG_arg_fail(2)) SWIG_fail
;
30988 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30989 if (SWIG_arg_fail(3)) SWIG_fail
;
30992 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30993 if (SWIG_arg_fail(4)) SWIG_fail
;
30996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30997 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_From_int((result
));
31009 static PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= NULL
;
31011 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31014 wxDragResult arg4
;
31015 wxDragResult result
;
31016 PyObject
* obj0
= 0 ;
31017 PyObject
* obj1
= 0 ;
31018 PyObject
* obj2
= 0 ;
31019 PyObject
* obj3
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31026 if (SWIG_arg_fail(1)) SWIG_fail
;
31028 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31029 if (SWIG_arg_fail(2)) SWIG_fail
;
31032 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31033 if (SWIG_arg_fail(3)) SWIG_fail
;
31036 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31037 if (SWIG_arg_fail(4)) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_From_int((result
));
31053 static PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= NULL
;
31055 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 char *kwnames
[] = {
31058 (char *) "self", NULL
31061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
31062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31063 if (SWIG_arg_fail(1)) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 Py_INCREF(Py_None
); resultobj
= Py_None
;
31078 static PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
= NULL
;
31080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 PyObject
* obj2
= 0 ;
31087 char *kwnames
[] = {
31088 (char *) "self",(char *) "x",(char *) "y", NULL
31091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31093 if (SWIG_arg_fail(1)) SWIG_fail
;
31095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31096 if (SWIG_arg_fail(2)) SWIG_fail
;
31099 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31100 if (SWIG_arg_fail(3)) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31118 static PyObject
*_wrap_FileDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
= NULL
;
31120 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31123 wxDragResult arg4
;
31124 wxDragResult result
;
31125 PyObject
* obj0
= 0 ;
31126 PyObject
* obj1
= 0 ;
31127 PyObject
* obj2
= 0 ;
31128 PyObject
* obj3
= 0 ;
31129 char *kwnames
[] = {
31130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31135 if (SWIG_arg_fail(1)) SWIG_fail
;
31137 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31138 if (SWIG_arg_fail(2)) SWIG_fail
;
31141 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31142 if (SWIG_arg_fail(3)) SWIG_fail
;
31145 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31146 if (SWIG_arg_fail(4)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_From_int((result
));
31162 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31165 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31167 return Py_BuildValue((char *)"");
31169 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
= NULL
;
31171 wxClipboard
*result
;
31172 char *kwnames
[] = {
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= (wxClipboard
*)new wxClipboard();
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31191 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= NULL
;
31193 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31194 PyObject
* obj0
= 0 ;
31195 char *kwnames
[] = {
31196 (char *) "self", NULL
31199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31201 if (SWIG_arg_fail(1)) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 Py_INCREF(Py_None
); resultobj
= Py_None
;
31216 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31217 PyObject
*resultobj
= NULL
;
31218 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31220 PyObject
* obj0
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (bool)(arg1
)->Open();
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31244 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
= NULL
;
31246 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 Py_INCREF(Py_None
); resultobj
= Py_None
;
31269 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= NULL
;
31271 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31297 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
= NULL
;
31299 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31300 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31302 PyObject
* obj0
= 0 ;
31303 PyObject
* obj1
= 0 ;
31304 char *kwnames
[] = {
31305 (char *) "self",(char *) "data", NULL
31308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31310 if (SWIG_arg_fail(1)) SWIG_fail
;
31311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31312 if (SWIG_arg_fail(2)) SWIG_fail
;
31314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31315 result
= (bool)(arg1
)->AddData(arg2
);
31317 wxPyEndAllowThreads(__tstate
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31329 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
= NULL
;
31331 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31332 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31334 PyObject
* obj0
= 0 ;
31335 PyObject
* obj1
= 0 ;
31336 char *kwnames
[] = {
31337 (char *) "self",(char *) "data", NULL
31340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31342 if (SWIG_arg_fail(1)) SWIG_fail
;
31343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31344 if (SWIG_arg_fail(2)) SWIG_fail
;
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (bool)(arg1
)->SetData(arg2
);
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31361 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= NULL
;
31363 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31364 wxDataFormat
*arg2
= 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 char *kwnames
[] = {
31369 (char *) "self",(char *) "format", NULL
31372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31374 if (SWIG_arg_fail(1)) SWIG_fail
;
31376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31377 if (SWIG_arg_fail(2)) SWIG_fail
;
31378 if (arg2
== NULL
) {
31379 SWIG_null_ref("wxDataFormat");
31381 if (SWIG_arg_fail(2)) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31399 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
= NULL
;
31401 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31402 wxDataObject
*arg2
= 0 ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 char *kwnames
[] = {
31407 (char *) "self",(char *) "data", NULL
31410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31412 if (SWIG_arg_fail(1)) SWIG_fail
;
31414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31415 if (SWIG_arg_fail(2)) SWIG_fail
;
31416 if (arg2
== NULL
) {
31417 SWIG_null_ref("wxDataObject");
31419 if (SWIG_arg_fail(2)) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 result
= (bool)(arg1
)->GetData(*arg2
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31437 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
= NULL
;
31439 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31440 PyObject
* obj0
= 0 ;
31441 char *kwnames
[] = {
31442 (char *) "self", NULL
31445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 Py_INCREF(Py_None
); resultobj
= Py_None
;
31462 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
= NULL
;
31464 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31473 if (SWIG_arg_fail(1)) SWIG_fail
;
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (bool)(arg1
)->Flush();
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31490 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
= NULL
;
31492 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31493 bool arg2
= (bool) true ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self",(char *) "primary", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31502 if (SWIG_arg_fail(1)) SWIG_fail
;
31505 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31506 if (SWIG_arg_fail(2)) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->UsePrimarySelection(arg2
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 Py_INCREF(Py_None
); resultobj
= Py_None
;
31523 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
= NULL
;
31525 wxClipboard
*result
;
31526 char *kwnames
[] = {
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (wxClipboard
*)wxClipboard::Get();
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31545 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31548 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31550 return Py_BuildValue((char *)"");
31552 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31553 PyObject
*resultobj
= NULL
;
31554 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31555 wxClipboardLocker
*result
;
31556 PyObject
* obj0
= 0 ;
31557 char *kwnames
[] = {
31558 (char *) "clipboard", NULL
31561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31580 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
= NULL
;
31582 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31583 PyObject
* obj0
= 0 ;
31584 char *kwnames
[] = {
31585 (char *) "self", NULL
31588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31590 if (SWIG_arg_fail(1)) SWIG_fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 Py_INCREF(Py_None
); resultobj
= Py_None
;
31605 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
= NULL
;
31607 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 char *kwnames
[] = {
31611 (char *) "self", NULL
31614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31616 if (SWIG_arg_fail(1)) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31633 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31636 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31638 return Py_BuildValue((char *)"");
31640 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
= NULL
;
31642 int arg1
= (int) 0 ;
31643 int arg2
= (int) 0 ;
31644 int arg3
= (int) 0 ;
31645 int arg4
= (int) 0 ;
31646 wxVideoMode
*result
;
31647 PyObject
* obj0
= 0 ;
31648 PyObject
* obj1
= 0 ;
31649 PyObject
* obj2
= 0 ;
31650 PyObject
* obj3
= 0 ;
31651 char *kwnames
[] = {
31652 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31658 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31659 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31665 if (SWIG_arg_fail(2)) SWIG_fail
;
31670 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31671 if (SWIG_arg_fail(3)) SWIG_fail
;
31676 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31677 if (SWIG_arg_fail(4)) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31694 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
= NULL
;
31696 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31697 PyObject
* obj0
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31704 if (SWIG_arg_fail(1)) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
= NULL
;
31721 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31722 wxVideoMode
*arg2
= 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 char *kwnames
[] = {
31727 (char *) "self",(char *) "other", NULL
31730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31732 if (SWIG_arg_fail(1)) SWIG_fail
;
31734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31735 if (SWIG_arg_fail(2)) SWIG_fail
;
31736 if (arg2
== NULL
) {
31737 SWIG_null_ref("wxVideoMode");
31739 if (SWIG_arg_fail(2)) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31757 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
= NULL
;
31759 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31761 PyObject
* obj0
= 0 ;
31762 char *kwnames
[] = {
31763 (char *) "self", NULL
31766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31768 if (SWIG_arg_fail(1)) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_From_int(static_cast<int >(result
));
31785 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= NULL
;
31787 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 char *kwnames
[] = {
31791 (char *) "self", NULL
31794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31796 if (SWIG_arg_fail(1)) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_From_int(static_cast<int >(result
));
31813 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= NULL
;
31815 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31817 PyObject
* obj0
= 0 ;
31818 char *kwnames
[] = {
31819 (char *) "self", NULL
31822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31824 if (SWIG_arg_fail(1)) SWIG_fail
;
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31833 resultobj
= SWIG_From_int(static_cast<int >(result
));
31841 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
= NULL
;
31843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31845 PyObject
* obj0
= 0 ;
31846 char *kwnames
[] = {
31847 (char *) "self", NULL
31850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31852 if (SWIG_arg_fail(1)) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31869 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
= NULL
;
31871 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31872 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31874 PyObject
* obj0
= 0 ;
31875 PyObject
* obj1
= 0 ;
31876 char *kwnames
[] = {
31877 (char *) "self",(char *) "other", NULL
31880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail
;
31883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31884 if (SWIG_arg_fail(2)) SWIG_fail
;
31886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31901 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
= NULL
;
31903 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31904 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31906 PyObject
* obj0
= 0 ;
31907 PyObject
* obj1
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self",(char *) "other", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail
;
31915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31916 if (SWIG_arg_fail(2)) SWIG_fail
;
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31933 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= NULL
;
31935 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "self",(char *) "w", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail
;
31947 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31948 if (SWIG_arg_fail(2)) SWIG_fail
;
31950 if (arg1
) (arg1
)->w
= arg2
;
31952 Py_INCREF(Py_None
); resultobj
= Py_None
;
31959 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
= NULL
;
31961 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31963 PyObject
* obj0
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self", NULL
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31970 if (SWIG_arg_fail(1)) SWIG_fail
;
31971 result
= (int) ((arg1
)->w
);
31974 resultobj
= SWIG_From_int(static_cast<int >(result
));
31982 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
= NULL
;
31984 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 char *kwnames
[] = {
31989 (char *) "self",(char *) "h", NULL
31992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31994 if (SWIG_arg_fail(1)) SWIG_fail
;
31996 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31997 if (SWIG_arg_fail(2)) SWIG_fail
;
31999 if (arg1
) (arg1
)->h
= arg2
;
32001 Py_INCREF(Py_None
); resultobj
= Py_None
;
32008 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
= NULL
;
32010 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32012 PyObject
* obj0
= 0 ;
32013 char *kwnames
[] = {
32014 (char *) "self", NULL
32017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
32018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32019 if (SWIG_arg_fail(1)) SWIG_fail
;
32020 result
= (int) ((arg1
)->h
);
32023 resultobj
= SWIG_From_int(static_cast<int >(result
));
32031 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
= NULL
;
32033 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32035 PyObject
* obj0
= 0 ;
32036 PyObject
* obj1
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self",(char *) "bpp", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32043 if (SWIG_arg_fail(1)) SWIG_fail
;
32045 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32046 if (SWIG_arg_fail(2)) SWIG_fail
;
32048 if (arg1
) (arg1
)->bpp
= arg2
;
32050 Py_INCREF(Py_None
); resultobj
= Py_None
;
32057 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= NULL
;
32059 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32061 PyObject
* obj0
= 0 ;
32062 char *kwnames
[] = {
32063 (char *) "self", NULL
32066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
32067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32068 if (SWIG_arg_fail(1)) SWIG_fail
;
32069 result
= (int) ((arg1
)->bpp
);
32072 resultobj
= SWIG_From_int(static_cast<int >(result
));
32080 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= NULL
;
32082 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 char *kwnames
[] = {
32087 (char *) "self",(char *) "refresh", NULL
32090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32092 if (SWIG_arg_fail(1)) SWIG_fail
;
32094 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32095 if (SWIG_arg_fail(2)) SWIG_fail
;
32097 if (arg1
) (arg1
)->refresh
= arg2
;
32099 Py_INCREF(Py_None
); resultobj
= Py_None
;
32106 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
= NULL
;
32108 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32110 PyObject
* obj0
= 0 ;
32111 char *kwnames
[] = {
32112 (char *) "self", NULL
32115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
32116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32117 if (SWIG_arg_fail(1)) SWIG_fail
;
32118 result
= (int) ((arg1
)->refresh
);
32121 resultobj
= SWIG_From_int(static_cast<int >(result
));
32129 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
32131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32132 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32134 return Py_BuildValue((char *)"");
32136 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32137 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32142 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32143 PyObject
*pyobj
= NULL
;
32145 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32150 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= NULL
;
32152 size_t arg1
= (size_t) 0 ;
32154 PyObject
* obj0
= 0 ;
32155 char *kwnames
[] = {
32156 (char *) "index", NULL
32159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32162 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32163 if (SWIG_arg_fail(1)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (wxDisplay
*)new wxDisplay(arg1
);
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32180 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
= NULL
;
32182 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 char *kwnames
[] = {
32185 (char *) "self", NULL
32188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32190 if (SWIG_arg_fail(1)) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 Py_INCREF(Py_None
); resultobj
= Py_None
;
32205 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
= NULL
;
32208 char *kwnames
[] = {
32212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 result
= (size_t)wxDisplay::GetCount();
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32229 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
= NULL
;
32231 wxPoint
*arg1
= 0 ;
32234 PyObject
* obj0
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "pt", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32242 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_From_int(static_cast<int >(result
));
32260 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= NULL
;
32262 wxWindow
*arg1
= (wxWindow
*) 0 ;
32264 PyObject
* obj0
= 0 ;
32265 char *kwnames
[] = {
32266 (char *) "window", NULL
32269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32271 if (SWIG_arg_fail(1)) SWIG_fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (int)wxDisplay::GetFromWindow(arg1
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_From_int(static_cast<int >(result
));
32288 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
= NULL
;
32290 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32292 PyObject
* obj0
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail
;
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32316 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32317 PyObject
*resultobj
= NULL
;
32318 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32320 PyObject
* obj0
= 0 ;
32321 char *kwnames
[] = {
32322 (char *) "self", NULL
32325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32327 if (SWIG_arg_fail(1)) SWIG_fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32336 wxRect
* resultptr
;
32337 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32346 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
= NULL
;
32348 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32350 PyObject
* obj0
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32357 if (SWIG_arg_fail(1)) SWIG_fail
;
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= ((wxDisplay
const *)arg1
)->GetName();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32378 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
= NULL
;
32380 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32406 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
= NULL
;
32408 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32409 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32410 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32412 PyObject
* obj0
= 0 ;
32413 PyObject
* obj1
= 0 ;
32414 char *kwnames
[] = {
32415 (char *) "self",(char *) "mode", NULL
32418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32420 if (SWIG_arg_fail(1)) SWIG_fail
;
32423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32424 if (SWIG_arg_fail(2)) SWIG_fail
;
32425 if (arg2
== NULL
) {
32426 SWIG_null_ref("wxVideoMode");
32428 if (SWIG_arg_fail(2)) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= result
;
32445 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
= NULL
;
32447 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32448 wxVideoMode result
;
32449 PyObject
* obj0
= 0 ;
32450 char *kwnames
[] = {
32451 (char *) "self", NULL
32454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32456 if (SWIG_arg_fail(1)) SWIG_fail
;
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32465 wxVideoMode
* resultptr
;
32466 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32475 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
= NULL
;
32477 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32478 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32479 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32481 PyObject
* obj0
= 0 ;
32482 PyObject
* obj1
= 0 ;
32483 char *kwnames
[] = {
32484 (char *) "self",(char *) "mode", NULL
32487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32489 if (SWIG_arg_fail(1)) SWIG_fail
;
32492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32493 if (SWIG_arg_fail(2)) SWIG_fail
;
32494 if (arg2
== NULL
) {
32495 SWIG_null_ref("wxVideoMode");
32497 if (SWIG_arg_fail(2)) SWIG_fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32516 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32517 PyObject
*resultobj
= NULL
;
32518 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 char *kwnames
[] = {
32521 (char *) "self", NULL
32524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32526 if (SWIG_arg_fail(1)) SWIG_fail
;
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 (arg1
)->ResetMode();
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 Py_INCREF(Py_None
); resultobj
= Py_None
;
32541 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32544 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32546 return Py_BuildValue((char *)"");
32548 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32549 PyObject
*resultobj
= NULL
;
32550 wxStandardPaths
*result
;
32551 char *kwnames
[] = {
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32570 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32571 PyObject
*resultobj
= NULL
;
32572 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32574 PyObject
* obj0
= 0 ;
32575 char *kwnames
[] = {
32576 (char *) "self", NULL
32579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32602 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
= NULL
;
32604 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32606 PyObject
* obj0
= 0 ;
32607 char *kwnames
[] = {
32608 (char *) "self", NULL
32611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail
;
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32634 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
= NULL
;
32636 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32638 PyObject
* obj0
= 0 ;
32639 char *kwnames
[] = {
32640 (char *) "self", NULL
32643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32666 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32667 PyObject
*resultobj
= NULL
;
32668 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32670 PyObject
* obj0
= 0 ;
32671 char *kwnames
[] = {
32672 (char *) "self", NULL
32675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32677 if (SWIG_arg_fail(1)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32698 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= NULL
;
32700 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32702 PyObject
* obj0
= 0 ;
32703 char *kwnames
[] = {
32704 (char *) "self", NULL
32707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32709 if (SWIG_arg_fail(1)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32730 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
= NULL
;
32732 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32734 PyObject
* obj0
= 0 ;
32735 char *kwnames
[] = {
32736 (char *) "self", NULL
32739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32741 if (SWIG_arg_fail(1)) SWIG_fail
;
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32762 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= NULL
;
32764 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 char *kwnames
[] = {
32768 (char *) "self", NULL
32771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail
;
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32794 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
= NULL
;
32796 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32797 wxString
*arg2
= 0 ;
32798 bool temp2
= false ;
32799 PyObject
* obj0
= 0 ;
32800 PyObject
* obj1
= 0 ;
32801 char *kwnames
[] = {
32802 (char *) "self",(char *) "prefix", NULL
32805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32807 if (SWIG_arg_fail(1)) SWIG_fail
;
32809 arg2
= wxString_in_helper(obj1
);
32810 if (arg2
== NULL
) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32820 Py_INCREF(Py_None
); resultobj
= Py_None
;
32835 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
= NULL
;
32837 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32839 PyObject
* obj0
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32846 if (SWIG_arg_fail(1)) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32867 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32870 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32872 return Py_BuildValue((char *)"");
32874 static PyMethodDef SwigMethods
[] = {
32875 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32882 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32890 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32972 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32979 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32988 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
33007 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
33010 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
33013 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
33016 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
33022 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
33036 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
33042 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
33048 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
33051 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
33066 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
33069 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
33070 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
33073 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
33101 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
33103 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
33105 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
33107 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
33114 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
33120 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
33124 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33138 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33142 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33145 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33162 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33170 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33217 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33235 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33245 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33261 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33277 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33291 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33302 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33345 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33348 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33351 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33355 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33454 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33455 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33456 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33457 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33474 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33519 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33530 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33531 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33533 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33536 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33538 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33539 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33540 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33541 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33543 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33544 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33545 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33546 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33548 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33550 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33551 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33552 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33553 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33554 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33555 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33557 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33559 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33560 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33561 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33562 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33563 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33566 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33567 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33568 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33571 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33573 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33575 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33576 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33577 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33582 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33583 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33584 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33585 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33586 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33587 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33588 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33589 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33590 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33591 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33592 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33593 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33594 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33595 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33596 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33597 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33598 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33599 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33600 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33601 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33602 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33603 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33604 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33605 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33606 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33607 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33608 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33609 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33610 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33611 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33612 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33613 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33614 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33615 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33616 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33617 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33618 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33619 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33620 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33621 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33622 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33623 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33624 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33625 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33626 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33627 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33628 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33629 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33630 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33631 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33632 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33633 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33634 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33635 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33636 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33637 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33638 { (char *)"DropTarget_OnLeave", (PyCFunction
) _wrap_DropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33639 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33640 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33641 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33642 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33643 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33644 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33645 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33646 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33647 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33648 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33649 { (char *)"TextDropTarget_OnLeave", (PyCFunction
) _wrap_TextDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33650 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33651 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33652 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33653 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33654 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33655 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33656 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33657 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33658 { (char *)"FileDropTarget_OnLeave", (PyCFunction
) _wrap_FileDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33659 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33660 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33661 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33662 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33663 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33664 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33665 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33666 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33667 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33668 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33669 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33670 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33671 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33672 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33673 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33674 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33675 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33676 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33677 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33678 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33679 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33680 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33681 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33682 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33683 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33684 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33685 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33686 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33687 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33688 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33689 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33690 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33691 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33692 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33693 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33694 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33695 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33696 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33697 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33698 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33699 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33700 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33701 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33702 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33703 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33704 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33705 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33706 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33707 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33708 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33709 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33710 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33711 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33712 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33713 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33714 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33715 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33716 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33717 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33718 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33719 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33720 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33721 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33722 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33723 { NULL
, NULL
, 0, NULL
}
33727 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33729 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33732 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33733 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33735 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33736 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33738 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33739 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33741 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33742 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33744 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33745 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33747 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33748 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33750 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33751 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33753 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33756 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33757 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33759 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33762 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33763 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33765 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33766 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33768 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33771 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33772 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33774 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33775 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33777 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33778 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33780 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33781 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33783 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33784 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33786 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33787 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33789 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33792 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33793 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33795 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33796 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33798 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33801 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33802 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33804 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33805 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33807 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33808 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33810 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33811 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33813 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33814 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33816 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33817 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33819 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33820 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33822 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33823 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33825 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33826 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33828 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33829 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33831 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33834 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33835 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33837 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33838 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33840 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33841 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33843 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33844 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33846 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33847 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33849 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33850 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33852 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33853 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33855 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33856 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33858 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33859 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33861 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33862 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33864 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33865 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33867 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33868 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33870 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33871 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33873 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33874 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33876 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33877 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33879 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33880 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33882 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33883 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33885 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33886 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33888 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33889 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33891 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33892 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33894 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33895 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33897 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33898 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33900 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33901 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33903 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33904 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33906 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33907 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33909 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33910 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33912 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33913 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33915 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33918 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33919 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33921 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33924 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33925 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33927 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33928 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33930 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33931 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33933 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33934 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33936 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33937 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33939 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33940 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33942 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33943 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33945 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33946 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33948 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33951 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33954 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33957 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33960 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33963 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33966 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33969 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) ((wxSizer
*) x
));
33972 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33975 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33978 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33981 static void *_p_wxEventTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) ((wxEvent
*) x
));
33984 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33987 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33990 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33993 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33996 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33999 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34002 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34005 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34008 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34011 static void *_p_wxControlTo_p_wxObject(void *x
) {
34012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34017 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
34018 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
34020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34023 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
34024 return (void *)((wxObject
*) ((wxClipboard
*) x
));
34026 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34027 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34029 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34030 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34032 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34035 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34036 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34038 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
34039 return (void *)((wxObject
*) ((wxToolTip
*) x
));
34041 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34042 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34044 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
34045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
34047 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34048 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34050 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34053 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34054 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34056 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34057 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34059 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34060 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34062 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34063 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34065 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34066 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34068 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34069 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34071 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34074 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34077 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34080 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34083 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34086 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34087 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34089 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34090 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34092 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34093 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34095 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34098 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34101 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34102 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34104 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34107 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34110 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34111 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34113 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34114 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34116 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34117 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34119 static void *_p_wxImageTo_p_wxObject(void *x
) {
34120 return (void *)((wxObject
*) ((wxImage
*) x
));
34122 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34123 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34125 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
34126 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
34128 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
34129 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
34131 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34134 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34135 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34137 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34138 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34140 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34141 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34143 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34146 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34149 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34150 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34152 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34153 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34155 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34158 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34159 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34161 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34162 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34164 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34165 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34167 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34168 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34170 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34171 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34173 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34174 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34176 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34179 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34180 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34182 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34183 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34185 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34186 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34188 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34191 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34192 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34194 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34197 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34200 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34201 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34203 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34204 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34206 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34207 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34209 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34210 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34212 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34213 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34215 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34216 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34218 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34219 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34221 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34222 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34224 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34225 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34227 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34228 return (void *)((wxWindow
*) ((wxControl
*) x
));
34230 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34231 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34233 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34234 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34236 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34237 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34239 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34240 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34242 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34243 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34244 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34245 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34246 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34247 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34248 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34249 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34250 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34251 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34252 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34253 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34254 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34255 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34256 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34257 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34258 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34259 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34260 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34275 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34276 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34277 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34278 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34279 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34280 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34281 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34282 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34283 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34284 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34285 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34286 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34287 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34288 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34289 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34290 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34291 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34292 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34293 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34294 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34295 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34296 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34297 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34298 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34299 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34300 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34301 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34302 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34303 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34304 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34305 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34306 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34307 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34308 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34309 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34310 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34311 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34312 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34313 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34314 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34315 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34316 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34317 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34318 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34319 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34320 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34321 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34322 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34323 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34324 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34325 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34326 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34327 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34328 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34329 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34330 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34331 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34332 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34333 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34334 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34335 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34336 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34337 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34338 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34339 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34340 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34341 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34342 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34343 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34344 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34345 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34346 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34347 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34348 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34349 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34350 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34351 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34352 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34353 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34354 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34355 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34356 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34357 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34358 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34359 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34360 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34361 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34362 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34363 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34364 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34365 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34366 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34367 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34368 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34369 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34370 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34371 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34372 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34373 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34374 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34375 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34376 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34377 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34378 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34379 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34380 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34381 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34382 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34383 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34384 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34385 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34386 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34387 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34388 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34389 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34390 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34391 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34392 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34393 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34394 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34395 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34396 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34397 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34398 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34399 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34400 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34401 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34402 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34403 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34404 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34405 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34406 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34407 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34408 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34409 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34410 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34411 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34412 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34413 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34414 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34416 static swig_type_info
*swig_type_initial
[] = {
34418 &_swigt__p_form_ops_t
,
34420 &_swigt__p_unsigned_char
,
34421 &_swigt__p_unsigned_int
,
34422 &_swigt__p_unsigned_long
,
34424 &_swigt__p_wxANIHandler
,
34425 &_swigt__p_wxAcceleratorTable
,
34426 &_swigt__p_wxActivateEvent
,
34427 &_swigt__p_wxArrayString
,
34428 &_swigt__p_wxBMPHandler
,
34429 &_swigt__p_wxBitmap
,
34430 &_swigt__p_wxBitmapDataObject
,
34431 &_swigt__p_wxBoxSizer
,
34432 &_swigt__p_wxBusyCursor
,
34433 &_swigt__p_wxBusyInfo
,
34434 &_swigt__p_wxCURHandler
,
34435 &_swigt__p_wxCaret
,
34437 &_swigt__p_wxChildFocusEvent
,
34438 &_swigt__p_wxClipboard
,
34439 &_swigt__p_wxClipboardLocker
,
34440 &_swigt__p_wxCloseEvent
,
34441 &_swigt__p_wxColour
,
34442 &_swigt__p_wxCommandEvent
,
34443 &_swigt__p_wxConfig
,
34444 &_swigt__p_wxConfigBase
,
34445 &_swigt__p_wxConfigPathChanger
,
34446 &_swigt__p_wxContextMenuEvent
,
34447 &_swigt__p_wxControl
,
34448 &_swigt__p_wxControlWithItems
,
34449 &_swigt__p_wxCursor
,
34450 &_swigt__p_wxCustomDataObject
,
34452 &_swigt__p_wxDataFormat
,
34453 &_swigt__p_wxDataObject
,
34454 &_swigt__p_wxDataObjectComposite
,
34455 &_swigt__p_wxDataObjectSimple
,
34456 &_swigt__p_wxDateEvent
,
34457 &_swigt__p_wxDateSpan
,
34458 &_swigt__p_wxDateTime
,
34459 &_swigt__p_wxDateTime__TimeZone
,
34460 &_swigt__p_wxDisplay
,
34461 &_swigt__p_wxDisplayChangedEvent
,
34462 &_swigt__p_wxDropFilesEvent
,
34463 &_swigt__p_wxDuplexMode
,
34464 &_swigt__p_wxEraseEvent
,
34465 &_swigt__p_wxEvent
,
34466 &_swigt__p_wxEvtHandler
,
34467 &_swigt__p_wxFSFile
,
34468 &_swigt__p_wxFileConfig
,
34469 &_swigt__p_wxFileDataObject
,
34470 &_swigt__p_wxFileHistory
,
34471 &_swigt__p_wxFileSystem
,
34472 &_swigt__p_wxFileType
,
34473 &_swigt__p_wxFileTypeInfo
,
34474 &_swigt__p_wxFlexGridSizer
,
34475 &_swigt__p_wxFocusEvent
,
34477 &_swigt__p_wxFrame
,
34478 &_swigt__p_wxGBSizerItem
,
34479 &_swigt__p_wxGIFHandler
,
34480 &_swigt__p_wxGridBagSizer
,
34481 &_swigt__p_wxGridSizer
,
34482 &_swigt__p_wxICOHandler
,
34484 &_swigt__p_wxIconizeEvent
,
34485 &_swigt__p_wxIdleEvent
,
34486 &_swigt__p_wxImage
,
34487 &_swigt__p_wxImageHandler
,
34488 &_swigt__p_wxIndividualLayoutConstraint
,
34489 &_swigt__p_wxInitDialogEvent
,
34490 &_swigt__p_wxJPEGHandler
,
34491 &_swigt__p_wxJoystick
,
34492 &_swigt__p_wxJoystickEvent
,
34493 &_swigt__p_wxKeyEvent
,
34494 &_swigt__p_wxKillError
,
34495 &_swigt__p_wxLayoutConstraints
,
34497 &_swigt__p_wxLogBuffer
,
34498 &_swigt__p_wxLogChain
,
34499 &_swigt__p_wxLogGui
,
34500 &_swigt__p_wxLogNull
,
34501 &_swigt__p_wxLogStderr
,
34502 &_swigt__p_wxLogTextCtrl
,
34503 &_swigt__p_wxLogWindow
,
34504 &_swigt__p_wxMaximizeEvent
,
34505 &_swigt__p_wxMemorySize
,
34507 &_swigt__p_wxMenuBar
,
34508 &_swigt__p_wxMenuEvent
,
34509 &_swigt__p_wxMenuItem
,
34510 &_swigt__p_wxMetafile
,
34511 &_swigt__p_wxMetafileDataObject
,
34512 &_swigt__p_wxMimeTypesManager
,
34513 &_swigt__p_wxMouseCaptureChangedEvent
,
34514 &_swigt__p_wxMouseEvent
,
34515 &_swigt__p_wxMouseState
,
34516 &_swigt__p_wxMoveEvent
,
34517 &_swigt__p_wxMutexGuiLocker
,
34518 &_swigt__p_wxNavigationKeyEvent
,
34519 &_swigt__p_wxNcPaintEvent
,
34520 &_swigt__p_wxNotifyEvent
,
34521 &_swigt__p_wxObject
,
34522 &_swigt__p_wxOutputStream
,
34523 &_swigt__p_wxPCXHandler
,
34524 &_swigt__p_wxPNGHandler
,
34525 &_swigt__p_wxPNMHandler
,
34526 &_swigt__p_wxPaintEvent
,
34527 &_swigt__p_wxPaletteChangedEvent
,
34528 &_swigt__p_wxPaperSize
,
34529 &_swigt__p_wxPoint
,
34530 &_swigt__p_wxProcessEvent
,
34531 &_swigt__p_wxPyApp
,
34532 &_swigt__p_wxPyArtProvider
,
34533 &_swigt__p_wxPyBitmapDataObject
,
34534 &_swigt__p_wxPyCommandEvent
,
34535 &_swigt__p_wxPyDataObjectSimple
,
34536 &_swigt__p_wxPyDropSource
,
34537 &_swigt__p_wxPyDropTarget
,
34538 &_swigt__p_wxPyEvent
,
34539 &_swigt__p_wxPyFileDropTarget
,
34540 &_swigt__p_wxPyImageHandler
,
34541 &_swigt__p_wxPyLog
,
34542 &_swigt__p_wxPyProcess
,
34543 &_swigt__p_wxPySizer
,
34544 &_swigt__p_wxPyTextDataObject
,
34545 &_swigt__p_wxPyTextDropTarget
,
34546 &_swigt__p_wxPyTimer
,
34547 &_swigt__p_wxPyTipProvider
,
34548 &_swigt__p_wxPyValidator
,
34549 &_swigt__p_wxQueryNewPaletteEvent
,
34551 &_swigt__p_wxScrollEvent
,
34552 &_swigt__p_wxScrollWinEvent
,
34553 &_swigt__p_wxSetCursorEvent
,
34554 &_swigt__p_wxShowEvent
,
34555 &_swigt__p_wxSingleInstanceChecker
,
34557 &_swigt__p_wxSizeEvent
,
34558 &_swigt__p_wxSizer
,
34559 &_swigt__p_wxSizerItem
,
34560 &_swigt__p_wxSound
,
34561 &_swigt__p_wxStandardPaths
,
34562 &_swigt__p_wxStaticBoxSizer
,
34563 &_swigt__p_wxStdDialogButtonSizer
,
34564 &_swigt__p_wxStopWatch
,
34565 &_swigt__p_wxString
,
34566 &_swigt__p_wxSysColourChangedEvent
,
34567 &_swigt__p_wxSystemOptions
,
34568 &_swigt__p_wxSystemSettings
,
34569 &_swigt__p_wxTIFFHandler
,
34570 &_swigt__p_wxTextCtrl
,
34571 &_swigt__p_wxTextDataObject
,
34572 &_swigt__p_wxTimeSpan
,
34573 &_swigt__p_wxTimer
,
34574 &_swigt__p_wxTimerEvent
,
34575 &_swigt__p_wxTimerRunner
,
34576 &_swigt__p_wxTipProvider
,
34577 &_swigt__p_wxToolTip
,
34578 &_swigt__p_wxURLDataObject
,
34579 &_swigt__p_wxUpdateUIEvent
,
34580 &_swigt__p_wxValidator
,
34581 &_swigt__p_wxVideoMode
,
34582 &_swigt__p_wxWindow
,
34583 &_swigt__p_wxWindowCreateEvent
,
34584 &_swigt__p_wxWindowDestroyEvent
,
34585 &_swigt__p_wxWindowDisabler
,
34586 &_swigt__p_wxXPMHandler
,
34587 &_swigt__ptrdiff_t
,
34588 &_swigt__std__ptrdiff_t
,
34589 &_swigt__unsigned_int
,
34592 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34593 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34597 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34598 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34599 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34600 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34601 static swig_cast_info _swigc__p_wxBitmapDataObject
[] = { {&_swigt__p_wxBitmapDataObject
, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
, 0, 0},{0, 0, 0, 0}};
34602 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34603 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34605 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34606 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34607 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34608 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34609 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34610 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxFileConfig
, _p_wxFileConfigTo_p_wxConfigBase
, 0, 0}, {&_swigt__p_wxConfigBase
, 0, 0, 0}, {&_swigt__p_wxConfig
, _p_wxConfigTo_p_wxConfigBase
, 0, 0},{0, 0, 0, 0}};
34611 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34612 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34615 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34616 static swig_cast_info _swigc__p_wxDataObject
[] = { {&_swigt__p_wxDataObjectSimple
, _p_wxDataObjectSimpleTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyDataObjectSimple
, _p_wxPyDataObjectSimpleTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxDataObjectComposite
, _p_wxDataObjectCompositeTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxDataObject
, 0, 0, 0}, {&_swigt__p_wxTextDataObject
, _p_wxTextDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxBitmapDataObject
, _p_wxBitmapDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxFileDataObject
, _p_wxFileDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxCustomDataObject
, _p_wxCustomDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxMetafileDataObject
, _p_wxMetafileDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxURLDataObject
, _p_wxURLDataObjectTo_p_wxDataObject
, 0, 0},{0, 0, 0, 0}};
34617 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34618 static swig_cast_info _swigc__p_wxDataObjectSimple
[] = { {&_swigt__p_wxDataObjectSimple
, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple
, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxTextDataObject
, _p_wxTextDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxBitmapDataObject
, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxFileDataObject
, _p_wxFileDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxCustomDataObject
, _p_wxCustomDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxMetafileDataObject
, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
, 0, 0},{0, 0, 0, 0}};
34619 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34620 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34621 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34624 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34625 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34629 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34631 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34632 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34633 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34634 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34635 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34636 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34637 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34638 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34639 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34640 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34641 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34642 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34643 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34644 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34645 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34646 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34647 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34648 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34649 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34650 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34651 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34652 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34653 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34654 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34655 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34656 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34657 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34658 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34659 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34660 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
34661 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34662 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34663 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34664 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34665 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34666 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34667 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
34668 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34669 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34670 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34671 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34672 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34673 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34674 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34675 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34676 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34677 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34678 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34679 static swig_cast_info _swigc__p_wxLog
[] = { {&_swigt__p_wxLogBuffer
, _p_wxLogBufferTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogStderr
, _p_wxLogStderrTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogTextCtrl
, _p_wxLogTextCtrlTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogWindow
, _p_wxLogWindowTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogChain
, _p_wxLogChainTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogGui
, _p_wxLogGuiTo_p_wxLog
, 0, 0}, {&_swigt__p_wxPyLog
, _p_wxPyLogTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLog
, 0, 0, 0},{0, 0, 0, 0}};
34680 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34681 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34682 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34683 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34684 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34685 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34686 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34687 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34688 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34689 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34690 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34691 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34692 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34693 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34694 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34695 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34696 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34697 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34698 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34699 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34700 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34701 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34702 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34703 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34704 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34705 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34706 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34707 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34708 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34709 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34710 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34711 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34712 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34713 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34714 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34715 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34716 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34717 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34718 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34719 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34720 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34721 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34722 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34723 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34724 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
34725 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34726 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34727 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34728 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34729 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34730 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34731 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34732 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34733 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget
, _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0}, {&_swigt__p_wxPyFileDropTarget
, _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0},{0, 0, 0, 0}};
34734 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34735 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34736 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34737 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34738 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34739 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34740 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34741 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34742 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34743 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34744 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34745 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34746 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34747 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34748 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34749 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34750 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34751 static swig_cast_info _swigc__p_wxTextDataObject
[] = { {&_swigt__p_wxTextDataObject
, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0},{0, 0, 0, 0}};
34752 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34753 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34754 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34755 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34756 static swig_cast_info _swigc__p_wxTipProvider
[] = { {&_swigt__p_wxTipProvider
, 0, 0, 0}, {&_swigt__p_wxPyTipProvider
, _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0},{0, 0, 0, 0}};
34757 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34758 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34759 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34760 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
34761 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34762 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34763 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34764 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34766 static swig_cast_info
*swig_cast_initial
[] = {
34768 _swigc__p_form_ops_t
,
34770 _swigc__p_unsigned_char
,
34771 _swigc__p_unsigned_int
,
34772 _swigc__p_unsigned_long
,
34774 _swigc__p_wxANIHandler
,
34775 _swigc__p_wxAcceleratorTable
,
34776 _swigc__p_wxActivateEvent
,
34777 _swigc__p_wxArrayString
,
34778 _swigc__p_wxBMPHandler
,
34779 _swigc__p_wxBitmap
,
34780 _swigc__p_wxBitmapDataObject
,
34781 _swigc__p_wxBoxSizer
,
34782 _swigc__p_wxBusyCursor
,
34783 _swigc__p_wxBusyInfo
,
34784 _swigc__p_wxCURHandler
,
34787 _swigc__p_wxChildFocusEvent
,
34788 _swigc__p_wxClipboard
,
34789 _swigc__p_wxClipboardLocker
,
34790 _swigc__p_wxCloseEvent
,
34791 _swigc__p_wxColour
,
34792 _swigc__p_wxCommandEvent
,
34793 _swigc__p_wxConfig
,
34794 _swigc__p_wxConfigBase
,
34795 _swigc__p_wxConfigPathChanger
,
34796 _swigc__p_wxContextMenuEvent
,
34797 _swigc__p_wxControl
,
34798 _swigc__p_wxControlWithItems
,
34799 _swigc__p_wxCursor
,
34800 _swigc__p_wxCustomDataObject
,
34802 _swigc__p_wxDataFormat
,
34803 _swigc__p_wxDataObject
,
34804 _swigc__p_wxDataObjectComposite
,
34805 _swigc__p_wxDataObjectSimple
,
34806 _swigc__p_wxDateEvent
,
34807 _swigc__p_wxDateSpan
,
34808 _swigc__p_wxDateTime
,
34809 _swigc__p_wxDateTime__TimeZone
,
34810 _swigc__p_wxDisplay
,
34811 _swigc__p_wxDisplayChangedEvent
,
34812 _swigc__p_wxDropFilesEvent
,
34813 _swigc__p_wxDuplexMode
,
34814 _swigc__p_wxEraseEvent
,
34816 _swigc__p_wxEvtHandler
,
34817 _swigc__p_wxFSFile
,
34818 _swigc__p_wxFileConfig
,
34819 _swigc__p_wxFileDataObject
,
34820 _swigc__p_wxFileHistory
,
34821 _swigc__p_wxFileSystem
,
34822 _swigc__p_wxFileType
,
34823 _swigc__p_wxFileTypeInfo
,
34824 _swigc__p_wxFlexGridSizer
,
34825 _swigc__p_wxFocusEvent
,
34828 _swigc__p_wxGBSizerItem
,
34829 _swigc__p_wxGIFHandler
,
34830 _swigc__p_wxGridBagSizer
,
34831 _swigc__p_wxGridSizer
,
34832 _swigc__p_wxICOHandler
,
34834 _swigc__p_wxIconizeEvent
,
34835 _swigc__p_wxIdleEvent
,
34837 _swigc__p_wxImageHandler
,
34838 _swigc__p_wxIndividualLayoutConstraint
,
34839 _swigc__p_wxInitDialogEvent
,
34840 _swigc__p_wxJPEGHandler
,
34841 _swigc__p_wxJoystick
,
34842 _swigc__p_wxJoystickEvent
,
34843 _swigc__p_wxKeyEvent
,
34844 _swigc__p_wxKillError
,
34845 _swigc__p_wxLayoutConstraints
,
34847 _swigc__p_wxLogBuffer
,
34848 _swigc__p_wxLogChain
,
34849 _swigc__p_wxLogGui
,
34850 _swigc__p_wxLogNull
,
34851 _swigc__p_wxLogStderr
,
34852 _swigc__p_wxLogTextCtrl
,
34853 _swigc__p_wxLogWindow
,
34854 _swigc__p_wxMaximizeEvent
,
34855 _swigc__p_wxMemorySize
,
34857 _swigc__p_wxMenuBar
,
34858 _swigc__p_wxMenuEvent
,
34859 _swigc__p_wxMenuItem
,
34860 _swigc__p_wxMetafile
,
34861 _swigc__p_wxMetafileDataObject
,
34862 _swigc__p_wxMimeTypesManager
,
34863 _swigc__p_wxMouseCaptureChangedEvent
,
34864 _swigc__p_wxMouseEvent
,
34865 _swigc__p_wxMouseState
,
34866 _swigc__p_wxMoveEvent
,
34867 _swigc__p_wxMutexGuiLocker
,
34868 _swigc__p_wxNavigationKeyEvent
,
34869 _swigc__p_wxNcPaintEvent
,
34870 _swigc__p_wxNotifyEvent
,
34871 _swigc__p_wxObject
,
34872 _swigc__p_wxOutputStream
,
34873 _swigc__p_wxPCXHandler
,
34874 _swigc__p_wxPNGHandler
,
34875 _swigc__p_wxPNMHandler
,
34876 _swigc__p_wxPaintEvent
,
34877 _swigc__p_wxPaletteChangedEvent
,
34878 _swigc__p_wxPaperSize
,
34880 _swigc__p_wxProcessEvent
,
34882 _swigc__p_wxPyArtProvider
,
34883 _swigc__p_wxPyBitmapDataObject
,
34884 _swigc__p_wxPyCommandEvent
,
34885 _swigc__p_wxPyDataObjectSimple
,
34886 _swigc__p_wxPyDropSource
,
34887 _swigc__p_wxPyDropTarget
,
34888 _swigc__p_wxPyEvent
,
34889 _swigc__p_wxPyFileDropTarget
,
34890 _swigc__p_wxPyImageHandler
,
34892 _swigc__p_wxPyProcess
,
34893 _swigc__p_wxPySizer
,
34894 _swigc__p_wxPyTextDataObject
,
34895 _swigc__p_wxPyTextDropTarget
,
34896 _swigc__p_wxPyTimer
,
34897 _swigc__p_wxPyTipProvider
,
34898 _swigc__p_wxPyValidator
,
34899 _swigc__p_wxQueryNewPaletteEvent
,
34901 _swigc__p_wxScrollEvent
,
34902 _swigc__p_wxScrollWinEvent
,
34903 _swigc__p_wxSetCursorEvent
,
34904 _swigc__p_wxShowEvent
,
34905 _swigc__p_wxSingleInstanceChecker
,
34907 _swigc__p_wxSizeEvent
,
34909 _swigc__p_wxSizerItem
,
34911 _swigc__p_wxStandardPaths
,
34912 _swigc__p_wxStaticBoxSizer
,
34913 _swigc__p_wxStdDialogButtonSizer
,
34914 _swigc__p_wxStopWatch
,
34915 _swigc__p_wxString
,
34916 _swigc__p_wxSysColourChangedEvent
,
34917 _swigc__p_wxSystemOptions
,
34918 _swigc__p_wxSystemSettings
,
34919 _swigc__p_wxTIFFHandler
,
34920 _swigc__p_wxTextCtrl
,
34921 _swigc__p_wxTextDataObject
,
34922 _swigc__p_wxTimeSpan
,
34924 _swigc__p_wxTimerEvent
,
34925 _swigc__p_wxTimerRunner
,
34926 _swigc__p_wxTipProvider
,
34927 _swigc__p_wxToolTip
,
34928 _swigc__p_wxURLDataObject
,
34929 _swigc__p_wxUpdateUIEvent
,
34930 _swigc__p_wxValidator
,
34931 _swigc__p_wxVideoMode
,
34932 _swigc__p_wxWindow
,
34933 _swigc__p_wxWindowCreateEvent
,
34934 _swigc__p_wxWindowDestroyEvent
,
34935 _swigc__p_wxWindowDisabler
,
34936 _swigc__p_wxXPMHandler
,
34938 _swigc__std__ptrdiff_t
,
34939 _swigc__unsigned_int
,
34943 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34945 static swig_const_info swig_const_table
[] = {
34946 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34947 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34948 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34949 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34950 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34951 {0, 0, 0, 0.0, 0, 0}};
34956 /*************************************************************************
34957 * Type initialization:
34958 * This problem is tough by the requirement that no dynamic
34959 * memory is used. Also, since swig_type_info structures store pointers to
34960 * swig_cast_info structures and swig_cast_info structures store pointers back
34961 * to swig_type_info structures, we need some lookup code at initialization.
34962 * The idea is that swig generates all the structures that are needed.
34963 * The runtime then collects these partially filled structures.
34964 * The SWIG_InitializeModule function takes these initial arrays out of
34965 * swig_module, and does all the lookup, filling in the swig_module.types
34966 * array with the correct data and linking the correct swig_cast_info
34967 * structures together.
34969 * The generated swig_type_info structures are assigned staticly to an initial
34970 * array. We just loop though that array, and handle each type individually.
34971 * First we lookup if this type has been already loaded, and if so, use the
34972 * loaded structure instead of the generated one. Then we have to fill in the
34973 * cast linked list. The cast data is initially stored in something like a
34974 * two-dimensional array. Each row corresponds to a type (there are the same
34975 * number of rows as there are in the swig_type_initial array). Each entry in
34976 * a column is one of the swig_cast_info structures for that type.
34977 * The cast_initial array is actually an array of arrays, because each row has
34978 * a variable number of columns. So to actually build the cast linked list,
34979 * we find the array of casts associated with the type, and loop through it
34980 * adding the casts to the list. The one last trick we need to do is making
34981 * sure the type pointer in the swig_cast_info struct is correct.
34983 * First off, we lookup the cast->type name to see if it is already loaded.
34984 * There are three cases to handle:
34985 * 1) If the cast->type has already been loaded AND the type we are adding
34986 * casting info to has not been loaded (it is in this module), THEN we
34987 * replace the cast->type pointer with the type pointer that has already
34989 * 2) If BOTH types (the one we are adding casting info to, and the
34990 * cast->type) are loaded, THEN the cast info has already been loaded by
34991 * the previous module so we just ignore it.
34992 * 3) Finally, if cast->type has not already been loaded, then we add that
34993 * swig_cast_info to the linked list (because the cast->type) pointer will
35005 #define SWIGRUNTIME_DEBUG
35009 SWIG_InitializeModule(void *clientdata
) {
35011 swig_module_info
*module_head
;
35012 static int init_run
= 0;
35014 clientdata
= clientdata
;
35016 if (init_run
) return;
35019 /* Initialize the swig_module */
35020 swig_module
.type_initial
= swig_type_initial
;
35021 swig_module
.cast_initial
= swig_cast_initial
;
35023 /* Try and load any already created modules */
35024 module_head
= SWIG_GetModule(clientdata
);
35026 swig_module
.next
= module_head
->next
;
35027 module_head
->next
= &swig_module
;
35029 /* This is the first module loaded */
35030 swig_module
.next
= &swig_module
;
35031 SWIG_SetModule(clientdata
, &swig_module
);
35034 /* Now work on filling in swig_module.types */
35035 #ifdef SWIGRUNTIME_DEBUG
35036 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
35038 for (i
= 0; i
< swig_module
.size
; ++i
) {
35039 swig_type_info
*type
= 0;
35040 swig_type_info
*ret
;
35041 swig_cast_info
*cast
;
35043 #ifdef SWIGRUNTIME_DEBUG
35044 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35047 /* if there is another module already loaded */
35048 if (swig_module
.next
!= &swig_module
) {
35049 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
35052 /* Overwrite clientdata field */
35053 #ifdef SWIGRUNTIME_DEBUG
35054 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
35056 if (swig_module
.type_initial
[i
]->clientdata
) {
35057 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
35058 #ifdef SWIGRUNTIME_DEBUG
35059 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
35063 type
= swig_module
.type_initial
[i
];
35066 /* Insert casting types */
35067 cast
= swig_module
.cast_initial
[i
];
35068 while (cast
->type
) {
35069 /* Don't need to add information already in the list */
35071 #ifdef SWIGRUNTIME_DEBUG
35072 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35074 if (swig_module
.next
!= &swig_module
) {
35075 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35076 #ifdef SWIGRUNTIME_DEBUG
35077 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35081 if (type
== swig_module
.type_initial
[i
]) {
35082 #ifdef SWIGRUNTIME_DEBUG
35083 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35088 /* Check for casting already in the list */
35089 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35090 #ifdef SWIGRUNTIME_DEBUG
35091 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35093 if (!ocast
) ret
= 0;
35098 #ifdef SWIGRUNTIME_DEBUG
35099 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35102 type
->cast
->prev
= cast
;
35103 cast
->next
= type
->cast
;
35109 /* Set entry in modules->types array equal to the type */
35110 swig_module
.types
[i
] = type
;
35112 swig_module
.types
[i
] = 0;
35114 #ifdef SWIGRUNTIME_DEBUG
35115 printf("**** SWIG_InitializeModule: Cast List ******\n");
35116 for (i
= 0; i
< swig_module
.size
; ++i
) {
35118 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35119 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35120 while (cast
->type
) {
35121 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35125 printf("---- Total casts: %d\n",j
);
35127 printf("**** SWIG_InitializeModule: Cast List ******\n");
35131 /* This function will propagate the clientdata field of type to
35132 * any new swig_type_info structures that have been added into the list
35133 * of equivalent types. It is like calling
35134 * SWIG_TypeClientData(type, clientdata) a second time.
35137 SWIG_PropagateClientData(void) {
35139 swig_cast_info
*equiv
;
35140 static int init_run
= 0;
35142 if (init_run
) return;
35145 for (i
= 0; i
< swig_module
.size
; i
++) {
35146 if (swig_module
.types
[i
]->clientdata
) {
35147 equiv
= swig_module
.types
[i
]->cast
;
35149 if (!equiv
->converter
) {
35150 if (equiv
->type
&& !equiv
->type
->clientdata
)
35151 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35153 equiv
= equiv
->next
;
35173 /* Python-specific SWIG API */
35174 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35175 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35176 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35178 /* -----------------------------------------------------------------------------
35179 * global variable support code.
35180 * ----------------------------------------------------------------------------- */
35182 typedef struct swig_globalvar
{
35183 char *name
; /* Name of global variable */
35184 PyObject
*(*get_attr
)(void); /* Return the current value */
35185 int (*set_attr
)(PyObject
*); /* Set the value */
35186 struct swig_globalvar
*next
;
35189 typedef struct swig_varlinkobject
{
35191 swig_globalvar
*vars
;
35192 } swig_varlinkobject
;
35194 SWIGINTERN PyObject
*
35195 swig_varlink_repr(swig_varlinkobject
*v
) {
35197 return PyString_FromString("<Swig global variables>");
35201 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35202 swig_globalvar
*var
;
35204 fprintf(fp
,"Swig global variables { ");
35205 for (var
= v
->vars
; var
; var
=var
->next
) {
35206 fprintf(fp
,"%s", var
->name
);
35207 if (var
->next
) fprintf(fp
,", ");
35209 fprintf(fp
," }\n");
35213 SWIGINTERN PyObject
*
35214 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35215 swig_globalvar
*var
= v
->vars
;
35217 if (strcmp(var
->name
,n
) == 0) {
35218 return (*var
->get_attr
)();
35222 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35227 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35228 swig_globalvar
*var
= v
->vars
;
35230 if (strcmp(var
->name
,n
) == 0) {
35231 return (*var
->set_attr
)(p
);
35235 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35239 SWIGINTERN PyTypeObject
*
35240 swig_varlink_type(void) {
35241 static char varlink__doc__
[] = "Swig var link object";
35242 static PyTypeObject varlink_type
35243 #if !defined(__cplusplus)
35245 static int type_init
= 0;
35250 PyObject_HEAD_INIT(&PyType_Type
)
35251 0, /* Number of items in variable part (ob_size) */
35252 (char *)"swigvarlink", /* Type name (tp_name) */
35253 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35254 0, /* Itemsize (tp_itemsize) */
35255 0, /* Deallocator (tp_dealloc) */
35256 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35257 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35258 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35259 0, /* tp_compare */
35260 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35261 0, /* tp_as_number */
35262 0, /* tp_as_sequence */
35263 0, /* tp_as_mapping */
35267 0, /* tp_getattro */
35268 0, /* tp_setattro */
35269 0, /* tp_as_buffer */
35271 varlink__doc__
, /* tp_doc */
35272 #if PY_VERSION_HEX >= 0x02000000
35273 0, /* tp_traverse */
35276 #if PY_VERSION_HEX >= 0x02010000
35277 0, /* tp_richcompare */
35278 0, /* tp_weaklistoffset */
35280 #if PY_VERSION_HEX >= 0x02020000
35281 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35283 #if PY_VERSION_HEX >= 0x02030000
35286 #ifdef COUNT_ALLOCS
35287 0,0,0,0 /* tp_alloc -> tp_next */
35290 #if !defined(__cplusplus)
35291 varlink_type
= tmp
;
35295 return &varlink_type
;
35298 /* Create a variable linking object for use later */
35299 SWIGINTERN PyObject
*
35300 SWIG_Python_newvarlink(void) {
35301 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35305 return ((PyObject
*) result
);
35309 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35310 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35311 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35313 size_t size
= strlen(name
)+1;
35314 gv
->name
= (char *)malloc(size
);
35316 strncpy(gv
->name
,name
,size
);
35317 gv
->get_attr
= get_attr
;
35318 gv
->set_attr
= set_attr
;
35319 gv
->next
= v
->vars
;
35325 /* -----------------------------------------------------------------------------
35326 * constants/methods manipulation
35327 * ----------------------------------------------------------------------------- */
35329 /* Install Constants */
35331 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35334 for (i
= 0; constants
[i
].type
; ++i
) {
35335 switch(constants
[i
].type
) {
35337 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35339 case SWIG_PY_FLOAT
:
35340 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35342 case SWIG_PY_STRING
:
35343 if (constants
[i
].pvalue
) {
35344 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35346 Py_INCREF(Py_None
);
35350 case SWIG_PY_POINTER
:
35351 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35353 case SWIG_PY_BINARY
:
35354 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35361 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35367 /* -----------------------------------------------------------------------------*/
35368 /* Fix SwigMethods to carry the callback ptrs when needed */
35369 /* -----------------------------------------------------------------------------*/
35372 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35373 swig_const_info
*const_table
,
35374 swig_type_info
**types
,
35375 swig_type_info
**types_initial
) {
35377 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35378 char *c
= methods
[i
].ml_doc
;
35379 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35381 swig_const_info
*ci
= 0;
35382 char *name
= c
+ 10;
35383 for (j
= 0; const_table
[j
].type
; ++j
) {
35384 if (strncmp(const_table
[j
].name
, name
,
35385 strlen(const_table
[j
].name
)) == 0) {
35386 ci
= &(const_table
[j
]);
35391 size_t shift
= (ci
->ptype
) - types
;
35392 swig_type_info
*ty
= types_initial
[shift
];
35393 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35394 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35395 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35398 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35400 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35402 strncpy(buff
, "swig_ptr: ", 10);
35404 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35405 methods
[i
].ml_doc
= ndoc
;
35413 /* -----------------------------------------------------------------------------*
35414 * Initialize type list
35415 * -----------------------------------------------------------------------------*/
35421 /* -----------------------------------------------------------------------------*
35422 * Partial Init method
35423 * -----------------------------------------------------------------------------*/
35428 SWIGEXPORT
void SWIG_init(void) {
35429 static PyObject
*SWIG_globals
= 0;
35431 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35433 /* Fix SwigMethods to carry the callback ptrs when needed */
35434 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35436 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35437 d
= PyModule_GetDict(m
);
35439 SWIG_InitializeModule(0);
35440 SWIG_InstallConstants(d
,swig_const_table
);
35443 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35446 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35449 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35452 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35455 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35458 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35461 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35464 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35467 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35470 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35473 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35476 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35479 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35482 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35485 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35488 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35491 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35494 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35497 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35500 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35503 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35506 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35509 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35512 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35515 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35518 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35521 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35524 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35527 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35530 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35533 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35536 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35539 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35542 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35545 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35548 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35551 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35554 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35557 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35560 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35563 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35566 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35569 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35572 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35575 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35578 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35581 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35584 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35587 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35590 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35593 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35596 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35599 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35602 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35605 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35608 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35611 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35614 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35617 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35620 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35623 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35626 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35629 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35632 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35635 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35638 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35641 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35644 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35647 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35650 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35653 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35656 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35659 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35662 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35665 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35668 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35671 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35674 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35677 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35680 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35683 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35686 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35689 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35692 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35695 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35698 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35701 PyDict_SetItemString(d
,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT
)));
35704 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35707 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35710 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35713 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35716 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35718 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35719 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35720 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35721 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35722 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35724 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35727 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35730 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35733 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35735 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35737 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35740 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35743 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35746 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35749 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35752 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35755 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35758 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35761 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35764 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35767 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35770 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35772 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35773 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35774 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35775 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35776 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35778 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35781 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35784 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35787 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35790 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35793 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35796 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35799 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35802 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35805 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35808 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35811 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35814 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35817 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35820 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35823 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35826 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35829 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35832 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35835 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35838 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35841 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35844 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35847 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35850 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35853 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35856 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35859 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35862 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35865 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35868 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35870 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35872 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35875 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35878 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35881 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35884 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35887 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35890 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35893 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35896 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35899 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35902 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35905 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35908 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35910 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35911 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35912 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35913 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35915 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35918 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35921 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35924 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35927 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35930 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35933 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35936 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35938 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35996 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35999 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
36002 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
36005 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
36008 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
36011 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
36014 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
36017 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
36020 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
36023 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
36025 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
36026 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
36028 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
36031 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
36034 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
36037 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
36040 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
36043 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
36046 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
36049 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
36052 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
36055 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
36058 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
36061 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
36064 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
36067 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
36070 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
36073 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
36076 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
36079 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
36082 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
36085 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
36088 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
36091 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
36094 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
36097 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
36100 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
36103 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
36106 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
36109 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
36112 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
36115 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
36118 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
36121 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
36124 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
36127 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
36130 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
36133 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
36136 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36139 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36142 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36145 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36148 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36151 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36154 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36157 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36160 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36163 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36166 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36169 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36172 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36175 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36178 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36181 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36184 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36187 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36190 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36193 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36196 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36199 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36202 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36205 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36208 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36211 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36214 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36217 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36220 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36223 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36226 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36229 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36232 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36235 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36238 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36241 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36244 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36247 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36250 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36253 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36256 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36259 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36262 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36265 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36268 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36271 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36274 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36277 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36280 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36283 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36286 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36289 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36292 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36295 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36298 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36301 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36304 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36307 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36310 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36313 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36316 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36319 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36322 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36325 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36328 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36331 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36334 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36337 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36340 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36343 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36346 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36349 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36352 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36355 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36358 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36361 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36364 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36367 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36370 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36373 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36376 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36379 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36382 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36385 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36388 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36391 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36394 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36397 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36400 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36403 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36406 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36409 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36412 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36415 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36418 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36421 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36424 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36427 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36430 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36433 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36436 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36439 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36442 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36445 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36448 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36451 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36454 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36457 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36460 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36463 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36466 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36469 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36472 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36475 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36478 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36481 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36484 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36487 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36490 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36492 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36494 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36497 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36500 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36503 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36506 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36509 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36512 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36515 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36518 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36521 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36524 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36527 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36530 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36533 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36536 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36539 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36542 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36545 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36548 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36551 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36553 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36555 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36558 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36561 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36564 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36567 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36570 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36573 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36576 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36579 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36582 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36585 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36588 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36591 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36592 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36593 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36594 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36596 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);