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 /*@/opt/swig/share/swig/1.3.27/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 /*@/opt/swig/share/swig/1.3.27/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();
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 /*@/opt/swig/share/swig/1.3.27/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 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2708 #define SWIG_From_unsigned_SS_int SWIG_From_long
2711 /*@/opt/swig/share/swig/1.3.27/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 int wxDisplay_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3133 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3134 PyObject
* pyList
= NULL
;
3135 wxArrayVideoModes arr
= self
->GetModes(mode
);
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 pyList
= PyList_New(0);
3138 for (int i
=0; i
< arr
.GetCount(); i
++) {
3139 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3140 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3141 PyList_Append(pyList
, pyObj
);
3144 wxPyEndBlockThreads(blocked
);
3148 #include <wx/stdpaths.h>
3150 static wxStandardPaths
*wxStandardPaths_Get(){
3151 return (wxStandardPaths
*) &wxStandardPaths::Get();
3153 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
3154 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
3158 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
= NULL
;
3160 wxSystemColour arg1
;
3162 PyObject
* obj0
= 0 ;
3164 (char *) "index", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3169 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3170 if (SWIG_arg_fail(1)) SWIG_fail
;
3173 if (!wxPyCheckForApp()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= wxSystemSettings::GetColour(arg1
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 wxColour
* resultptr
;
3182 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3191 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
= NULL
;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "index", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3202 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3203 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 if (!wxPyCheckForApp()) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= wxSystemSettings::GetFont(arg1
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3215 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3224 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
= NULL
;
3226 wxSystemMetric arg1
;
3227 wxWindow
*arg2
= (wxWindow
*) NULL
;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3232 (char *) "index",(char *) "win", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3237 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3238 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3242 if (SWIG_arg_fail(2)) SWIG_fail
;
3245 if (!wxPyCheckForApp()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= SWIG_From_int(static_cast<int >(result
));
3261 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
= NULL
;
3263 wxSystemFeature arg1
;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "index", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3272 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3273 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 if (!wxPyCheckForApp()) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3292 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
= NULL
;
3294 wxSystemScreenType result
;
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3301 if (!wxPyCheckForApp()) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 resultobj
= SWIG_From_int((result
));
3315 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
= NULL
;
3317 wxSystemScreenType arg1
;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "screen", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3325 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3326 if (SWIG_arg_fail(1)) SWIG_fail
;
3329 if (!wxPyCheckForApp()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxSystemSettings::SetScreenType(arg1
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3346 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3348 return Py_BuildValue((char *)"");
3350 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3351 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3356 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3357 PyObject
*pyobj
= NULL
;
3361 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3363 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3370 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
= NULL
;
3372 wxSystemOptions
*result
;
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (wxSystemOptions
*)new wxSystemOptions();
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3392 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
= NULL
;
3394 wxString
*arg1
= 0 ;
3395 wxString
*arg2
= 0 ;
3396 bool temp1
= false ;
3397 bool temp2
= false ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "name",(char *) "value", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 arg1
= wxString_in_helper(obj0
);
3407 if (arg1
== NULL
) SWIG_fail
;
3411 arg2
= wxString_in_helper(obj1
);
3412 if (arg2
== NULL
) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
= NULL
;
3447 wxString
*arg1
= 0 ;
3449 bool temp1
= false ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "name",(char *) "value", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3458 arg1
= wxString_in_helper(obj0
);
3459 if (arg1
== NULL
) SWIG_fail
;
3463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3464 if (SWIG_arg_fail(2)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
= NULL
;
3490 wxString
*arg1
= 0 ;
3492 bool temp1
= false ;
3493 PyObject
* obj0
= 0 ;
3495 (char *) "name", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3500 arg1
= wxString_in_helper(obj0
);
3501 if (arg1
== NULL
) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3532 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
= NULL
;
3534 wxString
*arg1
= 0 ;
3536 bool temp1
= false ;
3537 PyObject
* obj0
= 0 ;
3539 (char *) "name", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3544 arg1
= wxString_in_helper(obj0
);
3545 if (arg1
== NULL
) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_From_int(static_cast<int >(result
));
3572 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
= NULL
;
3574 wxString
*arg1
= 0 ;
3576 bool temp1
= false ;
3577 PyObject
* obj0
= 0 ;
3579 (char *) "name", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3584 arg1
= wxString_in_helper(obj0
);
3585 if (arg1
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3612 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
= NULL
;
3614 wxString
*arg1
= 0 ;
3616 bool temp1
= false ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "name", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3624 arg1
= wxString_in_helper(obj0
);
3625 if (arg1
== NULL
) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3655 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3657 return Py_BuildValue((char *)"");
3659 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3660 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3665 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3666 PyObject
*pyobj
= NULL
;
3670 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3672 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3679 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3680 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3685 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3686 PyObject
*pyobj
= NULL
;
3690 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3692 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3699 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3700 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3705 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3706 PyObject
*pyobj
= NULL
;
3710 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3712 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3719 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
= NULL
;
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (long)wxNewId();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_From_long(static_cast<long >(result
));
3743 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
= NULL
;
3746 PyObject
* obj0
= 0 ;
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3753 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3754 if (SWIG_arg_fail(1)) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
= NULL
;
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (long)wxGetCurrentId();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_From_long(static_cast<long >(result
));
3794 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
= NULL
;
3798 PyObject
* obj0
= 0 ;
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3805 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3806 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (bool)wxIsStockID(arg1
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3824 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
= NULL
;
3827 wxString
*arg2
= 0 ;
3829 bool temp2
= false ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "id",(char *) "label", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3838 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3839 if (SWIG_arg_fail(1)) SWIG_fail
;
3842 arg2
= wxString_in_helper(obj1
);
3843 if (arg2
== NULL
) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3870 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
= NULL
;
3873 bool arg2
= (bool) true ;
3874 wxString arg3
= (wxString
) wxPyEmptyString
;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj2
= 0 ;
3880 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3885 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3886 if (SWIG_arg_fail(1)) SWIG_fail
;
3890 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3891 if (SWIG_arg_fail(2)) SWIG_fail
;
3896 wxString
* sptr
= wxString_in_helper(obj2
);
3897 if (sptr
== NULL
) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3922 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
= NULL
;
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3930 if (!wxPyCheckForApp()) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
= NULL
;
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
= NULL
;
3968 bool arg1
= (bool) true ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "resetTimer", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3978 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (long)wxGetElapsedTime(arg1
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_From_long(static_cast<long >(result
));
3998 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
= NULL
;
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (bool)wxIsBusy();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4022 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
= NULL
;
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4050 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= NULL
;
4052 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4053 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4055 bool temp1
= false ;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "command", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4064 arg1
= wxString_in_helper(obj0
);
4065 if (arg1
== NULL
) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= (bool)wxShell((wxString
const &)*arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= NULL
;
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 Py_INCREF(Py_None
); resultobj
= Py_None
;
4114 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
= NULL
;
4116 int *arg1
= (int *) 0 ;
4117 int *arg2
= (int *) 0 ;
4127 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4128 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (int)wxGetOsVersion(arg1
,arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_From_int(static_cast<int >(result
));
4140 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4141 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4142 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4143 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4150 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
= NULL
;
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= wxGetOsDescription();
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4178 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
= NULL
;
4180 wxMemorySize result
;
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= wxGetFreeMemory();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 wxMemorySize
* resultptr
;
4195 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4204 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
= NULL
;
4206 wxShutdownFlags arg1
;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "wFlags", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4215 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4216 if (SWIG_arg_fail(1)) SWIG_fail
;
4219 if (!wxPyCheckForApp()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)wxShutdown(arg1
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= NULL
;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "secs", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4245 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4246 if (SWIG_arg_fail(1)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= NULL
;
4264 unsigned long arg1
;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "milliseconds", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4272 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4273 if (SWIG_arg_fail(1)) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
= NULL
;
4291 unsigned long arg1
;
4292 PyObject
* obj0
= 0 ;
4294 (char *) "microseconds", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4299 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4300 if (SWIG_arg_fail(1)) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= NULL
;
4319 PyObject
* obj0
= 0 ;
4321 (char *) "enable", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4326 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4327 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 wxEnableTopLevelWindows(arg1
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= NULL
;
4345 wxString
*arg1
= 0 ;
4347 bool temp1
= false ;
4348 PyObject
* obj0
= 0 ;
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4355 arg1
= wxString_in_helper(obj0
);
4356 if (arg1
== NULL
) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4387 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= NULL
;
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= wxGetEmailAddress();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4415 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
= NULL
;
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= wxGetHostName();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4443 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
= NULL
;
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= wxGetFullHostName();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4471 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= NULL
;
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= wxGetUserId();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4499 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= NULL
;
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= wxGetUserName();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4527 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
= NULL
;
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= wxGetHomeDir();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4555 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= NULL
;
4557 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4558 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4560 bool temp1
= false ;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "user", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4569 arg1
= wxString_in_helper(obj0
);
4570 if (arg1
== NULL
) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= wxGetUserHome((wxString
const &)*arg1
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4602 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
= NULL
;
4604 unsigned long result
;
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 result
= (unsigned long)wxGetProcessId();
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4626 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
= NULL
;
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 Py_INCREF(Py_None
); resultobj
= Py_None
;
4647 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
= NULL
;
4649 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4650 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4651 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4652 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4653 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4657 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4658 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4659 int arg6
= (int) 0 ;
4660 wxWindow
*arg7
= (wxWindow
*) NULL
;
4661 int arg8
= (int) -1 ;
4662 int arg9
= (int) -1 ;
4664 bool temp1
= false ;
4665 bool temp2
= false ;
4666 bool temp3
= false ;
4667 bool temp4
= false ;
4668 bool temp5
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4673 PyObject
* obj4
= 0 ;
4674 PyObject
* obj5
= 0 ;
4675 PyObject
* obj6
= 0 ;
4676 PyObject
* obj7
= 0 ;
4677 PyObject
* obj8
= 0 ;
4679 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4685 arg1
= wxString_in_helper(obj0
);
4686 if (arg1
== NULL
) SWIG_fail
;
4692 arg2
= wxString_in_helper(obj1
);
4693 if (arg2
== NULL
) SWIG_fail
;
4699 arg3
= wxString_in_helper(obj2
);
4700 if (arg3
== NULL
) SWIG_fail
;
4706 arg4
= wxString_in_helper(obj3
);
4707 if (arg4
== NULL
) SWIG_fail
;
4713 arg5
= wxString_in_helper(obj4
);
4714 if (arg5
== NULL
) SWIG_fail
;
4720 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4721 if (SWIG_arg_fail(6)) SWIG_fail
;
4725 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4726 if (SWIG_arg_fail(7)) SWIG_fail
;
4730 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4731 if (SWIG_arg_fail(8)) SWIG_fail
;
4736 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4737 if (SWIG_arg_fail(9)) SWIG_fail
;
4741 if (!wxPyCheckForApp()) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4801 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
= NULL
;
4803 wxString
*arg1
= 0 ;
4804 wxString
*arg2
= 0 ;
4805 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4806 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4807 wxWindow
*arg4
= (wxWindow
*) NULL
;
4809 bool temp1
= false ;
4810 bool temp2
= false ;
4811 bool temp3
= false ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 PyObject
* obj2
= 0 ;
4815 PyObject
* obj3
= 0 ;
4817 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4822 arg1
= wxString_in_helper(obj0
);
4823 if (arg1
== NULL
) SWIG_fail
;
4827 arg2
= wxString_in_helper(obj1
);
4828 if (arg2
== NULL
) SWIG_fail
;
4833 arg3
= wxString_in_helper(obj2
);
4834 if (arg3
== NULL
) SWIG_fail
;
4839 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(4)) SWIG_fail
;
4843 if (!wxPyCheckForApp()) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4887 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
= NULL
;
4889 wxString
*arg1
= 0 ;
4890 wxString
*arg2
= 0 ;
4891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4893 wxWindow
*arg4
= (wxWindow
*) NULL
;
4895 bool temp1
= false ;
4896 bool temp2
= false ;
4897 bool temp3
= false ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4900 PyObject
* obj2
= 0 ;
4901 PyObject
* obj3
= 0 ;
4903 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4908 arg1
= wxString_in_helper(obj0
);
4909 if (arg1
== NULL
) SWIG_fail
;
4913 arg2
= wxString_in_helper(obj1
);
4914 if (arg2
== NULL
) SWIG_fail
;
4919 arg3
= wxString_in_helper(obj2
);
4920 if (arg3
== NULL
) SWIG_fail
;
4925 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4926 if (SWIG_arg_fail(4)) SWIG_fail
;
4929 if (!wxPyCheckForApp()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4973 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
= NULL
;
4975 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4976 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4977 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4978 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4979 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4982 wxWindow
*arg5
= (wxWindow
*) NULL
;
4984 bool temp1
= false ;
4985 bool temp2
= false ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 PyObject
* obj2
= 0 ;
4990 PyObject
* obj3
= 0 ;
4991 PyObject
* obj4
= 0 ;
4993 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4999 arg1
= wxString_in_helper(obj0
);
5000 if (arg1
== NULL
) SWIG_fail
;
5006 arg2
= wxString_in_helper(obj1
);
5007 if (arg2
== NULL
) SWIG_fail
;
5013 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5014 if (SWIG_arg_fail(3)) SWIG_fail
;
5020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5024 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5025 if (SWIG_arg_fail(5)) SWIG_fail
;
5028 if (!wxPyCheckForApp()) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5064 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= NULL
;
5066 wxString
*arg1
= 0 ;
5067 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5068 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5071 wxWindow
*arg4
= (wxWindow
*) NULL
;
5072 int arg5
= (int) -1 ;
5073 int arg6
= (int) -1 ;
5074 bool arg7
= (bool) true ;
5076 bool temp1
= false ;
5077 bool temp2
= false ;
5078 bool temp3
= false ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5084 PyObject
* obj5
= 0 ;
5085 PyObject
* obj6
= 0 ;
5087 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5092 arg1
= wxString_in_helper(obj0
);
5093 if (arg1
== NULL
) SWIG_fail
;
5098 arg2
= wxString_in_helper(obj1
);
5099 if (arg2
== NULL
) SWIG_fail
;
5105 arg3
= wxString_in_helper(obj2
);
5106 if (arg3
== NULL
) SWIG_fail
;
5111 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(4)) SWIG_fail
;
5116 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5117 if (SWIG_arg_fail(5)) SWIG_fail
;
5122 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5123 if (SWIG_arg_fail(6)) SWIG_fail
;
5128 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5129 if (SWIG_arg_fail(7)) SWIG_fail
;
5133 if (!wxPyCheckForApp()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5177 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
= NULL
;
5179 wxString
*arg1
= 0 ;
5180 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5181 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5184 wxWindow
*arg4
= (wxWindow
*) NULL
;
5186 bool temp1
= false ;
5187 bool temp2
= false ;
5188 bool temp3
= false ;
5189 PyObject
* obj0
= 0 ;
5190 PyObject
* obj1
= 0 ;
5191 PyObject
* obj2
= 0 ;
5192 PyObject
* obj3
= 0 ;
5194 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5199 arg1
= wxString_in_helper(obj0
);
5200 if (arg1
== NULL
) SWIG_fail
;
5205 arg2
= wxString_in_helper(obj1
);
5206 if (arg2
== NULL
) SWIG_fail
;
5212 arg3
= wxString_in_helper(obj2
);
5213 if (arg3
== NULL
) SWIG_fail
;
5218 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5219 if (SWIG_arg_fail(4)) SWIG_fail
;
5222 if (!wxPyCheckForApp()) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5266 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
= NULL
;
5268 wxString
*arg1
= 0 ;
5269 wxString
*arg2
= 0 ;
5271 wxString
*arg4
= (wxString
*) 0 ;
5272 wxWindow
*arg5
= (wxWindow
*) NULL
;
5273 int arg6
= (int) -1 ;
5274 int arg7
= (int) -1 ;
5275 bool arg8
= (bool) true ;
5276 int arg9
= (int) 150 ;
5277 int arg10
= (int) 200 ;
5279 bool temp1
= false ;
5280 bool temp2
= false ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5284 PyObject
* obj3
= 0 ;
5285 PyObject
* obj4
= 0 ;
5286 PyObject
* obj5
= 0 ;
5287 PyObject
* obj6
= 0 ;
5288 PyObject
* obj7
= 0 ;
5289 PyObject
* obj8
= 0 ;
5291 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5296 arg1
= wxString_in_helper(obj0
);
5297 if (arg1
== NULL
) SWIG_fail
;
5301 arg2
= wxString_in_helper(obj1
);
5302 if (arg2
== NULL
) SWIG_fail
;
5306 arg3
= PyList_Size(obj2
);
5307 arg4
= wxString_LIST_helper(obj2
);
5308 if (arg4
== NULL
) SWIG_fail
;
5311 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5312 if (SWIG_arg_fail(5)) SWIG_fail
;
5316 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5317 if (SWIG_arg_fail(6)) SWIG_fail
;
5322 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5323 if (SWIG_arg_fail(7)) SWIG_fail
;
5328 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5329 if (SWIG_arg_fail(8)) SWIG_fail
;
5334 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5335 if (SWIG_arg_fail(9)) SWIG_fail
;
5340 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5341 if (SWIG_arg_fail(10)) SWIG_fail
;
5345 if (!wxPyCheckForApp()) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5368 if (arg4
) delete [] arg4
;
5381 if (arg4
) delete [] arg4
;
5387 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= NULL
;
5389 wxString
*arg1
= 0 ;
5390 wxString
*arg2
= 0 ;
5392 wxString
*arg4
= (wxString
*) 0 ;
5393 wxWindow
*arg5
= (wxWindow
*) NULL
;
5394 int arg6
= (int) -1 ;
5395 int arg7
= (int) -1 ;
5396 bool arg8
= (bool) true ;
5397 int arg9
= (int) 150 ;
5398 int arg10
= (int) 200 ;
5400 bool temp1
= false ;
5401 bool temp2
= false ;
5402 PyObject
* obj0
= 0 ;
5403 PyObject
* obj1
= 0 ;
5404 PyObject
* obj2
= 0 ;
5405 PyObject
* obj3
= 0 ;
5406 PyObject
* obj4
= 0 ;
5407 PyObject
* obj5
= 0 ;
5408 PyObject
* obj6
= 0 ;
5409 PyObject
* obj7
= 0 ;
5410 PyObject
* obj8
= 0 ;
5412 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5417 arg1
= wxString_in_helper(obj0
);
5418 if (arg1
== NULL
) SWIG_fail
;
5422 arg2
= wxString_in_helper(obj1
);
5423 if (arg2
== NULL
) SWIG_fail
;
5427 arg3
= PyList_Size(obj2
);
5428 arg4
= wxString_LIST_helper(obj2
);
5429 if (arg4
== NULL
) SWIG_fail
;
5432 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5433 if (SWIG_arg_fail(5)) SWIG_fail
;
5437 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5438 if (SWIG_arg_fail(6)) SWIG_fail
;
5443 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5444 if (SWIG_arg_fail(7)) SWIG_fail
;
5449 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5450 if (SWIG_arg_fail(8)) SWIG_fail
;
5455 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5456 if (SWIG_arg_fail(9)) SWIG_fail
;
5461 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5462 if (SWIG_arg_fail(10)) SWIG_fail
;
5466 if (!wxPyCheckForApp()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_From_int(static_cast<int >(result
));
5485 if (arg4
) delete [] arg4
;
5498 if (arg4
) delete [] arg4
;
5504 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= NULL
;
5506 wxString
*arg1
= 0 ;
5507 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5509 int arg3
= (int) wxOK
|wxCENTRE
;
5510 wxWindow
*arg4
= (wxWindow
*) NULL
;
5511 int arg5
= (int) -1 ;
5512 int arg6
= (int) -1 ;
5514 bool temp1
= false ;
5515 bool temp2
= false ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5519 PyObject
* obj3
= 0 ;
5520 PyObject
* obj4
= 0 ;
5521 PyObject
* obj5
= 0 ;
5523 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5528 arg1
= wxString_in_helper(obj0
);
5529 if (arg1
== NULL
) SWIG_fail
;
5534 arg2
= wxString_in_helper(obj1
);
5535 if (arg2
== NULL
) SWIG_fail
;
5541 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5542 if (SWIG_arg_fail(3)) SWIG_fail
;
5546 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5547 if (SWIG_arg_fail(4)) SWIG_fail
;
5551 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5552 if (SWIG_arg_fail(5)) SWIG_fail
;
5557 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5558 if (SWIG_arg_fail(6)) SWIG_fail
;
5562 if (!wxPyCheckForApp()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_From_int(static_cast<int >(result
));
5594 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
= NULL
;
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5603 if (!wxPyCheckForApp()) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)wxColourDisplay();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= NULL
;
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5628 if (!wxPyCheckForApp()) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (int)wxDisplayDepth();
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_From_int(static_cast<int >(result
));
5644 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
= NULL
;
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5653 if (!wxPyCheckForApp()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)wxGetDisplayDepth();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_From_int(static_cast<int >(result
));
5669 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
= NULL
;
5671 int *arg1
= (int *) 0 ;
5672 int *arg2
= (int *) 0 ;
5681 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5685 if (!wxPyCheckForApp()) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 wxDisplaySize(arg1
,arg2
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5693 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5694 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5695 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5696 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5703 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
= NULL
;
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5712 if (!wxPyCheckForApp()) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= wxGetDisplaySize();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5721 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5730 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
= NULL
;
5732 int *arg1
= (int *) 0 ;
5733 int *arg2
= (int *) 0 ;
5742 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5743 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5746 if (!wxPyCheckForApp()) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 wxDisplaySizeMM(arg1
,arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 Py_INCREF(Py_None
); resultobj
= Py_None
;
5754 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5755 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5756 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5757 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5764 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= NULL
;
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5773 if (!wxPyCheckForApp()) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= wxGetDisplaySizeMM();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5782 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5791 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
= NULL
;
5793 int *arg1
= (int *) 0 ;
5794 int *arg2
= (int *) 0 ;
5795 int *arg3
= (int *) 0 ;
5796 int *arg4
= (int *) 0 ;
5809 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5810 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5811 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5812 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5815 if (!wxPyCheckForApp()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5824 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5825 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5826 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5827 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5828 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5829 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5830 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5837 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= NULL
;
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5846 if (!wxPyCheckForApp()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= wxGetClientDisplayRect();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5855 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5864 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= NULL
;
5866 wxCursor
*arg1
= 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "cursor", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail
;
5877 SWIG_null_ref("wxCursor");
5879 if (SWIG_arg_fail(1)) SWIG_fail
;
5882 if (!wxPyCheckForApp()) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
= NULL
;
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5905 if (!wxPyCheckForApp()) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (void *)wxGetXDisplay();
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5919 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= NULL
;
5921 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "cursor", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 if (!wxPyCheckForApp()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxBeginBusyCursor(arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
= NULL
;
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5956 if (!wxPyCheckForApp()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= wxGetMousePosition();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 wxPoint
* resultptr
;
5965 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5974 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
= NULL
;
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5983 if (!wxPyCheckForApp()) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (wxWindow
*)FindWindowAtPointer();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= wxPyMake_wxObject(result
, 0);
5999 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
= NULL
;
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6008 if (!wxPyCheckForApp()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (wxWindow
*)wxGetActiveWindow();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= wxPyMake_wxObject(result
, 0);
6024 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
= NULL
;
6029 PyObject
* obj0
= 0 ;
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6037 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6040 if (!wxPyCheckForApp()) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= wxPyMake_wxObject(result
, 0);
6056 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= NULL
;
6061 PyObject
* obj0
= 0 ;
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6069 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6072 if (!wxPyCheckForApp()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= wxPyMake_wxObject(result
, 0);
6088 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
= NULL
;
6090 wxWindow
*arg1
= (wxWindow
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "win", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if (!wxPyCheckForApp()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= wxPyMake_wxObject(result
, 0);
6117 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
= NULL
;
6119 wxString
*arg1
= 0 ;
6121 bool temp1
= false ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "url", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6129 arg1
= wxString_in_helper(obj0
);
6130 if (arg1
== NULL
) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6157 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
= NULL
;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "key", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6168 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 if (!wxPyCheckForApp()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (bool)wxGetKeyState(arg1
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6188 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= NULL
;
6190 wxMouseState
*result
;
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (wxMouseState
*)new wxMouseState();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6210 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= NULL
;
6212 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6213 PyObject
* obj0
= 0 ;
6215 (char *) "self", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6220 if (SWIG_arg_fail(1)) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 Py_INCREF(Py_None
); resultobj
= Py_None
;
6235 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= NULL
;
6237 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)(arg1
)->GetX();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= SWIG_From_int(static_cast<int >(result
));
6263 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= NULL
;
6265 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (int)(arg1
)->GetY();
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_From_int(static_cast<int >(result
));
6291 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
= NULL
;
6293 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 result
= (bool)(arg1
)->LeftDown();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6319 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
= NULL
;
6321 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6330 if (SWIG_arg_fail(1)) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (bool)(arg1
)->MiddleDown();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6347 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
= NULL
;
6349 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6358 if (SWIG_arg_fail(1)) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (bool)(arg1
)->RightDown();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6375 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= NULL
;
6377 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6386 if (SWIG_arg_fail(1)) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (bool)(arg1
)->ControlDown();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6403 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
= NULL
;
6405 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (bool)(arg1
)->ShiftDown();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6431 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
= NULL
;
6433 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (bool)(arg1
)->AltDown();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6459 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
= NULL
;
6461 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6470 if (SWIG_arg_fail(1)) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (bool)(arg1
)->MetaDown();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
= NULL
;
6489 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (bool)(arg1
)->CmdDown();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6515 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= NULL
;
6517 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6522 (char *) "self",(char *) "x", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6527 if (SWIG_arg_fail(1)) SWIG_fail
;
6529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6530 if (SWIG_arg_fail(2)) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
= NULL
;
6548 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6553 (char *) "self",(char *) "y", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail
;
6560 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6561 if (SWIG_arg_fail(2)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6577 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
= NULL
;
6579 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6584 (char *) "self",(char *) "down", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail
;
6591 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6592 if (SWIG_arg_fail(2)) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 (arg1
)->SetLeftDown(arg2
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6608 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= NULL
;
6610 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "down", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6620 if (SWIG_arg_fail(1)) SWIG_fail
;
6622 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6623 if (SWIG_arg_fail(2)) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetMiddleDown(arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
= NULL
;
6641 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6646 (char *) "self",(char *) "down", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6651 if (SWIG_arg_fail(1)) SWIG_fail
;
6653 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6654 if (SWIG_arg_fail(2)) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->SetRightDown(arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
= NULL
;
6672 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6677 (char *) "self",(char *) "down", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6682 if (SWIG_arg_fail(1)) SWIG_fail
;
6684 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6685 if (SWIG_arg_fail(2)) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 (arg1
)->SetControlDown(arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6701 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= NULL
;
6703 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6708 (char *) "self",(char *) "down", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail
;
6715 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6716 if (SWIG_arg_fail(2)) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetShiftDown(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6732 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= NULL
;
6734 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6739 (char *) "self",(char *) "down", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail
;
6746 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6747 if (SWIG_arg_fail(2)) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetAltDown(arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
= NULL
;
6765 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "down", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail
;
6777 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6778 if (SWIG_arg_fail(2)) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 (arg1
)->SetMetaDown(arg2
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 Py_INCREF(Py_None
); resultobj
= Py_None
;
6794 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6797 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6799 return Py_BuildValue((char *)"");
6801 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
= NULL
;
6803 wxMouseState result
;
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= wxGetMouseState();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 wxMouseState
* resultptr
;
6818 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6827 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
= NULL
;
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6835 if (!wxPyCheckForApp()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxWakeUpMainThread();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
= NULL
;
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6857 if (!wxPyCheckForApp()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6871 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
= NULL
;
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6879 if (!wxPyCheckForApp()) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6893 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= NULL
;
6895 wxMutexGuiLocker
*result
;
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6902 if (!wxPyCheckForApp()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6916 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
= NULL
;
6918 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 Py_INCREF(Py_None
); resultobj
= Py_None
;
6941 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6946 return Py_BuildValue((char *)"");
6948 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
= NULL
;
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (bool)wxThread_IsMain();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= NULL
;
6974 wxString
*arg1
= 0 ;
6976 bool temp1
= false ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "tip", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6984 arg1
= wxString_in_helper(obj0
);
6985 if (arg1
== NULL
) SWIG_fail
;
6989 if (!wxPyCheckForApp()) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7011 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
= NULL
;
7013 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 Py_INCREF(Py_None
); resultobj
= Py_None
;
7036 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
= NULL
;
7038 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7039 wxString
*arg2
= 0 ;
7040 bool temp2
= false ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7044 (char *) "self",(char *) "tip", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7049 if (SWIG_arg_fail(1)) SWIG_fail
;
7051 arg2
= wxString_in_helper(obj1
);
7052 if (arg2
== NULL
) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 (arg1
)->SetTip((wxString
const &)*arg2
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= NULL
;
7079 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7088 if (SWIG_arg_fail(1)) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (arg1
)->GetTip();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7109 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
= NULL
;
7111 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "self", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (wxWindow
*)(arg1
)->GetWindow();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= wxPyMake_wxObject(result
, 0);
7137 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= NULL
;
7140 PyObject
* obj0
= 0 ;
7142 (char *) "flag", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7147 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7148 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 wxToolTip::Enable(arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7164 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
= NULL
;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "milliseconds", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7174 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7175 if (SWIG_arg_fail(1)) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxToolTip::SetDelay(arg1
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 Py_INCREF(Py_None
); resultobj
= Py_None
;
7191 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7194 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7196 return Py_BuildValue((char *)"");
7198 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
= NULL
;
7200 wxWindow
*arg1
= (wxWindow
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "window",(char *) "size", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail
;
7215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7218 if (!wxPyCheckForApp()) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7232 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
= NULL
;
7234 wxCaret
*arg1
= (wxCaret
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7237 (char *) "self", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7242 if (SWIG_arg_fail(1)) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= NULL
;
7259 wxCaret
*arg1
= (wxCaret
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7267 if (SWIG_arg_fail(1)) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 wxCaret_Destroy(arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 Py_INCREF(Py_None
); resultobj
= Py_None
;
7282 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
= NULL
;
7284 wxCaret
*arg1
= (wxCaret
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (bool)(arg1
)->IsOk();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7310 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= NULL
;
7312 wxCaret
*arg1
= (wxCaret
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "self", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7321 if (SWIG_arg_fail(1)) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (bool)(arg1
)->IsVisible();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7338 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= NULL
;
7340 wxCaret
*arg1
= (wxCaret
*) 0 ;
7342 PyObject
* obj0
= 0 ;
7344 (char *) "self", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7349 if (SWIG_arg_fail(1)) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (arg1
)->GetPosition();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 wxPoint
* resultptr
;
7359 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7368 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
= NULL
;
7370 wxCaret
*arg1
= (wxCaret
*) 0 ;
7371 int *arg2
= (int *) 0 ;
7372 int *arg3
= (int *) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7383 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 (arg1
)->GetPosition(arg2
,arg3
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7395 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7396 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7397 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7398 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7405 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
= NULL
;
7407 wxCaret
*arg1
= (wxCaret
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (arg1
)->GetSize();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7426 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7435 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= NULL
;
7437 wxCaret
*arg1
= (wxCaret
*) 0 ;
7438 int *arg2
= (int *) 0 ;
7439 int *arg3
= (int *) 0 ;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "self", NULL
7449 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7450 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7453 if (SWIG_arg_fail(1)) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 (arg1
)->GetSize(arg2
,arg3
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7463 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7464 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7465 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7472 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
= NULL
;
7474 wxCaret
*arg1
= (wxCaret
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (wxWindow
*)(arg1
)->GetWindow();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= wxPyMake_wxObject(result
, 0);
7500 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
= NULL
;
7502 wxCaret
*arg1
= (wxCaret
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7507 PyObject
* obj2
= 0 ;
7509 (char *) "self",(char *) "x",(char *) "y", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail
;
7516 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7517 if (SWIG_arg_fail(2)) SWIG_fail
;
7520 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7521 if (SWIG_arg_fail(3)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->Move(arg2
,arg3
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= NULL
;
7539 wxCaret
*arg1
= (wxCaret
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "self",(char *) "pt", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->Move((wxPoint
const &)*arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= NULL
;
7571 wxCaret
*arg1
= (wxCaret
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7578 (char *) "self",(char *) "width",(char *) "height", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7585 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7586 if (SWIG_arg_fail(2)) SWIG_fail
;
7589 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7590 if (SWIG_arg_fail(3)) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 (arg1
)->SetSize(arg2
,arg3
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
= NULL
;
7608 wxCaret
*arg1
= (wxCaret
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "size", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->SetSize((wxSize
const &)*arg2
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
= NULL
;
7640 wxCaret
*arg1
= (wxCaret
*) 0 ;
7641 int arg2
= (int) true ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7645 (char *) "self",(char *) "show", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7650 if (SWIG_arg_fail(1)) SWIG_fail
;
7653 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7654 if (SWIG_arg_fail(2)) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
= NULL
;
7673 wxCaret
*arg1
= (wxCaret
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= NULL
;
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (int)wxCaret::GetBlinkTime();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_From_int(static_cast<int >(result
));
7720 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= NULL
;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "milliseconds", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7730 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7731 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 wxCaret::SetBlinkTime(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7750 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7752 return Py_BuildValue((char *)"");
7754 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
= NULL
;
7756 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7757 wxBusyCursor
*result
;
7758 PyObject
* obj0
= 0 ;
7760 (char *) "cursor", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7769 if (!wxPyCheckForApp()) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7783 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= NULL
;
7785 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7811 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7813 return Py_BuildValue((char *)"");
7815 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
= NULL
;
7817 wxWindow
*arg1
= (wxWindow
*) NULL
;
7818 wxWindowDisabler
*result
;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "winToSkip", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7830 if (!wxPyCheckForApp()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7844 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= NULL
;
7846 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7872 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7874 return Py_BuildValue((char *)"");
7876 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
= NULL
;
7878 wxString
*arg1
= 0 ;
7880 bool temp1
= false ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "message", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7888 arg1
= wxString_in_helper(obj0
);
7889 if (arg1
== NULL
) SWIG_fail
;
7893 if (!wxPyCheckForApp()) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7915 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
= NULL
;
7917 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7925 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7940 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7945 return Py_BuildValue((char *)"");
7947 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
= NULL
;
7949 wxStopWatch
*result
;
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxStopWatch
*)new wxStopWatch();
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7969 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
= NULL
;
7971 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7972 long arg2
= (long) 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7976 (char *) "self",(char *) "t0", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7981 if (SWIG_arg_fail(1)) SWIG_fail
;
7984 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7985 if (SWIG_arg_fail(2)) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 (arg1
)->Start(arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
= NULL
;
8004 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8027 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
= NULL
;
8029 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "self", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 Py_INCREF(Py_None
); resultobj
= Py_None
;
8052 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
= NULL
;
8054 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8063 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_From_long(static_cast<long >(result
));
8080 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8083 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8085 return Py_BuildValue((char *)"");
8087 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
= NULL
;
8089 int arg1
= (int) 9 ;
8090 int arg2
= (int) wxID_FILE1
;
8091 wxFileHistory
*result
;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "maxFiles",(char *) "idBase", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8101 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8102 if (SWIG_arg_fail(1)) SWIG_fail
;
8107 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8108 if (SWIG_arg_fail(2)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8125 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
= NULL
;
8127 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8135 if (SWIG_arg_fail(1)) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= NULL
;
8152 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8153 wxString
*arg2
= 0 ;
8154 bool temp2
= false ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8158 (char *) "self",(char *) "file", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail
;
8165 arg2
= wxString_in_helper(obj1
);
8166 if (arg2
== NULL
) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= NULL
;
8193 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8198 (char *) "self",(char *) "i", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8203 if (SWIG_arg_fail(1)) SWIG_fail
;
8205 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8206 if (SWIG_arg_fail(2)) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 (arg1
)->RemoveFileFromHistory(arg2
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 Py_INCREF(Py_None
); resultobj
= Py_None
;
8222 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= NULL
;
8224 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "self", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8233 if (SWIG_arg_fail(1)) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_From_int(static_cast<int >(result
));
8250 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
= NULL
;
8252 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8253 wxMenu
*arg2
= (wxMenu
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "menu", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8262 if (SWIG_arg_fail(1)) SWIG_fail
;
8263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8264 if (SWIG_arg_fail(2)) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->UseMenu(arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
= NULL
;
8281 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8282 wxMenu
*arg2
= (wxMenu
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "menu", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(2)) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->RemoveMenu(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
= NULL
;
8310 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8311 wxConfigBase
*arg2
= 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "config", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8323 if (SWIG_arg_fail(2)) SWIG_fail
;
8325 SWIG_null_ref("wxConfigBase");
8327 if (SWIG_arg_fail(2)) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 (arg1
)->Load(*arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8343 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= NULL
;
8345 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8346 wxConfigBase
*arg2
= 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8350 (char *) "self",(char *) "config", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8358 if (SWIG_arg_fail(2)) SWIG_fail
;
8360 SWIG_null_ref("wxConfigBase");
8362 if (SWIG_arg_fail(2)) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->Save(*arg2
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= NULL
;
8380 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8383 (char *) "self", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8388 if (SWIG_arg_fail(1)) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->AddFilesToMenu();
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8403 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= NULL
;
8405 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8406 wxMenu
*arg2
= (wxMenu
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "menu", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(2)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 (arg1
)->AddFilesToMenu(arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8432 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
= NULL
;
8434 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8440 (char *) "self",(char *) "i", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8448 if (SWIG_arg_fail(2)) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
= NULL
;
8472 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_From_int(static_cast<int >(result
));
8498 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8501 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8503 return Py_BuildValue((char *)"");
8505 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
= NULL
;
8507 wxString
*arg1
= 0 ;
8508 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8509 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8510 wxSingleInstanceChecker
*result
;
8511 bool temp1
= false ;
8512 bool temp2
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "name",(char *) "path", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 arg1
= wxString_in_helper(obj0
);
8522 if (arg1
== NULL
) SWIG_fail
;
8527 arg2
= wxString_in_helper(obj1
);
8528 if (arg2
== NULL
) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8562 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= NULL
;
8564 wxSingleInstanceChecker
*result
;
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8584 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
= NULL
;
8586 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8589 (char *) "self", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
= NULL
;
8611 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8612 wxString
*arg2
= 0 ;
8613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8616 bool temp2
= false ;
8617 bool temp3
= false ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8622 (char *) "self",(char *) "name",(char *) "path", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8627 if (SWIG_arg_fail(1)) SWIG_fail
;
8629 arg2
= wxString_in_helper(obj1
);
8630 if (arg2
== NULL
) SWIG_fail
;
8635 arg3
= wxString_in_helper(obj2
);
8636 if (arg3
== NULL
) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8672 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
= NULL
;
8674 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "self", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8683 if (SWIG_arg_fail(1)) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8700 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8705 return Py_BuildValue((char *)"");
8707 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= NULL
;
8709 wxWindow
*arg1
= (wxWindow
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "window",(char *) "dc", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8720 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8723 if (SWIG_arg_fail(2)) SWIG_fail
;
8725 SWIG_null_ref("wxDC");
8727 if (SWIG_arg_fail(2)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8745 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
= NULL
;
8747 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8750 (char *) "self", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8755 if (SWIG_arg_fail(1)) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
= NULL
;
8772 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8776 (char *) "self", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (arg1
)->GetTip();
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8802 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
= NULL
;
8804 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8813 if (SWIG_arg_fail(1)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (size_t)(arg1
)->GetCurrentTip();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8830 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
= NULL
;
8832 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8833 wxString
*arg2
= 0 ;
8835 bool temp2
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "tip", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 arg2
= wxString_in_helper(obj1
);
8847 if (arg2
== NULL
) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8878 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8881 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8883 return Py_BuildValue((char *)"");
8885 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= NULL
;
8888 wxPyTipProvider
*result
;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "currentTip", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8896 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8897 if (SWIG_arg_fail(1)) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8913 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
= NULL
;
8915 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8916 PyObject
*arg2
= (PyObject
*) 0 ;
8917 PyObject
*arg3
= (PyObject
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "self",(char *) "self",(char *) "_class", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8947 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8949 return Py_BuildValue((char *)"");
8951 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= NULL
;
8953 wxWindow
*arg1
= (wxWindow
*) 0 ;
8954 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8955 bool arg3
= (bool) true ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8961 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8968 if (SWIG_arg_fail(2)) SWIG_fail
;
8971 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8972 if (SWIG_arg_fail(3)) SWIG_fail
;
8976 if (!wxPyCheckForApp()) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
= NULL
;
8994 wxString
*arg1
= 0 ;
8996 wxTipProvider
*result
;
8997 bool temp1
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9001 (char *) "filename",(char *) "currentTip", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9006 arg1
= wxString_in_helper(obj0
);
9007 if (arg1
== NULL
) SWIG_fail
;
9011 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9012 if (SWIG_arg_fail(2)) SWIG_fail
;
9015 if (!wxPyCheckForApp()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9037 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
= NULL
;
9039 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9040 int arg2
= (int) -1 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "owner",(char *) "id", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail
;
9055 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9056 if (SWIG_arg_fail(2)) SWIG_fail
;
9060 if (!wxPyCheckForApp()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9074 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
= NULL
;
9076 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
= NULL
;
9101 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9102 PyObject
*arg2
= (PyObject
*) 0 ;
9103 PyObject
*arg3
= (PyObject
*) 0 ;
9104 int arg4
= (int) 1 ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9108 PyObject
* obj3
= 0 ;
9110 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9115 if (SWIG_arg_fail(1)) SWIG_fail
;
9120 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9121 if (SWIG_arg_fail(4)) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
= NULL
;
9140 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9141 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9142 int arg3
= (int) -1 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9145 PyObject
* obj2
= 0 ;
9147 (char *) "self",(char *) "owner",(char *) "id", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(2)) SWIG_fail
;
9157 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9158 if (SWIG_arg_fail(3)) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 (arg1
)->SetOwner(arg2
,arg3
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 Py_INCREF(Py_None
); resultobj
= Py_None
;
9175 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= NULL
;
9177 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9178 wxEvtHandler
*result
;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= wxPyMake_wxObject(result
, 0);
9203 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= NULL
;
9205 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9206 int arg2
= (int) -1 ;
9207 bool arg3
= (bool) false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9222 if (SWIG_arg_fail(2)) SWIG_fail
;
9227 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9228 if (SWIG_arg_fail(3)) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
= NULL
;
9249 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9257 if (SWIG_arg_fail(1)) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 Py_INCREF(Py_None
); resultobj
= Py_None
;
9272 static PyObject
*_wrap_Timer_Notify(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
= NULL
;
9274 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
9281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9282 if (SWIG_arg_fail(1)) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
= NULL
;
9299 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9308 if (SWIG_arg_fail(1)) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
= NULL
;
9327 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_From_int(static_cast<int >(result
));
9353 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= NULL
;
9355 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9381 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= NULL
;
9383 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9387 (char *) "self", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_From_int(static_cast<int >(result
));
9409 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9414 return Py_BuildValue((char *)"");
9416 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= NULL
;
9418 int arg1
= (int) 0 ;
9419 int arg2
= (int) 0 ;
9420 wxTimerEvent
*result
;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9424 (char *) "timerid",(char *) "interval", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9430 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9431 if (SWIG_arg_fail(1)) SWIG_fail
;
9436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9437 if (SWIG_arg_fail(2)) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9454 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
= NULL
;
9456 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_From_int(static_cast<int >(result
));
9482 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9487 return Py_BuildValue((char *)"");
9489 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9490 PyObject
*resultobj
= NULL
;
9492 wxTimerRunner
*result
;
9493 PyObject
* obj0
= 0 ;
9495 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9498 if (SWIG_arg_fail(1)) SWIG_fail
;
9500 SWIG_null_ref("wxTimer");
9502 if (SWIG_arg_fail(1)) SWIG_fail
;
9505 if (!wxPyCheckForApp()) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9519 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9520 PyObject
*resultobj
= NULL
;
9523 bool arg3
= (bool) false ;
9524 wxTimerRunner
*result
;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9527 PyObject
* obj2
= 0 ;
9529 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9534 SWIG_null_ref("wxTimer");
9536 if (SWIG_arg_fail(1)) SWIG_fail
;
9539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9540 if (SWIG_arg_fail(2)) SWIG_fail
;
9544 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9545 if (SWIG_arg_fail(3)) SWIG_fail
;
9549 if (!wxPyCheckForApp()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9563 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9568 argc
= PyObject_Length(args
);
9569 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9570 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9576 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9584 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9587 if ((argc
>= 2) && (argc
<= 3)) {
9591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9599 _v
= SWIG_Check_int(argv
[1]);
9602 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9604 _v
= SWIG_Check_bool(argv
[2]);
9606 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9612 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9617 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
= NULL
;
9619 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= NULL
;
9644 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9646 bool arg3
= (bool) false ;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj2
= 0 ;
9651 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9659 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9664 if (SWIG_arg_fail(3)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->Start(arg2
,arg3
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 Py_INCREF(Py_None
); resultobj
= Py_None
;
9681 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9684 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9686 return Py_BuildValue((char *)"");
9688 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= NULL
;
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (wxLog
*)new wxLog();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9710 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
= NULL
;
9712 wxLog
*arg1
= (wxLog
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 Py_INCREF(Py_None
); resultobj
= Py_None
;
9735 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= NULL
;
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (bool)wxLog::IsEnabled();
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
= NULL
;
9761 bool arg1
= (bool) true ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "doIt", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9771 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (bool)wxLog::EnableLogging(arg1
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9791 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
= NULL
;
9794 wxChar
*arg2
= (wxChar
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9800 (char *) "level",(char *) "szString",(char *) "t", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9805 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9806 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(2)) SWIG_fail
;
9811 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9812 if (SWIG_arg_fail(3)) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 Py_INCREF(Py_None
); resultobj
= Py_None
;
9828 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
= NULL
;
9830 wxLog
*arg1
= (wxLog
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 Py_INCREF(Py_None
); resultobj
= Py_None
;
9853 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
= NULL
;
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 wxLog::FlushActive();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 Py_INCREF(Py_None
); resultobj
= Py_None
;
9874 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= NULL
;
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (wxLog
*)wxLog::GetActiveTarget();
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9896 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
= NULL
;
9898 wxLog
*arg1
= (wxLog
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "pLogger", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9907 if (SWIG_arg_fail(1)) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9922 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= NULL
;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 Py_INCREF(Py_None
); resultobj
= Py_None
;
9943 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
= NULL
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 Py_INCREF(Py_None
); resultobj
= Py_None
;
9964 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
= NULL
;
9966 bool arg1
= (bool) true ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "bVerbose", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9975 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9976 if (SWIG_arg_fail(1)) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 wxLog::SetVerbose(arg1
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= NULL
;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "logLevel", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
10003 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10004 if (SWIG_arg_fail(1)) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 wxLog::SetLogLevel(arg1
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 Py_INCREF(Py_None
); resultobj
= Py_None
;
10020 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= NULL
;
10022 char *kwnames
[] = {
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 wxLog::DontCreateOnDemand();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 Py_INCREF(Py_None
); resultobj
= Py_None
;
10041 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
= NULL
;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "ulMask", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10051 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10052 if (SWIG_arg_fail(1)) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxLog::SetTraceMask(arg1
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 Py_INCREF(Py_None
); resultobj
= Py_None
;
10068 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
= NULL
;
10070 wxString
*arg1
= 0 ;
10071 bool temp1
= false ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "str", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10079 arg1
= wxString_in_helper(obj0
);
10080 if (arg1
== NULL
) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 wxLog::AddTraceMask((wxString
const &)*arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= NULL
;
10107 wxString
*arg1
= 0 ;
10108 bool temp1
= false ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "str", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10116 arg1
= wxString_in_helper(obj0
);
10117 if (arg1
== NULL
) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
= NULL
;
10144 char *kwnames
[] = {
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 wxLog::ClearTraceMasks();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
= NULL
;
10165 wxArrayString
*result
;
10166 char *kwnames
[] = {
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10175 result
= (wxArrayString
*) &_result_ref
;
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= wxArrayString2PyList_helper(*result
);
10190 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
= NULL
;
10192 wxChar
*arg1
= (wxChar
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "ts", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 wxLog::SetTimestamp((wxChar
const *)arg1
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= NULL
;
10218 char *kwnames
[] = {
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (bool)wxLog::GetVerbose();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10239 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
= NULL
;
10241 wxTraceMask result
;
10242 char *kwnames
[] = {
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (wxTraceMask
)wxLog::GetTraceMask();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10263 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
= NULL
;
10265 wxChar
*arg1
= (wxChar
*) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "mask", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10274 if (SWIG_arg_fail(1)) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= NULL
;
10294 char *kwnames
[] = {
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (wxLogLevel
)wxLog::GetLogLevel();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10315 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
= NULL
;
10318 char *kwnames
[] = {
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (wxChar
*)wxLog::GetTimestamp();
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10337 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
= NULL
;
10340 char *kwnames
[] = {
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= wxLog_TimeStamp();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10365 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
= NULL
;
10367 wxLog
*arg1
= (wxLog
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10375 if (SWIG_arg_fail(1)) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 wxLog_Destroy(arg1
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10393 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10395 return Py_BuildValue((char *)"");
10397 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= NULL
;
10399 wxLogStderr
*result
;
10400 char *kwnames
[] = {
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (wxLogStderr
*)new wxLogStderr();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10419 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10422 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10424 return Py_BuildValue((char *)"");
10426 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
= NULL
;
10428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10429 wxLogTextCtrl
*result
;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "pTextCtrl", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10452 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10455 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10457 return Py_BuildValue((char *)"");
10459 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
= NULL
;
10462 char *kwnames
[] = {
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (wxLogGui
*)new wxLogGui();
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10481 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10484 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10486 return Py_BuildValue((char *)"");
10488 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= NULL
;
10490 wxFrame
*arg1
= (wxFrame
*) 0 ;
10491 wxString
*arg2
= 0 ;
10492 bool arg3
= (bool) true ;
10493 bool arg4
= (bool) true ;
10494 wxLogWindow
*result
;
10495 bool temp2
= false ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 PyObject
* obj2
= 0 ;
10499 PyObject
* obj3
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10506 if (SWIG_arg_fail(1)) SWIG_fail
;
10508 arg2
= wxString_in_helper(obj1
);
10509 if (arg2
== NULL
) SWIG_fail
;
10514 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10515 if (SWIG_arg_fail(3)) SWIG_fail
;
10520 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10521 if (SWIG_arg_fail(4)) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10546 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= NULL
;
10548 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10549 bool arg2
= (bool) true ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "bShow", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail
;
10561 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10562 if (SWIG_arg_fail(2)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->Show(arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 Py_INCREF(Py_None
); resultobj
= Py_None
;
10579 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= NULL
;
10581 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(1)) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10607 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
= NULL
;
10609 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10633 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
= NULL
;
10635 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
= NULL
;
10663 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "bDoPass", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail
;
10675 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10676 if (SWIG_arg_fail(2)) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 (arg1
)->PassMessages(arg2
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10695 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10697 return Py_BuildValue((char *)"");
10699 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= NULL
;
10701 wxLog
*arg1
= (wxLog
*) 0 ;
10702 wxLogChain
*result
;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "logger", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (wxLogChain
*)new wxLogChain(arg1
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10725 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
= NULL
;
10727 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10728 wxLog
*arg2
= (wxLog
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self",(char *) "logger", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10737 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetLog(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 Py_INCREF(Py_None
); resultobj
= Py_None
;
10754 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= NULL
;
10756 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "bDoPass", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail
;
10768 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->PassMessages(arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 Py_INCREF(Py_None
); resultobj
= Py_None
;
10785 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= NULL
;
10787 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (bool)(arg1
)->IsPassingMessages();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
= NULL
;
10815 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (wxLog
*)(arg1
)->GetOldLog();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10839 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10842 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10844 return Py_BuildValue((char *)"");
10846 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= NULL
;
10848 wxLogBuffer
*result
;
10849 char *kwnames
[] = {
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (wxLogBuffer
*)new wxLogBuffer();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10868 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= NULL
;
10870 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10879 if (SWIG_arg_fail(1)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10884 result
= (wxString
*) &_result_ref
;
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10903 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
= NULL
;
10905 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10928 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10931 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10933 return Py_BuildValue((char *)"");
10935 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
= NULL
;
10937 unsigned long result
;
10938 char *kwnames
[] = {
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (unsigned long)wxSysErrorCode();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10959 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= NULL
;
10961 unsigned long arg1
= (unsigned long) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "nErrCode", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10971 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10972 if (SWIG_arg_fail(1)) SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= wxSysErrorMsg(arg1
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10995 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
= NULL
;
10997 wxString
*arg1
= 0 ;
10998 bool temp1
= false ;
10999 PyObject
* obj0
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "msg", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11006 arg1
= wxString_in_helper(obj0
);
11007 if (arg1
== NULL
) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 wxPyLogFatalError((wxString
const &)*arg1
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= NULL
;
11034 wxString
*arg1
= 0 ;
11035 bool temp1
= false ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "msg", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11043 arg1
= wxString_in_helper(obj0
);
11044 if (arg1
== NULL
) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 wxPyLogError((wxString
const &)*arg1
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11069 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
= NULL
;
11071 wxString
*arg1
= 0 ;
11072 bool temp1
= false ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "msg", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11080 arg1
= wxString_in_helper(obj0
);
11081 if (arg1
== NULL
) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxPyLogWarning((wxString
const &)*arg1
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= NULL
;
11108 wxString
*arg1
= 0 ;
11109 bool temp1
= false ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "msg", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11117 arg1
= wxString_in_helper(obj0
);
11118 if (arg1
== NULL
) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 wxPyLogMessage((wxString
const &)*arg1
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= NULL
;
11145 wxString
*arg1
= 0 ;
11146 bool temp1
= false ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "msg", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11154 arg1
= wxString_in_helper(obj0
);
11155 if (arg1
== NULL
) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 wxPyLogInfo((wxString
const &)*arg1
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11180 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
= NULL
;
11182 wxString
*arg1
= 0 ;
11183 bool temp1
= false ;
11184 PyObject
* obj0
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "msg", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11191 arg1
= wxString_in_helper(obj0
);
11192 if (arg1
== NULL
) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 wxPyLogDebug((wxString
const &)*arg1
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
= NULL
;
11219 wxString
*arg1
= 0 ;
11220 bool temp1
= false ;
11221 PyObject
* obj0
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "msg", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11228 arg1
= wxString_in_helper(obj0
);
11229 if (arg1
== NULL
) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxPyLogVerbose((wxString
const &)*arg1
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
= NULL
;
11256 wxString
*arg1
= 0 ;
11257 bool temp1
= false ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "msg", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11265 arg1
= wxString_in_helper(obj0
);
11266 if (arg1
== NULL
) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 wxPyLogStatus((wxString
const &)*arg1
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= NULL
;
11293 wxFrame
*arg1
= (wxFrame
*) 0 ;
11294 wxString
*arg2
= 0 ;
11295 bool temp2
= false ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "pFrame",(char *) "msg", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 arg2
= wxString_in_helper(obj1
);
11307 if (arg2
== NULL
) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= NULL
;
11334 wxString
*arg1
= 0 ;
11335 bool temp1
= false ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "msg", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11343 arg1
= wxString_in_helper(obj0
);
11344 if (arg1
== NULL
) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxPyLogSysError((wxString
const &)*arg1
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
= NULL
;
11371 unsigned long arg1
;
11372 wxString
*arg2
= 0 ;
11373 bool temp2
= false ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "level",(char *) "msg", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11382 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11383 if (SWIG_arg_fail(1)) SWIG_fail
;
11386 arg2
= wxString_in_helper(obj1
);
11387 if (arg2
== NULL
) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11413 PyObject
*resultobj
= NULL
;
11414 unsigned long arg1
;
11415 wxString
*arg2
= 0 ;
11416 bool temp2
= false ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11420 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11422 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11426 arg2
= wxString_in_helper(obj1
);
11427 if (arg2
== NULL
) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11453 PyObject
*resultobj
= NULL
;
11454 wxString
*arg1
= 0 ;
11455 wxString
*arg2
= 0 ;
11456 bool temp1
= false ;
11457 bool temp2
= false ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11461 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11463 arg1
= wxString_in_helper(obj0
);
11464 if (arg1
== NULL
) SWIG_fail
;
11468 arg2
= wxString_in_helper(obj1
);
11469 if (arg2
== NULL
) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 Py_INCREF(Py_None
); resultobj
= Py_None
;
11502 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11507 argc
= PyObject_Length(args
);
11508 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11514 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11518 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11521 return _wrap_LogTrace__SWIG_1(self
,args
);
11527 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11530 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11533 return _wrap_LogTrace__SWIG_0(self
,args
);
11538 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11543 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= NULL
;
11545 wxString
*arg1
= 0 ;
11546 wxString
*arg2
= 0 ;
11547 bool temp1
= false ;
11548 bool temp2
= false ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "title",(char *) "text", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11557 arg1
= wxString_in_helper(obj0
);
11558 if (arg1
== NULL
) SWIG_fail
;
11562 arg2
= wxString_in_helper(obj1
);
11563 if (arg2
== NULL
) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11596 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
= NULL
;
11599 char *kwnames
[] = {
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxLogNull
*)new wxLogNull();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11618 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= NULL
;
11620 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11646 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11648 return Py_BuildValue((char *)"");
11650 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= NULL
;
11653 char *kwnames
[] = {
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxPyLog
*)new wxPyLog();
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11672 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
= NULL
;
11674 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11675 PyObject
*arg2
= (PyObject
*) 0 ;
11676 PyObject
*arg3
= (PyObject
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "self",(char *) "_class", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11708 return Py_BuildValue((char *)"");
11710 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
= NULL
;
11713 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11714 int arg3
= (int) wxKILL_NOCHILDREN
;
11715 wxKillError result
;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 PyObject
* obj2
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11725 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11726 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11731 if (SWIG_arg_fail(2)) SWIG_fail
;
11736 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11737 if (SWIG_arg_fail(3)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int((result
));
11754 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
= NULL
;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "pid", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11765 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11766 if (SWIG_arg_fail(1)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)wxPyProcess::Exists(arg1
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11784 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= NULL
;
11786 wxString
*arg1
= 0 ;
11787 int arg2
= (int) wxEXEC_ASYNC
;
11788 wxPyProcess
*result
;
11789 bool temp1
= false ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "cmd",(char *) "flags", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11798 arg1
= wxString_in_helper(obj0
);
11799 if (arg1
== NULL
) SWIG_fail
;
11804 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11805 if (SWIG_arg_fail(2)) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11830 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
= NULL
;
11832 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11833 int arg2
= (int) -1 ;
11834 wxPyProcess
*result
;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "parent",(char *) "id", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11848 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11849 if (SWIG_arg_fail(2)) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11866 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= NULL
;
11868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11869 PyObject
*arg2
= (PyObject
*) 0 ;
11870 PyObject
*arg3
= (PyObject
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "self",(char *) "_class", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11880 if (SWIG_arg_fail(1)) SWIG_fail
;
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 Py_INCREF(Py_None
); resultobj
= Py_None
;
11897 static PyObject
*_wrap_Process_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= NULL
;
11899 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 PyObject
* obj2
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self",(char *) "pid",(char *) "status", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11914 if (SWIG_arg_fail(2)) SWIG_fail
;
11917 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11918 if (SWIG_arg_fail(3)) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->OnTerminate(arg2
,arg3
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11934 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
= NULL
;
11936 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->Redirect();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 Py_INCREF(Py_None
); resultobj
= Py_None
;
11959 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
= NULL
;
11961 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11970 if (SWIG_arg_fail(1)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (bool)(arg1
)->IsRedirected();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11987 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= NULL
;
11989 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11997 if (SWIG_arg_fail(1)) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
= NULL
;
12014 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12015 wxInputStream
*result
;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 wxPyInputStream
* _ptr
= NULL
;
12035 _ptr
= new wxPyInputStream(result
);
12037 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12045 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= NULL
;
12047 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12048 wxInputStream
*result
;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12056 if (SWIG_arg_fail(1)) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 wxPyInputStream
* _ptr
= NULL
;
12068 _ptr
= new wxPyInputStream(result
);
12070 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12078 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
= NULL
;
12080 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12081 wxOutputStream
*result
;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12104 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
= NULL
;
12106 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 (arg1
)->CloseOutput();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= NULL
;
12131 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(1)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12157 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
= NULL
;
12159 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "self", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12185 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
= NULL
;
12187 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12196 if (SWIG_arg_fail(1)) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12216 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12218 return Py_BuildValue((char *)"");
12220 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
= NULL
;
12222 int arg1
= (int) 0 ;
12223 int arg2
= (int) 0 ;
12224 int arg3
= (int) 0 ;
12225 wxProcessEvent
*result
;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 PyObject
* obj2
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12236 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12243 if (SWIG_arg_fail(2)) SWIG_fail
;
12248 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12249 if (SWIG_arg_fail(3)) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12266 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
= NULL
;
12268 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12277 if (SWIG_arg_fail(1)) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (int)(arg1
)->GetPid();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int(static_cast<int >(result
));
12294 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
= NULL
;
12296 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12305 if (SWIG_arg_fail(1)) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (int)(arg1
)->GetExitCode();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_From_int(static_cast<int >(result
));
12322 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= NULL
;
12324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "m_pid", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12337 if (SWIG_arg_fail(2)) SWIG_fail
;
12339 if (arg1
) (arg1
)->m_pid
= arg2
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12348 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
= NULL
;
12350 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 result
= (int) ((arg1
)->m_pid
);
12363 resultobj
= SWIG_From_int(static_cast<int >(result
));
12371 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= NULL
;
12373 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "m_exitcode", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail
;
12385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12386 if (SWIG_arg_fail(2)) SWIG_fail
;
12388 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= NULL
;
12399 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12408 if (SWIG_arg_fail(1)) SWIG_fail
;
12409 result
= (int) ((arg1
)->m_exitcode
);
12412 resultobj
= SWIG_From_int(static_cast<int >(result
));
12420 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12423 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12425 return Py_BuildValue((char *)"");
12427 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
= NULL
;
12429 wxString
*arg1
= 0 ;
12430 int arg2
= (int) wxEXEC_ASYNC
;
12431 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12433 bool temp1
= false ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 PyObject
* obj2
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "command",(char *) "flags",(char *) "process", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12443 arg1
= wxString_in_helper(obj0
);
12444 if (arg1
== NULL
) SWIG_fail
;
12449 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12450 if (SWIG_arg_fail(2)) SWIG_fail
;
12454 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12455 if (SWIG_arg_fail(3)) SWIG_fail
;
12458 if (!wxPyCheckForApp()) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_From_long(static_cast<long >(result
));
12482 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
= NULL
;
12485 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12486 wxKillError
*arg3
= (wxKillError
*) 0 ;
12487 int arg4
= (int) wxKILL_NOCHILDREN
;
12489 wxKillError temp3
;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 PyObject
* obj2
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12502 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12507 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12508 if (SWIG_arg_fail(2)) SWIG_fail
;
12513 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12514 if (SWIG_arg_fail(4)) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= SWIG_From_int(static_cast<int >(result
));
12529 o
= PyInt_FromLong((long) (*arg3
));
12531 resultobj
= t_output_helper(resultobj
, o
);
12542 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
= NULL
;
12544 int arg1
= (int) wxJOYSTICK1
;
12545 wxJoystick
*result
;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "joystick", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12554 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12559 if (!wxPyCheckForApp()) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxJoystick
*)new wxJoystick(arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12573 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
= NULL
;
12575 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= NULL
;
12600 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (arg1
)->GetPosition();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12618 wxPoint
* resultptr
;
12619 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12628 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
= NULL
;
12630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (int)(arg1
)->GetZPosition();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_From_int(static_cast<int >(result
));
12656 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
= NULL
;
12658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12667 if (SWIG_arg_fail(1)) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (int)(arg1
)->GetButtonState();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_From_int(static_cast<int >(result
));
12684 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
= NULL
;
12686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12695 if (SWIG_arg_fail(1)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (int)(arg1
)->GetPOVPosition();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_From_int(static_cast<int >(result
));
12712 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
= NULL
;
12714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (int)(arg1
)->GetPOVCTSPosition();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_From_int(static_cast<int >(result
));
12740 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= NULL
;
12742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (int)(arg1
)->GetRudderPosition();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_From_int(static_cast<int >(result
));
12768 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= NULL
;
12770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (int)(arg1
)->GetUPosition();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_int(static_cast<int >(result
));
12796 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
= NULL
;
12798 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (int)(arg1
)->GetVPosition();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_From_int(static_cast<int >(result
));
12824 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
= NULL
;
12826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12835 if (SWIG_arg_fail(1)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= (int)(arg1
)->GetMovementThreshold();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_From_int(static_cast<int >(result
));
12852 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
= NULL
;
12854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "threshold", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12864 if (SWIG_arg_fail(1)) SWIG_fail
;
12866 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12867 if (SWIG_arg_fail(2)) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 (arg1
)->SetMovementThreshold(arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 Py_INCREF(Py_None
); resultobj
= Py_None
;
12883 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= NULL
;
12885 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(1)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (bool)(arg1
)->IsOk();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12911 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
= NULL
;
12913 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12922 if (SWIG_arg_fail(1)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (int)(arg1
)->GetNumberJoysticks();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_From_int(static_cast<int >(result
));
12939 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
= NULL
;
12941 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12950 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (int)(arg1
)->GetManufacturerId();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_From_int(static_cast<int >(result
));
12967 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= NULL
;
12969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (int)(arg1
)->GetProductId();
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_From_int(static_cast<int >(result
));
12995 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= NULL
;
12997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (arg1
)->GetProductName();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13027 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
= NULL
;
13029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (int)(arg1
)->GetXMin();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_From_int(static_cast<int >(result
));
13055 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= NULL
;
13057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13066 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (int)(arg1
)->GetYMin();
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_From_int(static_cast<int >(result
));
13083 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
= NULL
;
13085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (int)(arg1
)->GetZMin();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_int(static_cast<int >(result
));
13111 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= NULL
;
13113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (int)(arg1
)->GetXMax();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_int(static_cast<int >(result
));
13139 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= NULL
;
13141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (int)(arg1
)->GetYMax();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_From_int(static_cast<int >(result
));
13167 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= NULL
;
13169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (int)(arg1
)->GetZMax();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_From_int(static_cast<int >(result
));
13195 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
= NULL
;
13197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13206 if (SWIG_arg_fail(1)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (int)(arg1
)->GetNumberButtons();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_From_int(static_cast<int >(result
));
13223 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
= NULL
;
13225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (int)(arg1
)->GetNumberAxes();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_From_int(static_cast<int >(result
));
13251 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
= NULL
;
13253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13262 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (int)(arg1
)->GetMaxButtons();
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_From_int(static_cast<int >(result
));
13279 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
= NULL
;
13281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)(arg1
)->GetMaxAxes();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_int(static_cast<int >(result
));
13307 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
= NULL
;
13309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (int)(arg1
)->GetPollingMin();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_From_int(static_cast<int >(result
));
13335 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
= NULL
;
13337 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (int)(arg1
)->GetPollingMax();
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_From_int(static_cast<int >(result
));
13363 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
= NULL
;
13365 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13374 if (SWIG_arg_fail(1)) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (int)(arg1
)->GetRudderMin();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_From_int(static_cast<int >(result
));
13391 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= NULL
;
13393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13402 if (SWIG_arg_fail(1)) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (int)(arg1
)->GetRudderMax();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_From_int(static_cast<int >(result
));
13419 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
= NULL
;
13421 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13430 if (SWIG_arg_fail(1)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (int)(arg1
)->GetUMin();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_From_int(static_cast<int >(result
));
13447 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
= NULL
;
13449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (int)(arg1
)->GetUMax();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_int(static_cast<int >(result
));
13475 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
= NULL
;
13477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13486 if (SWIG_arg_fail(1)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (int)(arg1
)->GetVMin();
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_From_int(static_cast<int >(result
));
13503 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
= NULL
;
13505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (int)(arg1
)->GetVMax();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_From_int(static_cast<int >(result
));
13531 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
= NULL
;
13533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13542 if (SWIG_arg_fail(1)) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)(arg1
)->HasRudder();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13559 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
= NULL
;
13561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (bool)(arg1
)->HasZ();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= NULL
;
13589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (bool)(arg1
)->HasU();
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13615 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= NULL
;
13617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "self", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)(arg1
)->HasV();
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= NULL
;
13645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13647 PyObject
* obj0
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13654 if (SWIG_arg_fail(1)) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (bool)(arg1
)->HasPOV();
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13671 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
= NULL
;
13673 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13682 if (SWIG_arg_fail(1)) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (bool)(arg1
)->HasPOV4Dir();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13699 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= NULL
;
13701 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "self", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13710 if (SWIG_arg_fail(1)) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (bool)(arg1
)->HasPOVCTS();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= NULL
;
13729 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13730 wxWindow
*arg2
= (wxWindow
*) 0 ;
13731 int arg3
= (int) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail
;
13743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13744 if (SWIG_arg_fail(2)) SWIG_fail
;
13747 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13748 if (SWIG_arg_fail(3)) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13767 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
= NULL
;
13769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (bool)(arg1
)->ReleaseCapture();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13795 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13798 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13800 return Py_BuildValue((char *)"");
13802 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
= NULL
;
13804 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13805 int arg2
= (int) 0 ;
13806 int arg3
= (int) wxJOYSTICK1
;
13807 int arg4
= (int) 0 ;
13808 wxJoystickEvent
*result
;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 PyObject
* obj3
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13820 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13821 if (SWIG_arg_fail(1)) SWIG_fail
;
13826 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13827 if (SWIG_arg_fail(2)) SWIG_fail
;
13832 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13833 if (SWIG_arg_fail(3)) SWIG_fail
;
13838 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13839 if (SWIG_arg_fail(4)) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13856 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= NULL
;
13858 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 wxPoint
* resultptr
;
13877 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13886 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= NULL
;
13888 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_From_int(static_cast<int >(result
));
13914 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
= NULL
;
13916 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13925 if (SWIG_arg_fail(1)) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_From_int(static_cast<int >(result
));
13942 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= NULL
;
13944 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_From_int(static_cast<int >(result
));
13970 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= NULL
;
13972 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_From_int(static_cast<int >(result
));
13998 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= NULL
;
14000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "stick", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14010 if (SWIG_arg_fail(1)) SWIG_fail
;
14012 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14013 if (SWIG_arg_fail(2)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->SetJoystick(arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14029 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
= NULL
;
14031 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self",(char *) "state", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14041 if (SWIG_arg_fail(1)) SWIG_fail
;
14043 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14044 if (SWIG_arg_fail(2)) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 (arg1
)->SetButtonState(arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 Py_INCREF(Py_None
); resultobj
= Py_None
;
14060 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
= NULL
;
14062 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self",(char *) "change", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail
;
14074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14075 if (SWIG_arg_fail(2)) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 (arg1
)->SetButtonChange(arg2
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
= NULL
;
14093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14094 wxPoint
*arg2
= 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "pos", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail
;
14107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
= NULL
;
14125 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "zPos", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14138 if (SWIG_arg_fail(2)) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 (arg1
)->SetZPosition(arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 Py_INCREF(Py_None
); resultobj
= Py_None
;
14154 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= NULL
;
14156 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14182 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
= NULL
;
14184 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14210 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= NULL
;
14212 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14238 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
= NULL
;
14240 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14241 int arg2
= (int) wxJOY_BUTTON_ANY
;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self",(char *) "but", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14255 if (SWIG_arg_fail(2)) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14274 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= NULL
;
14276 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14277 int arg2
= (int) wxJOY_BUTTON_ANY
;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "but", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail
;
14290 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14291 if (SWIG_arg_fail(2)) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14310 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
= NULL
;
14312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14313 int arg2
= (int) wxJOY_BUTTON_ANY
;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "but", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail
;
14326 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14327 if (SWIG_arg_fail(2)) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14346 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14351 return Py_BuildValue((char *)"");
14353 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
= NULL
;
14355 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14356 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14358 bool temp1
= false ;
14359 PyObject
* obj0
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "fileName", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14367 arg1
= wxString_in_helper(obj0
);
14368 if (arg1
== NULL
) SWIG_fail
;
14373 if (!wxPyCheckForApp()) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14395 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
= NULL
;
14397 PyObject
*arg1
= (PyObject
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "data", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14407 if (!wxPyCheckForApp()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxSound
*)new_wxSound(arg1
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14421 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= NULL
;
14423 wxSound
*arg1
= (wxSound
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14431 if (SWIG_arg_fail(1)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
= NULL
;
14448 wxSound
*arg1
= (wxSound
*) 0 ;
14449 wxString
*arg2
= 0 ;
14451 bool temp2
= false ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "fileName", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 arg2
= wxString_in_helper(obj1
);
14463 if (arg2
== NULL
) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
= NULL
;
14492 wxSound
*arg1
= (wxSound
*) 0 ;
14493 PyObject
*arg2
= (PyObject
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "data", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14503 if (SWIG_arg_fail(1)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14521 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= NULL
;
14523 wxSound
*arg1
= (wxSound
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14532 if (SWIG_arg_fail(1)) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (bool)(arg1
)->IsOk();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14549 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
= NULL
;
14551 wxSound
*arg1
= (wxSound
*) 0 ;
14552 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "flags", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14566 if (SWIG_arg_fail(2)) SWIG_fail
;
14570 if (!wxPyCheckForApp()) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14586 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
= NULL
;
14588 wxString
*arg1
= 0 ;
14589 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14591 bool temp1
= false ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "filename",(char *) "flags", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14600 arg1
= wxString_in_helper(obj0
);
14601 if (arg1
== NULL
) SWIG_fail
;
14606 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14607 if (SWIG_arg_fail(2)) SWIG_fail
;
14611 if (!wxPyCheckForApp()) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
= NULL
;
14637 char *kwnames
[] = {
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14643 if (!wxPyCheckForApp()) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14660 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14662 return Py_BuildValue((char *)"");
14664 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
= NULL
;
14666 wxString
*arg1
= 0 ;
14667 wxString
*arg2
= 0 ;
14668 wxString
*arg3
= 0 ;
14669 wxString
*arg4
= 0 ;
14670 wxFileTypeInfo
*result
;
14671 bool temp1
= false ;
14672 bool temp2
= false ;
14673 bool temp3
= false ;
14674 bool temp4
= false ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 PyObject
* obj2
= 0 ;
14678 PyObject
* obj3
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14685 arg1
= wxString_in_helper(obj0
);
14686 if (arg1
== NULL
) SWIG_fail
;
14690 arg2
= wxString_in_helper(obj1
);
14691 if (arg2
== NULL
) SWIG_fail
;
14695 arg3
= wxString_in_helper(obj2
);
14696 if (arg3
== NULL
) SWIG_fail
;
14700 arg4
= wxString_in_helper(obj3
);
14701 if (arg4
== NULL
) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14750 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
= NULL
;
14752 wxArrayString
*arg1
= 0 ;
14753 wxFileTypeInfo
*result
;
14754 bool temp1
= false ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "sArray", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14762 if (! PySequence_Check(obj0
)) {
14763 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14766 arg1
= new wxArrayString
;
14768 int i
, len
=PySequence_Length(obj0
);
14769 for (i
=0; i
<len
; i
++) {
14770 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14771 wxString
* s
= wxString_in_helper(item
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14787 if (temp1
) delete arg1
;
14792 if (temp1
) delete arg1
;
14798 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
= NULL
;
14800 wxFileTypeInfo
*result
;
14801 char *kwnames
[] = {
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14820 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
= NULL
;
14822 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14848 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
= NULL
;
14850 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14851 wxString
*arg2
= 0 ;
14852 int arg3
= (int) 0 ;
14853 bool temp2
= false ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 PyObject
* obj2
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 arg2
= wxString_in_helper(obj1
);
14866 if (arg2
== NULL
) SWIG_fail
;
14871 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14872 if (SWIG_arg_fail(3)) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
= NULL
;
14899 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14900 wxString
*arg2
= 0 ;
14901 bool temp2
= false ;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self",(char *) "shortDesc", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail
;
14912 arg2
= wxString_in_helper(obj1
);
14913 if (arg2
== NULL
) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= NULL
;
14940 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14949 if (SWIG_arg_fail(1)) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14954 result
= (wxString
*) &_result_ref
;
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14973 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= NULL
;
14975 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14984 if (SWIG_arg_fail(1)) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14989 result
= (wxString
*) &_result_ref
;
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15008 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= NULL
;
15010 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15024 result
= (wxString
*) &_result_ref
;
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15034 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15043 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= NULL
;
15045 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15054 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15059 result
= (wxString
*) &_result_ref
;
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15078 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= NULL
;
15080 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15089 if (SWIG_arg_fail(1)) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15094 result
= (wxString
*) &_result_ref
;
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15113 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= NULL
;
15115 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15116 wxArrayString
*result
;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15124 if (SWIG_arg_fail(1)) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15129 result
= (wxArrayString
*) &_result_ref
;
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= wxArrayString2PyList_helper(*result
);
15144 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= NULL
;
15146 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_From_int(static_cast<int >(result
));
15172 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= NULL
;
15174 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15188 result
= (wxString
*) &_result_ref
;
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15207 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= NULL
;
15209 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= SWIG_From_int(static_cast<int >(result
));
15235 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15238 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15240 return Py_BuildValue((char *)"");
15242 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= NULL
;
15244 wxFileTypeInfo
*arg1
= 0 ;
15245 wxFileType
*result
;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "ftInfo", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15254 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 if (arg1
== NULL
) {
15256 SWIG_null_ref("wxFileTypeInfo");
15258 if (SWIG_arg_fail(1)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15274 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= NULL
;
15276 wxFileType
*arg1
= (wxFileType
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
= NULL
;
15301 wxFileType
*arg1
= (wxFileType
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15310 if (SWIG_arg_fail(1)) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
;
15325 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= NULL
;
15327 wxFileType
*arg1
= (wxFileType
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15336 if (SWIG_arg_fail(1)) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
;
15351 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= NULL
;
15353 wxFileType
*arg1
= (wxFileType
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
;
15377 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
= NULL
;
15379 wxFileType
*arg1
= (wxFileType
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15403 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= NULL
;
15405 wxFileType
*arg1
= (wxFileType
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= result
;
15429 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
= NULL
;
15431 wxFileType
*arg1
= (wxFileType
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15440 if (SWIG_arg_fail(1)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= result
;
15455 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= NULL
;
15457 wxFileType
*arg1
= (wxFileType
*) 0 ;
15458 wxString
*arg2
= 0 ;
15459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15462 bool temp2
= false ;
15463 bool temp3
= false ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 arg2
= wxString_in_helper(obj1
);
15476 if (arg2
== NULL
) SWIG_fail
;
15481 arg3
= wxString_in_helper(obj2
);
15482 if (arg3
== NULL
) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
;
15516 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= NULL
;
15518 wxFileType
*arg1
= (wxFileType
*) 0 ;
15519 wxString
*arg2
= 0 ;
15520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15523 bool temp2
= false ;
15524 bool temp3
= false ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15536 arg2
= wxString_in_helper(obj1
);
15537 if (arg2
== NULL
) SWIG_fail
;
15542 arg3
= wxString_in_helper(obj2
);
15543 if (arg3
== NULL
) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
;
15577 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
= NULL
;
15579 wxFileType
*arg1
= (wxFileType
*) 0 ;
15580 wxString
*arg2
= 0 ;
15581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15584 bool temp2
= false ;
15585 bool temp3
= false ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 arg2
= wxString_in_helper(obj1
);
15598 if (arg2
== NULL
) SWIG_fail
;
15603 arg3
= wxString_in_helper(obj2
);
15604 if (arg3
== NULL
) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= result
;
15638 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
= NULL
;
15640 wxFileType
*arg1
= (wxFileType
*) 0 ;
15641 wxString
*arg2
= 0 ;
15642 wxString
*arg3
= 0 ;
15643 bool arg4
= (bool) true ;
15645 bool temp2
= false ;
15646 bool temp3
= false ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 PyObject
* obj3
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15664 arg3
= wxString_in_helper(obj2
);
15665 if (arg3
== NULL
) SWIG_fail
;
15670 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15671 if (SWIG_arg_fail(4)) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= NULL
;
15708 wxFileType
*arg1
= (wxFileType
*) 0 ;
15709 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15711 int arg3
= (int) 0 ;
15713 bool temp2
= false ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 PyObject
* obj2
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "cmd",(char *) "index", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 arg2
= wxString_in_helper(obj1
);
15727 if (arg2
== NULL
) SWIG_fail
;
15733 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15734 if (SWIG_arg_fail(3)) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15761 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
= NULL
;
15763 wxFileType
*arg1
= (wxFileType
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (bool)(arg1
)->Unassociate();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
= NULL
;
15791 wxString
*arg1
= 0 ;
15792 wxString
*arg2
= 0 ;
15793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15796 bool temp1
= false ;
15797 bool temp2
= false ;
15798 bool temp3
= false ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15808 arg1
= wxString_in_helper(obj0
);
15809 if (arg1
== NULL
) SWIG_fail
;
15813 arg2
= wxString_in_helper(obj1
);
15814 if (arg2
== NULL
) SWIG_fail
;
15819 arg3
= wxString_in_helper(obj2
);
15820 if (arg3
== NULL
) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15868 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15873 return Py_BuildValue((char *)"");
15875 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15876 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15881 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15882 PyObject
*pyobj
= NULL
;
15884 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15889 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
= NULL
;
15891 wxString
*arg1
= 0 ;
15892 wxString
*arg2
= 0 ;
15894 bool temp1
= false ;
15895 bool temp2
= false ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "mimeType",(char *) "wildcard", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15904 arg1
= wxString_in_helper(obj0
);
15905 if (arg1
== NULL
) SWIG_fail
;
15909 arg2
= wxString_in_helper(obj1
);
15910 if (arg2
== NULL
) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= NULL
;
15947 wxMimeTypesManager
*result
;
15948 char *kwnames
[] = {
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15967 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
= NULL
;
15969 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15970 int arg2
= (int) wxMAILCAP_ALL
;
15971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15973 bool temp3
= false ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15983 if (SWIG_arg_fail(1)) SWIG_fail
;
15986 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15987 if (SWIG_arg_fail(2)) SWIG_fail
;
15992 arg3
= wxString_in_helper(obj2
);
15993 if (arg3
== NULL
) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16019 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
= NULL
;
16021 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->ClearData();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= NULL
;
16046 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16047 wxString
*arg2
= 0 ;
16048 wxFileType
*result
;
16049 bool temp2
= false ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "ext", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16058 if (SWIG_arg_fail(1)) SWIG_fail
;
16060 arg2
= wxString_in_helper(obj1
);
16061 if (arg2
== NULL
) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16086 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
= NULL
;
16088 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16089 wxString
*arg2
= 0 ;
16090 wxFileType
*result
;
16091 bool temp2
= false ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "mimeType", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 arg2
= wxString_in_helper(obj1
);
16103 if (arg2
== NULL
) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16128 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
= NULL
;
16130 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16131 wxString
*arg2
= 0 ;
16132 bool arg3
= (bool) false ;
16134 bool temp2
= false ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 arg2
= wxString_in_helper(obj1
);
16147 if (arg2
== NULL
) SWIG_fail
;
16152 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16153 if (SWIG_arg_fail(3)) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
= NULL
;
16182 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16183 wxString
*arg2
= 0 ;
16185 bool temp2
= false ;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self",(char *) "filename", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16194 if (SWIG_arg_fail(1)) SWIG_fail
;
16196 arg2
= wxString_in_helper(obj1
);
16197 if (arg2
== NULL
) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= NULL
;
16226 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16235 if (SWIG_arg_fail(1)) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= result
;
16250 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
= NULL
;
16252 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16253 wxFileTypeInfo
*arg2
= 0 ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self",(char *) "ft", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16265 if (SWIG_arg_fail(2)) SWIG_fail
;
16266 if (arg2
== NULL
) {
16267 SWIG_null_ref("wxFileTypeInfo");
16269 if (SWIG_arg_fail(2)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 Py_INCREF(Py_None
); resultobj
= Py_None
;
16285 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
= NULL
;
16287 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16288 wxFileTypeInfo
*arg2
= 0 ;
16289 wxFileType
*result
;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "ftInfo", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail
;
16300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16301 if (SWIG_arg_fail(2)) SWIG_fail
;
16302 if (arg2
== NULL
) {
16303 SWIG_null_ref("wxFileTypeInfo");
16305 if (SWIG_arg_fail(2)) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16321 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
= NULL
;
16323 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16324 wxFileType
*arg2
= (wxFileType
*) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self",(char *) "ft", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16336 if (SWIG_arg_fail(2)) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (bool)(arg1
)->Unassociate(arg2
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16353 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= NULL
;
16355 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16363 if (SWIG_arg_fail(1)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16381 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16383 return Py_BuildValue((char *)"");
16385 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16386 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16391 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16392 PyObject
*pyobj
= NULL
;
16396 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16398 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16405 static int _wrap_ART_MENU_set(PyObject
*) {
16406 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16411 static PyObject
*_wrap_ART_MENU_get(void) {
16412 PyObject
*pyobj
= NULL
;
16416 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16418 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16425 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16426 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16431 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16432 PyObject
*pyobj
= NULL
;
16436 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16445 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16446 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16451 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16452 PyObject
*pyobj
= NULL
;
16456 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16465 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16471 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16472 PyObject
*pyobj
= NULL
;
16476 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16485 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16491 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16492 PyObject
*pyobj
= NULL
;
16496 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16505 static int _wrap_ART_BUTTON_set(PyObject
*) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16511 static PyObject
*_wrap_ART_BUTTON_get(void) {
16512 PyObject
*pyobj
= NULL
;
16516 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16518 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16525 static int _wrap_ART_OTHER_set(PyObject
*) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16531 static PyObject
*_wrap_ART_OTHER_get(void) {
16532 PyObject
*pyobj
= NULL
;
16536 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16538 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16545 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16546 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16551 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16552 PyObject
*pyobj
= NULL
;
16556 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16558 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16565 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16566 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16571 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16572 PyObject
*pyobj
= NULL
;
16576 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16578 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16585 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16586 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16591 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16592 PyObject
*pyobj
= NULL
;
16596 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16598 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16605 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16606 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16611 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16612 PyObject
*pyobj
= NULL
;
16616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16618 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16625 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16626 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16631 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16632 PyObject
*pyobj
= NULL
;
16636 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16638 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16645 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16646 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16651 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16652 PyObject
*pyobj
= NULL
;
16656 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16658 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16665 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16666 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16671 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16672 PyObject
*pyobj
= NULL
;
16676 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16678 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16685 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16686 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16691 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16692 PyObject
*pyobj
= NULL
;
16696 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16698 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16705 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16706 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16711 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16712 PyObject
*pyobj
= NULL
;
16716 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16718 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16725 static int _wrap_ART_GO_UP_set(PyObject
*) {
16726 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16731 static PyObject
*_wrap_ART_GO_UP_get(void) {
16732 PyObject
*pyobj
= NULL
;
16736 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16738 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16745 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16751 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16752 PyObject
*pyobj
= NULL
;
16756 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16758 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16765 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16766 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16771 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16772 PyObject
*pyobj
= NULL
;
16776 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16778 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16785 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16786 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16791 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16792 PyObject
*pyobj
= NULL
;
16796 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16798 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16805 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16806 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16811 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16812 PyObject
*pyobj
= NULL
;
16816 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16818 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16825 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16826 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16831 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16832 PyObject
*pyobj
= NULL
;
16836 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16838 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16845 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16846 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16851 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16852 PyObject
*pyobj
= NULL
;
16856 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16858 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16865 static int _wrap_ART_PRINT_set(PyObject
*) {
16866 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16871 static PyObject
*_wrap_ART_PRINT_get(void) {
16872 PyObject
*pyobj
= NULL
;
16876 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16878 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16885 static int _wrap_ART_HELP_set(PyObject
*) {
16886 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16891 static PyObject
*_wrap_ART_HELP_get(void) {
16892 PyObject
*pyobj
= NULL
;
16896 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16898 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16905 static int _wrap_ART_TIP_set(PyObject
*) {
16906 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16911 static PyObject
*_wrap_ART_TIP_get(void) {
16912 PyObject
*pyobj
= NULL
;
16916 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16918 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16925 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16926 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16931 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16932 PyObject
*pyobj
= NULL
;
16936 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16938 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16945 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16946 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16951 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16952 PyObject
*pyobj
= NULL
;
16956 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16958 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16965 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16966 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16971 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16972 PyObject
*pyobj
= NULL
;
16976 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16978 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16985 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16986 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16991 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16992 PyObject
*pyobj
= NULL
;
16996 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16998 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17005 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17006 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17011 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17012 PyObject
*pyobj
= NULL
;
17016 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17018 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17025 static int _wrap_ART_CDROM_set(PyObject
*) {
17026 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17031 static PyObject
*_wrap_ART_CDROM_get(void) {
17032 PyObject
*pyobj
= NULL
;
17036 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17038 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17045 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17046 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17051 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17052 PyObject
*pyobj
= NULL
;
17056 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17058 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17065 static int _wrap_ART_FOLDER_set(PyObject
*) {
17066 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17071 static PyObject
*_wrap_ART_FOLDER_get(void) {
17072 PyObject
*pyobj
= NULL
;
17076 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17078 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17085 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17086 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17091 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17092 PyObject
*pyobj
= NULL
;
17096 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17098 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17105 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17106 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17111 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17112 PyObject
*pyobj
= NULL
;
17116 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17118 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17125 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17126 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17131 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17132 PyObject
*pyobj
= NULL
;
17136 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17138 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17145 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17146 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17151 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17152 PyObject
*pyobj
= NULL
;
17156 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17158 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17165 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17166 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17171 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17172 PyObject
*pyobj
= NULL
;
17176 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17178 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17185 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17186 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17191 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17192 PyObject
*pyobj
= NULL
;
17196 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17198 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17205 static int _wrap_ART_ERROR_set(PyObject
*) {
17206 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17211 static PyObject
*_wrap_ART_ERROR_get(void) {
17212 PyObject
*pyobj
= NULL
;
17216 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17218 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17225 static int _wrap_ART_QUESTION_set(PyObject
*) {
17226 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17231 static PyObject
*_wrap_ART_QUESTION_get(void) {
17232 PyObject
*pyobj
= NULL
;
17236 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17238 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17245 static int _wrap_ART_WARNING_set(PyObject
*) {
17246 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17251 static PyObject
*_wrap_ART_WARNING_get(void) {
17252 PyObject
*pyobj
= NULL
;
17256 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17258 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17265 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17266 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17271 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17272 PyObject
*pyobj
= NULL
;
17276 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17278 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17285 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17286 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17291 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17292 PyObject
*pyobj
= NULL
;
17296 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17298 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17305 static int _wrap_ART_COPY_set(PyObject
*) {
17306 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17311 static PyObject
*_wrap_ART_COPY_get(void) {
17312 PyObject
*pyobj
= NULL
;
17316 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17318 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17325 static int _wrap_ART_CUT_set(PyObject
*) {
17326 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17331 static PyObject
*_wrap_ART_CUT_get(void) {
17332 PyObject
*pyobj
= NULL
;
17336 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17338 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17345 static int _wrap_ART_PASTE_set(PyObject
*) {
17346 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17351 static PyObject
*_wrap_ART_PASTE_get(void) {
17352 PyObject
*pyobj
= NULL
;
17356 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17358 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17365 static int _wrap_ART_DELETE_set(PyObject
*) {
17366 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17371 static PyObject
*_wrap_ART_DELETE_get(void) {
17372 PyObject
*pyobj
= NULL
;
17376 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17378 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17385 static int _wrap_ART_NEW_set(PyObject
*) {
17386 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17391 static PyObject
*_wrap_ART_NEW_get(void) {
17392 PyObject
*pyobj
= NULL
;
17396 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17398 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17405 static int _wrap_ART_UNDO_set(PyObject
*) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17411 static PyObject
*_wrap_ART_UNDO_get(void) {
17412 PyObject
*pyobj
= NULL
;
17416 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17418 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17425 static int _wrap_ART_REDO_set(PyObject
*) {
17426 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17431 static PyObject
*_wrap_ART_REDO_get(void) {
17432 PyObject
*pyobj
= NULL
;
17436 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17438 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17445 static int _wrap_ART_QUIT_set(PyObject
*) {
17446 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17451 static PyObject
*_wrap_ART_QUIT_get(void) {
17452 PyObject
*pyobj
= NULL
;
17456 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17458 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17465 static int _wrap_ART_FIND_set(PyObject
*) {
17466 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17471 static PyObject
*_wrap_ART_FIND_get(void) {
17472 PyObject
*pyobj
= NULL
;
17476 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17478 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17485 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17486 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17491 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17492 PyObject
*pyobj
= NULL
;
17496 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17498 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17505 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
= NULL
;
17507 wxPyArtProvider
*result
;
17508 char *kwnames
[] = {
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17514 if (!wxPyCheckForApp()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17528 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= NULL
;
17530 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17538 if (SWIG_arg_fail(1)) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 Py_INCREF(Py_None
); resultobj
= Py_None
;
17553 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
= NULL
;
17555 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17556 PyObject
*arg2
= (PyObject
*) 0 ;
17557 PyObject
*arg3
= (PyObject
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "self",(char *) "_class", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= NULL
;
17586 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "provider", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17594 if (SWIG_arg_fail(1)) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 wxPyArtProvider::PushProvider(arg1
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 Py_INCREF(Py_None
); resultobj
= Py_None
;
17609 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
= NULL
;
17612 char *kwnames
[] = {
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)wxPyArtProvider::PopProvider();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17633 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= NULL
;
17635 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "provider", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= NULL
;
17663 wxString
*arg1
= 0 ;
17664 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17665 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17666 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17667 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17669 bool temp1
= false ;
17670 bool temp2
= false ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 PyObject
* obj2
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "id",(char *) "client",(char *) "size", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17681 arg1
= wxString_in_helper(obj0
);
17682 if (arg1
== NULL
) SWIG_fail
;
17687 arg2
= wxString_in_helper(obj1
);
17688 if (arg2
== NULL
) SWIG_fail
;
17695 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17699 if (!wxPyCheckForApp()) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 wxBitmap
* resultptr
;
17708 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17733 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= NULL
;
17735 wxString
*arg1
= 0 ;
17736 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17737 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17738 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17739 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17741 bool temp1
= false ;
17742 bool temp2
= false ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 PyObject
* obj2
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "id",(char *) "client",(char *) "size", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17753 arg1
= wxString_in_helper(obj0
);
17754 if (arg1
== NULL
) SWIG_fail
;
17759 arg2
= wxString_in_helper(obj1
);
17760 if (arg2
== NULL
) SWIG_fail
;
17767 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17771 if (!wxPyCheckForApp()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 wxIcon
* resultptr
;
17780 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17805 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
= NULL
;
17807 wxString
*arg1
= 0 ;
17808 bool arg2
= (bool) false ;
17810 bool temp1
= false ;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "client",(char *) "platform_dependent", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17819 arg1
= wxString_in_helper(obj0
);
17820 if (arg1
== NULL
) SWIG_fail
;
17825 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17826 if (SWIG_arg_fail(2)) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxSize
* resultptr
;
17838 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17855 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= NULL
;
17857 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17865 if (SWIG_arg_fail(1)) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 wxPyArtProvider_Destroy(arg1
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 Py_INCREF(Py_None
); resultobj
= Py_None
;
17880 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17883 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17885 return Py_BuildValue((char *)"");
17887 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= NULL
;
17889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 Py_INCREF(Py_None
); resultobj
= Py_None
;
17912 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= NULL
;
17914 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17915 wxConfigBase
*result
;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "config", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17938 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
= NULL
;
17940 bool arg1
= (bool) true ;
17941 wxConfigBase
*result
;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "createOnDemand", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17950 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17951 if (SWIG_arg_fail(1)) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17968 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
= NULL
;
17970 wxConfigBase
*result
;
17971 char *kwnames
[] = {
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (wxConfigBase
*)wxConfigBase::Create();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17990 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
= NULL
;
17992 char *kwnames
[] = {
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 wxConfigBase::DontCreateOnDemand();
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 Py_INCREF(Py_None
); resultobj
= Py_None
;
18011 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
= NULL
;
18013 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18014 wxString
*arg2
= 0 ;
18015 bool temp2
= false ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "path", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18024 if (SWIG_arg_fail(1)) SWIG_fail
;
18026 arg2
= wxString_in_helper(obj1
);
18027 if (arg2
== NULL
) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetPath((wxString
const &)*arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= NULL
;
18054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18068 result
= (wxString
*) &_result_ref
;
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18087 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= NULL
;
18089 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= result
;
18113 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= NULL
;
18115 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "index", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18126 if (SWIG_arg_fail(1)) SWIG_fail
;
18128 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18129 if (SWIG_arg_fail(2)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= result
;
18145 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= NULL
;
18147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= result
;
18171 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
= NULL
;
18173 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "index", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18187 if (SWIG_arg_fail(2)) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= result
;
18203 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
= NULL
;
18205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18206 bool arg2
= (bool) false ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "recursive", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18216 if (SWIG_arg_fail(1)) SWIG_fail
;
18219 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18220 if (SWIG_arg_fail(2)) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18239 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
= NULL
;
18241 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18242 bool arg2
= (bool) false ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "recursive", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18252 if (SWIG_arg_fail(1)) SWIG_fail
;
18255 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18256 if (SWIG_arg_fail(2)) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18275 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
= NULL
;
18277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18278 wxString
*arg2
= 0 ;
18280 bool temp2
= false ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 char *kwnames
[] = {
18284 (char *) "self",(char *) "name", NULL
18287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18289 if (SWIG_arg_fail(1)) SWIG_fail
;
18291 arg2
= wxString_in_helper(obj1
);
18292 if (arg2
== NULL
) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18319 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= NULL
;
18321 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18322 wxString
*arg2
= 0 ;
18324 bool temp2
= false ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "name", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 arg2
= wxString_in_helper(obj1
);
18336 if (arg2
== NULL
) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18363 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
= NULL
;
18365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18366 wxString
*arg2
= 0 ;
18368 bool temp2
= false ;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self",(char *) "name", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 arg2
= wxString_in_helper(obj1
);
18380 if (arg2
== NULL
) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18407 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
= NULL
;
18409 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18410 wxString
*arg2
= 0 ;
18411 wxConfigBase::EntryType result
;
18412 bool temp2
= false ;
18413 PyObject
* obj0
= 0 ;
18414 PyObject
* obj1
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "name", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18421 if (SWIG_arg_fail(1)) SWIG_fail
;
18423 arg2
= wxString_in_helper(obj1
);
18424 if (arg2
== NULL
) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_From_int((result
));
18449 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
= NULL
;
18451 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18452 wxString
*arg2
= 0 ;
18453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18456 bool temp2
= false ;
18457 bool temp3
= false ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 arg2
= wxString_in_helper(obj1
);
18470 if (arg2
== NULL
) SWIG_fail
;
18475 arg3
= wxString_in_helper(obj2
);
18476 if (arg3
== NULL
) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18516 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
= NULL
;
18518 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18519 wxString
*arg2
= 0 ;
18520 long arg3
= (long) 0 ;
18522 bool temp2
= false ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 PyObject
* obj2
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18532 if (SWIG_arg_fail(1)) SWIG_fail
;
18534 arg2
= wxString_in_helper(obj1
);
18535 if (arg2
== NULL
) SWIG_fail
;
18540 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18541 if (SWIG_arg_fail(3)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_From_long(static_cast<long >(result
));
18568 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= NULL
;
18570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18571 wxString
*arg2
= 0 ;
18572 double arg3
= (double) 0.0 ;
18574 bool temp2
= false ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 PyObject
* obj2
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail
;
18586 arg2
= wxString_in_helper(obj1
);
18587 if (arg2
== NULL
) SWIG_fail
;
18592 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18593 if (SWIG_arg_fail(3)) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_From_double(static_cast<double >(result
));
18620 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
= NULL
;
18622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18623 wxString
*arg2
= 0 ;
18624 bool arg3
= (bool) false ;
18626 bool temp2
= false ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 PyObject
* obj2
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 arg2
= wxString_in_helper(obj1
);
18639 if (arg2
== NULL
) SWIG_fail
;
18644 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18645 if (SWIG_arg_fail(3)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18672 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
= NULL
;
18674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18675 wxString
*arg2
= 0 ;
18676 wxString
*arg3
= 0 ;
18678 bool temp2
= false ;
18679 bool temp3
= false ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 PyObject
* obj2
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "key",(char *) "value", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18689 if (SWIG_arg_fail(1)) SWIG_fail
;
18691 arg2
= wxString_in_helper(obj1
);
18692 if (arg2
== NULL
) SWIG_fail
;
18696 arg3
= wxString_in_helper(obj2
);
18697 if (arg3
== NULL
) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18732 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= NULL
;
18734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18735 wxString
*arg2
= 0 ;
18738 bool temp2
= false ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "key",(char *) "value", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 arg2
= wxString_in_helper(obj1
);
18751 if (arg2
== NULL
) SWIG_fail
;
18755 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18756 if (SWIG_arg_fail(3)) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18782 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
= NULL
;
18784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18785 wxString
*arg2
= 0 ;
18788 bool temp2
= false ;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 PyObject
* obj2
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "key",(char *) "value", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail
;
18800 arg2
= wxString_in_helper(obj1
);
18801 if (arg2
== NULL
) SWIG_fail
;
18805 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18806 if (SWIG_arg_fail(3)) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18832 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= NULL
;
18834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18835 wxString
*arg2
= 0 ;
18838 bool temp2
= false ;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 PyObject
* obj2
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "key",(char *) "value", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail
;
18850 arg2
= wxString_in_helper(obj1
);
18851 if (arg2
== NULL
) SWIG_fail
;
18855 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18856 if (SWIG_arg_fail(3)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18882 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
= NULL
;
18884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18885 bool arg2
= (bool) false ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self",(char *) "currentOnly", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail
;
18898 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18899 if (SWIG_arg_fail(2)) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 result
= (bool)(arg1
)->Flush(arg2
);
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18918 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
= NULL
;
18920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18921 wxString
*arg2
= 0 ;
18922 wxString
*arg3
= 0 ;
18924 bool temp2
= false ;
18925 bool temp3
= false ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 PyObject
* obj2
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18935 if (SWIG_arg_fail(1)) SWIG_fail
;
18937 arg2
= wxString_in_helper(obj1
);
18938 if (arg2
== NULL
) SWIG_fail
;
18942 arg3
= wxString_in_helper(obj2
);
18943 if (arg3
== NULL
) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18978 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
= NULL
;
18980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18981 wxString
*arg2
= 0 ;
18982 wxString
*arg3
= 0 ;
18984 bool temp2
= false ;
18985 bool temp3
= false ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18995 if (SWIG_arg_fail(1)) SWIG_fail
;
18997 arg2
= wxString_in_helper(obj1
);
18998 if (arg2
== NULL
) SWIG_fail
;
19002 arg3
= wxString_in_helper(obj2
);
19003 if (arg3
== NULL
) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19038 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
= NULL
;
19040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19041 wxString
*arg2
= 0 ;
19042 bool arg3
= (bool) true ;
19044 bool temp2
= false ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 PyObject
* obj2
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 arg2
= wxString_in_helper(obj1
);
19057 if (arg2
== NULL
) SWIG_fail
;
19062 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19063 if (SWIG_arg_fail(3)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19090 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= NULL
;
19092 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19093 wxString
*arg2
= 0 ;
19095 bool temp2
= false ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "key", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail
;
19106 arg2
= wxString_in_helper(obj1
);
19107 if (arg2
== NULL
) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19134 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= NULL
;
19136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (bool)(arg1
)->DeleteAll();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19162 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
= NULL
;
19164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19165 bool arg2
= (bool) true ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self",(char *) "doIt", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail
;
19177 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19178 if (SWIG_arg_fail(2)) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->SetExpandEnvVars(arg2
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19195 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
= NULL
;
19197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19206 if (SWIG_arg_fail(1)) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19223 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= NULL
;
19225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19226 bool arg2
= (bool) true ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "doIt", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19235 if (SWIG_arg_fail(1)) SWIG_fail
;
19238 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19239 if (SWIG_arg_fail(2)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetRecordDefaults(arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
= NULL
;
19258 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19284 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
= NULL
;
19286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19287 wxString
*arg2
= 0 ;
19289 bool temp2
= false ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "str", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail
;
19300 arg2
= wxString_in_helper(obj1
);
19301 if (arg2
== NULL
) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19332 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
= NULL
;
19334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19343 if (SWIG_arg_fail(1)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19364 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
= NULL
;
19366 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19375 if (SWIG_arg_fail(1)) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19396 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
= NULL
;
19398 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19399 wxString
*arg2
= 0 ;
19400 bool temp2
= false ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "appName", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19409 if (SWIG_arg_fail(1)) SWIG_fail
;
19411 arg2
= wxString_in_helper(obj1
);
19412 if (arg2
== NULL
) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 (arg1
)->SetAppName((wxString
const &)*arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 Py_INCREF(Py_None
); resultobj
= Py_None
;
19437 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
= NULL
;
19439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19440 wxString
*arg2
= 0 ;
19441 bool temp2
= false ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "vendorName", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail
;
19452 arg2
= wxString_in_helper(obj1
);
19453 if (arg2
== NULL
) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= NULL
;
19480 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self",(char *) "style", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19490 if (SWIG_arg_fail(1)) SWIG_fail
;
19492 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19493 if (SWIG_arg_fail(2)) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->SetStyle(arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= NULL
;
19511 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_From_long(static_cast<long >(result
));
19537 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19540 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19542 return Py_BuildValue((char *)"");
19544 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= NULL
;
19546 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19547 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19548 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19549 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19550 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19551 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19552 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19554 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19556 bool temp1
= false ;
19557 bool temp2
= false ;
19558 bool temp3
= false ;
19559 bool temp4
= false ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 PyObject
* obj3
= 0 ;
19564 PyObject
* obj4
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19572 arg1
= wxString_in_helper(obj0
);
19573 if (arg1
== NULL
) SWIG_fail
;
19579 arg2
= wxString_in_helper(obj1
);
19580 if (arg2
== NULL
) SWIG_fail
;
19586 arg3
= wxString_in_helper(obj2
);
19587 if (arg3
== NULL
) SWIG_fail
;
19593 arg4
= wxString_in_helper(obj3
);
19594 if (arg4
== NULL
) SWIG_fail
;
19600 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19601 if (SWIG_arg_fail(5)) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19650 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= NULL
;
19652 wxConfig
*arg1
= (wxConfig
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 Py_INCREF(Py_None
); resultobj
= Py_None
;
19675 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19678 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19680 return Py_BuildValue((char *)"");
19682 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
= NULL
;
19684 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19685 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19686 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19687 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19688 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19689 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19690 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19692 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19693 wxFileConfig
*result
;
19694 bool temp1
= false ;
19695 bool temp2
= false ;
19696 bool temp3
= false ;
19697 bool temp4
= false ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 PyObject
* obj2
= 0 ;
19701 PyObject
* obj3
= 0 ;
19702 PyObject
* obj4
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19710 arg1
= wxString_in_helper(obj0
);
19711 if (arg1
== NULL
) SWIG_fail
;
19717 arg2
= wxString_in_helper(obj1
);
19718 if (arg2
== NULL
) SWIG_fail
;
19724 arg3
= wxString_in_helper(obj2
);
19725 if (arg3
== NULL
) SWIG_fail
;
19731 arg4
= wxString_in_helper(obj3
);
19732 if (arg4
== NULL
) SWIG_fail
;
19738 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19739 if (SWIG_arg_fail(5)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19788 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= NULL
;
19790 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 Py_INCREF(Py_None
); resultobj
= Py_None
;
19813 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19816 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19818 return Py_BuildValue((char *)"");
19820 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= NULL
;
19822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19823 wxString
*arg2
= 0 ;
19824 wxConfigPathChanger
*result
;
19825 bool temp2
= false ;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "config",(char *) "entry", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 arg2
= wxString_in_helper(obj1
);
19837 if (arg2
== NULL
) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19862 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
= NULL
;
19864 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 Py_INCREF(Py_None
); resultobj
= Py_None
;
19887 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= NULL
;
19889 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19898 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19903 result
= (wxString
*) &_result_ref
;
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19922 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19925 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19927 return Py_BuildValue((char *)"");
19929 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
= NULL
;
19931 wxString
*arg1
= 0 ;
19933 bool temp1
= false ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "sz", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19941 arg1
= wxString_in_helper(obj0
);
19942 if (arg1
== NULL
) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19973 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19974 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19979 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19980 PyObject
*pyobj
= NULL
;
19984 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19986 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19993 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19994 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19999 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
20000 PyObject
*pyobj
= NULL
;
20004 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20006 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20013 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
= NULL
;
20015 wxDateTime::Country arg1
;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "country", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20023 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20024 if (SWIG_arg_fail(1)) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 wxDateTime::SetCountry(arg1
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= NULL
;
20042 wxDateTime::Country result
;
20043 char *kwnames
[] = {
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_From_int((result
));
20062 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= NULL
;
20064 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20066 PyObject
* obj0
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "country", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20074 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20075 if (SWIG_arg_fail(1)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= NULL
;
20096 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "cal", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20106 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20107 if (SWIG_arg_fail(1)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_From_int(static_cast<int >(result
));
20126 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
= NULL
;
20130 PyObject
* obj0
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "year", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20137 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20138 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_From_int(static_cast<int >(result
));
20156 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= NULL
;
20158 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20159 wxDateTime::Month result
;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "cal", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20168 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_From_int((result
));
20186 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
= NULL
;
20188 int arg1
= (int) wxDateTime::Inv_Year
;
20189 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 char *kwnames
[] = {
20194 (char *) "year",(char *) "cal", NULL
20197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20200 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20201 if (SWIG_arg_fail(1)) SWIG_fail
;
20206 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20207 if (SWIG_arg_fail(2)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20226 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
= NULL
;
20228 int arg1
= (int) wxDateTime::Inv_Year
;
20230 PyObject
* obj0
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "year", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20238 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20239 if (SWIG_arg_fail(1)) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (int)wxDateTime::GetCentury(arg1
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_From_int(static_cast<int >(result
));
20258 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= NULL
;
20261 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "year",(char *) "cal", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20276 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20277 if (SWIG_arg_fail(2)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_From_int(static_cast<int >(result
));
20296 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
= NULL
;
20298 wxDateTime::Month arg1
;
20299 int arg2
= (int) wxDateTime::Inv_Year
;
20300 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "month",(char *) "year",(char *) "cal", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20311 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20312 if (SWIG_arg_fail(1)) SWIG_fail
;
20316 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20317 if (SWIG_arg_fail(2)) SWIG_fail
;
20322 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20323 if (SWIG_arg_fail(3)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_From_int(static_cast<int >(result
));
20342 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
= NULL
;
20344 wxDateTime::Month arg1
;
20345 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "month",(char *) "flags", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20361 if (SWIG_arg_fail(2)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20384 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
= NULL
;
20386 wxDateTime::WeekDay arg1
;
20387 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "weekday",(char *) "flags", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20397 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20402 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20403 if (SWIG_arg_fail(2)) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20426 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
= NULL
;
20429 char *kwnames
[] = {
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= result
;
20448 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= NULL
;
20450 int arg1
= (int) wxDateTime::Inv_Year
;
20451 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "year",(char *) "country", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20462 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20463 if (SWIG_arg_fail(1)) SWIG_fail
;
20468 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20469 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20488 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
= NULL
;
20490 int arg1
= (int) wxDateTime::Inv_Year
;
20491 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "year",(char *) "country", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20502 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20503 if (SWIG_arg_fail(1)) SWIG_fail
;
20508 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20509 if (SWIG_arg_fail(2)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 wxDateTime
* resultptr
;
20521 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20530 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
= NULL
;
20532 int arg1
= (int) wxDateTime::Inv_Year
;
20533 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "year",(char *) "country", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20551 if (SWIG_arg_fail(2)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 wxDateTime
* resultptr
;
20563 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20572 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
= NULL
;
20575 char *kwnames
[] = {
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= wxDateTime::Now();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 wxDateTime
* resultptr
;
20589 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20598 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
= NULL
;
20601 char *kwnames
[] = {
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= wxDateTime::UNow();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 wxDateTime
* resultptr
;
20615 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20624 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
= NULL
;
20627 char *kwnames
[] = {
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= wxDateTime::Today();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 wxDateTime
* resultptr
;
20641 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20650 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
= NULL
;
20652 wxDateTime
*result
;
20653 char *kwnames
[] = {
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (wxDateTime
*)new wxDateTime();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20672 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
= NULL
;
20675 wxDateTime
*result
;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "timet", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20683 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20684 if (SWIG_arg_fail(1)) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (wxDateTime
*)new wxDateTime(arg1
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20700 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
= NULL
;
20703 wxDateTime
*result
;
20704 PyObject
* obj0
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "jdn", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20711 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (wxDateTime
*)new wxDateTime(arg1
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20728 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
= NULL
;
20731 int arg2
= (int) 0 ;
20732 int arg3
= (int) 0 ;
20733 int arg4
= (int) 0 ;
20734 wxDateTime
*result
;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 PyObject
* obj2
= 0 ;
20738 PyObject
* obj3
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20745 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20750 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20751 if (SWIG_arg_fail(2)) SWIG_fail
;
20756 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20757 if (SWIG_arg_fail(3)) SWIG_fail
;
20762 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20763 if (SWIG_arg_fail(4)) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20780 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
= NULL
;
20783 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20784 int arg3
= (int) wxDateTime::Inv_Year
;
20785 int arg4
= (int) 0 ;
20786 int arg5
= (int) 0 ;
20787 int arg6
= (int) 0 ;
20788 int arg7
= (int) 0 ;
20789 wxDateTime
*result
;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 PyObject
* obj2
= 0 ;
20793 PyObject
* obj3
= 0 ;
20794 PyObject
* obj4
= 0 ;
20795 PyObject
* obj5
= 0 ;
20796 PyObject
* obj6
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20803 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20804 if (SWIG_arg_fail(1)) SWIG_fail
;
20808 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20809 if (SWIG_arg_fail(2)) SWIG_fail
;
20814 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20815 if (SWIG_arg_fail(3)) SWIG_fail
;
20820 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20821 if (SWIG_arg_fail(4)) SWIG_fail
;
20826 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20827 if (SWIG_arg_fail(5)) SWIG_fail
;
20832 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20833 if (SWIG_arg_fail(6)) SWIG_fail
;
20838 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20839 if (SWIG_arg_fail(7)) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20856 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
= NULL
;
20858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
= NULL
;
20883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20884 wxDateTime
*result
;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20897 result
= (wxDateTime
*) &_result_ref
;
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20910 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
= NULL
;
20912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20914 wxDateTime
*result
;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self",(char *) "timet", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail
;
20925 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20926 if (SWIG_arg_fail(2)) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20932 result
= (wxDateTime
*) &_result_ref
;
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20945 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
= NULL
;
20947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20949 wxDateTime
*result
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self",(char *) "jdn", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20958 if (SWIG_arg_fail(1)) SWIG_fail
;
20960 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20961 if (SWIG_arg_fail(2)) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20967 result
= (wxDateTime
*) &_result_ref
;
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20980 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
= NULL
;
20982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20984 int arg3
= (int) 0 ;
20985 int arg4
= (int) 0 ;
20986 int arg5
= (int) 0 ;
20987 wxDateTime
*result
;
20988 PyObject
* obj0
= 0 ;
20989 PyObject
* obj1
= 0 ;
20990 PyObject
* obj2
= 0 ;
20991 PyObject
* obj3
= 0 ;
20992 PyObject
* obj4
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21001 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21002 if (SWIG_arg_fail(2)) SWIG_fail
;
21006 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21007 if (SWIG_arg_fail(3)) SWIG_fail
;
21012 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21013 if (SWIG_arg_fail(4)) SWIG_fail
;
21018 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21019 if (SWIG_arg_fail(5)) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21026 result
= (wxDateTime
*) &_result_ref
;
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21039 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= NULL
;
21041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21043 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21044 int arg4
= (int) wxDateTime::Inv_Year
;
21045 int arg5
= (int) 0 ;
21046 int arg6
= (int) 0 ;
21047 int arg7
= (int) 0 ;
21048 int arg8
= (int) 0 ;
21049 wxDateTime
*result
;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 PyObject
* obj2
= 0 ;
21053 PyObject
* obj3
= 0 ;
21054 PyObject
* obj4
= 0 ;
21055 PyObject
* obj5
= 0 ;
21056 PyObject
* obj6
= 0 ;
21057 PyObject
* obj7
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail
;
21066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21067 if (SWIG_arg_fail(2)) SWIG_fail
;
21071 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21072 if (SWIG_arg_fail(3)) SWIG_fail
;
21077 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21078 if (SWIG_arg_fail(4)) SWIG_fail
;
21083 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21084 if (SWIG_arg_fail(5)) SWIG_fail
;
21089 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21090 if (SWIG_arg_fail(6)) SWIG_fail
;
21095 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21096 if (SWIG_arg_fail(7)) SWIG_fail
;
21101 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21102 if (SWIG_arg_fail(8)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21109 result
= (wxDateTime
*) &_result_ref
;
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21122 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
= NULL
;
21124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21125 wxDateTime
*result
;
21126 PyObject
* obj0
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21138 result
= (wxDateTime
*) &_result_ref
;
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21151 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
= NULL
;
21153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21155 wxDateTime
*result
;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self",(char *) "year", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail
;
21166 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21167 if (SWIG_arg_fail(2)) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21173 result
= (wxDateTime
*) &_result_ref
;
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21186 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= NULL
;
21188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21189 wxDateTime::Month arg2
;
21190 wxDateTime
*result
;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self",(char *) "month", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail
;
21201 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21202 if (SWIG_arg_fail(2)) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21208 result
= (wxDateTime
*) &_result_ref
;
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21221 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
= NULL
;
21223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21225 wxDateTime
*result
;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "day", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21237 if (SWIG_arg_fail(2)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21243 result
= (wxDateTime
*) &_result_ref
;
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21256 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= NULL
;
21258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21260 wxDateTime
*result
;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self",(char *) "hour", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21272 if (SWIG_arg_fail(2)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21278 result
= (wxDateTime
*) &_result_ref
;
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21291 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
= NULL
;
21293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21295 wxDateTime
*result
;
21296 PyObject
* obj0
= 0 ;
21297 PyObject
* obj1
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self",(char *) "minute", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21304 if (SWIG_arg_fail(1)) SWIG_fail
;
21306 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21307 if (SWIG_arg_fail(2)) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21313 result
= (wxDateTime
*) &_result_ref
;
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21326 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
= NULL
;
21328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21330 wxDateTime
*result
;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "second", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21339 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21342 if (SWIG_arg_fail(2)) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21348 result
= (wxDateTime
*) &_result_ref
;
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21361 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
= NULL
;
21363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21365 wxDateTime
*result
;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "millisecond", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail
;
21376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21377 if (SWIG_arg_fail(2)) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21383 result
= (wxDateTime
*) &_result_ref
;
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21396 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= NULL
;
21398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21399 wxDateTime::WeekDay arg2
;
21400 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21401 wxDateTime
*result
;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 PyObject
* obj2
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail
;
21413 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21414 if (SWIG_arg_fail(2)) SWIG_fail
;
21418 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21419 if (SWIG_arg_fail(3)) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21426 result
= (wxDateTime
*) &_result_ref
;
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21439 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= NULL
;
21441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21442 wxDateTime::WeekDay arg2
;
21443 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 PyObject
* obj2
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21457 if (SWIG_arg_fail(2)) SWIG_fail
;
21461 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21462 if (SWIG_arg_fail(3)) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 wxDateTime
* resultptr
;
21474 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21483 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
= NULL
;
21485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21486 wxDateTime::WeekDay arg2
;
21487 wxDateTime
*result
;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self",(char *) "weekday", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail
;
21498 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21499 if (SWIG_arg_fail(2)) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21505 result
= (wxDateTime
*) &_result_ref
;
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21518 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
= NULL
;
21520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21521 wxDateTime::WeekDay arg2
;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "weekday", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21534 if (SWIG_arg_fail(2)) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (arg1
)->GetNextWeekDay(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 wxDateTime
* resultptr
;
21545 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21554 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
= NULL
;
21556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21557 wxDateTime::WeekDay arg2
;
21558 wxDateTime
*result
;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self",(char *) "weekday", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21567 if (SWIG_arg_fail(1)) SWIG_fail
;
21569 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21570 if (SWIG_arg_fail(2)) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21576 result
= (wxDateTime
*) &_result_ref
;
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21589 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
= NULL
;
21591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21592 wxDateTime::WeekDay arg2
;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "weekday", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21605 if (SWIG_arg_fail(2)) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (arg1
)->GetPrevWeekDay(arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 wxDateTime
* resultptr
;
21616 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21625 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
= NULL
;
21627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21628 wxDateTime::WeekDay arg2
;
21629 int arg3
= (int) 1 ;
21630 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21631 int arg5
= (int) wxDateTime::Inv_Year
;
21633 PyObject
* obj0
= 0 ;
21634 PyObject
* obj1
= 0 ;
21635 PyObject
* obj2
= 0 ;
21636 PyObject
* obj3
= 0 ;
21637 PyObject
* obj4
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21644 if (SWIG_arg_fail(1)) SWIG_fail
;
21646 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21647 if (SWIG_arg_fail(2)) SWIG_fail
;
21651 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21652 if (SWIG_arg_fail(3)) SWIG_fail
;
21657 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21658 if (SWIG_arg_fail(4)) SWIG_fail
;
21663 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21664 if (SWIG_arg_fail(5)) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21683 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
= NULL
;
21685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21686 wxDateTime::WeekDay arg2
;
21687 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21688 int arg4
= (int) wxDateTime::Inv_Year
;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 PyObject
* obj2
= 0 ;
21693 PyObject
* obj3
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail
;
21702 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21703 if (SWIG_arg_fail(2)) SWIG_fail
;
21707 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21708 if (SWIG_arg_fail(3)) SWIG_fail
;
21713 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21714 if (SWIG_arg_fail(4)) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21733 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
= NULL
;
21735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21736 wxDateTime::WeekDay arg2
;
21737 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21738 int arg4
= (int) wxDateTime::Inv_Year
;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 PyObject
* obj2
= 0 ;
21743 PyObject
* obj3
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail
;
21752 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21753 if (SWIG_arg_fail(2)) SWIG_fail
;
21757 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21758 if (SWIG_arg_fail(3)) SWIG_fail
;
21763 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21764 if (SWIG_arg_fail(4)) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 wxDateTime
* resultptr
;
21776 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21785 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
= NULL
;
21787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21789 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21790 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21805 if (SWIG_arg_fail(2)) SWIG_fail
;
21809 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21810 if (SWIG_arg_fail(3)) SWIG_fail
;
21815 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21816 if (SWIG_arg_fail(4)) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21835 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
= NULL
;
21837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21839 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21840 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 PyObject
* obj2
= 0 ;
21845 PyObject
* obj3
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21852 if (SWIG_arg_fail(1)) SWIG_fail
;
21854 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21855 if (SWIG_arg_fail(2)) SWIG_fail
;
21859 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21860 if (SWIG_arg_fail(3)) SWIG_fail
;
21865 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21866 if (SWIG_arg_fail(4)) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 wxDateTime
* resultptr
;
21878 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21887 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
= NULL
;
21891 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 PyObject
* obj2
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21902 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21907 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21912 if (SWIG_arg_fail(3)) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21923 wxDateTime
* resultptr
;
21924 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21933 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
= NULL
;
21935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21936 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21937 int arg3
= (int) wxDateTime::Inv_Year
;
21938 wxDateTime
*result
;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 PyObject
* obj2
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "month",(char *) "year", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail
;
21951 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21952 if (SWIG_arg_fail(2)) SWIG_fail
;
21957 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21958 if (SWIG_arg_fail(3)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21965 result
= (wxDateTime
*) &_result_ref
;
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21978 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
= NULL
;
21980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21981 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21982 int arg3
= (int) wxDateTime::Inv_Year
;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 PyObject
* obj2
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self",(char *) "month",(char *) "year", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21993 if (SWIG_arg_fail(1)) SWIG_fail
;
21996 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21997 if (SWIG_arg_fail(2)) SWIG_fail
;
22002 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22003 if (SWIG_arg_fail(3)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 wxDateTime
* resultptr
;
22015 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22024 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= NULL
;
22026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22028 wxDateTime
*result
;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "yday", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22039 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22040 if (SWIG_arg_fail(2)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22046 result
= (wxDateTime
*) &_result_ref
;
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22059 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
= NULL
;
22061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "yday", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22072 if (SWIG_arg_fail(1)) SWIG_fail
;
22074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22075 if (SWIG_arg_fail(2)) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (arg1
)->GetYearDay(arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 wxDateTime
* resultptr
;
22086 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22095 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
= NULL
;
22097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (double)(arg1
)->GetJulianDayNumber();
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_From_double(static_cast<double >(result
));
22123 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
= NULL
;
22125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22134 if (SWIG_arg_fail(1)) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (double)(arg1
)->GetJDN();
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_From_double(static_cast<double >(result
));
22151 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
= NULL
;
22153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_double(static_cast<double >(result
));
22179 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
= NULL
;
22181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22190 if (SWIG_arg_fail(1)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (double)(arg1
)->GetMJD();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_From_double(static_cast<double >(result
));
22207 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
= NULL
;
22209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22218 if (SWIG_arg_fail(1)) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (double)(arg1
)->GetRataDie();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= SWIG_From_double(static_cast<double >(result
));
22235 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
= NULL
;
22237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22238 wxDateTime::TimeZone
*arg2
= 0 ;
22239 bool arg3
= (bool) false ;
22241 bool temp2
= false ;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 PyObject
* obj2
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail
;
22253 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22258 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22259 if (SWIG_arg_fail(3)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 wxDateTime
* resultptr
;
22271 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22275 if (temp2
) delete arg2
;
22280 if (temp2
) delete arg2
;
22286 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
= NULL
;
22288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22289 wxDateTime::TimeZone
*arg2
= 0 ;
22290 bool arg3
= (bool) false ;
22291 wxDateTime
*result
;
22292 bool temp2
= false ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj2
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail
;
22304 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22309 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22310 if (SWIG_arg_fail(3)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22317 result
= (wxDateTime
*) &_result_ref
;
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22325 if (temp2
) delete arg2
;
22330 if (temp2
) delete arg2
;
22336 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
= NULL
;
22338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22339 wxDateTime::TimeZone
*arg2
= 0 ;
22340 bool arg3
= (bool) false ;
22342 bool temp2
= false ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 PyObject
* obj2
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22359 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22360 if (SWIG_arg_fail(3)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 wxDateTime
* resultptr
;
22372 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22376 if (temp2
) delete arg2
;
22381 if (temp2
) delete arg2
;
22387 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= NULL
;
22389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22390 wxDateTime::TimeZone
*arg2
= 0 ;
22391 bool arg3
= (bool) false ;
22392 wxDateTime
*result
;
22393 bool temp2
= false ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 PyObject
* obj2
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22410 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22411 if (SWIG_arg_fail(3)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22418 result
= (wxDateTime
*) &_result_ref
;
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22426 if (temp2
) delete arg2
;
22431 if (temp2
) delete arg2
;
22437 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= NULL
;
22439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22440 bool arg2
= (bool) false ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "noDST", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22454 if (SWIG_arg_fail(2)) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 wxDateTime
* resultptr
;
22466 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22475 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
= NULL
;
22477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22478 bool arg2
= (bool) false ;
22479 wxDateTime
*result
;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "noDST", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22492 if (SWIG_arg_fail(2)) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22499 result
= (wxDateTime
*) &_result_ref
;
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22512 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= NULL
;
22514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22515 bool arg2
= (bool) false ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "noDST", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22528 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22529 if (SWIG_arg_fail(2)) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22540 wxDateTime
* resultptr
;
22541 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22550 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
= NULL
;
22552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22553 bool arg2
= (bool) false ;
22554 wxDateTime
*result
;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self",(char *) "noDST", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22566 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22567 if (SWIG_arg_fail(2)) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22574 result
= (wxDateTime
*) &_result_ref
;
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22587 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
= NULL
;
22589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22590 bool arg2
= (bool) false ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "noDST", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail
;
22603 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22604 if (SWIG_arg_fail(2)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 wxDateTime
* resultptr
;
22616 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22625 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= NULL
;
22627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22628 bool arg2
= (bool) false ;
22629 wxDateTime
*result
;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "noDST", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22638 if (SWIG_arg_fail(1)) SWIG_fail
;
22641 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22642 if (SWIG_arg_fail(2)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22649 result
= (wxDateTime
*) &_result_ref
;
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22662 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= NULL
;
22664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22665 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "country", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22679 if (SWIG_arg_fail(2)) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (int)(arg1
)->IsDST(arg2
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_From_int(static_cast<int >(result
));
22698 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
= NULL
;
22700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22709 if (SWIG_arg_fail(1)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22726 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
= NULL
;
22728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22754 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
= NULL
;
22756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22757 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22758 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22760 bool temp2
= false ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "tz", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= SWIG_From_int(static_cast<int >(result
));
22787 if (temp2
) delete arg2
;
22792 if (temp2
) delete arg2
;
22798 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
= NULL
;
22800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22801 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22802 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22803 wxDateTime::Month result
;
22804 bool temp2
= false ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 char *kwnames
[] = {
22808 (char *) "self",(char *) "tz", NULL
22811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22813 if (SWIG_arg_fail(1)) SWIG_fail
;
22816 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_From_int((result
));
22829 if (temp2
) delete arg2
;
22834 if (temp2
) delete arg2
;
22840 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= NULL
;
22842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22843 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22844 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22846 bool temp2
= false ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "tz", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail
;
22858 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_From_int(static_cast<int >(result
));
22873 if (temp2
) delete arg2
;
22878 if (temp2
) delete arg2
;
22884 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
= NULL
;
22886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22887 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22888 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22889 wxDateTime::WeekDay result
;
22890 bool temp2
= false ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "tz", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22902 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_From_int((result
));
22915 if (temp2
) delete arg2
;
22920 if (temp2
) delete arg2
;
22926 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= NULL
;
22928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22929 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22930 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22932 bool temp2
= false ;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "tz", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail
;
22944 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_From_int(static_cast<int >(result
));
22959 if (temp2
) delete arg2
;
22964 if (temp2
) delete arg2
;
22970 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= NULL
;
22972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22973 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22974 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22976 bool temp2
= false ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "tz", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_From_int(static_cast<int >(result
));
23003 if (temp2
) delete arg2
;
23008 if (temp2
) delete arg2
;
23014 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
= NULL
;
23016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23017 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23018 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23020 bool temp2
= false ;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self",(char *) "tz", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23029 if (SWIG_arg_fail(1)) SWIG_fail
;
23032 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_From_int(static_cast<int >(result
));
23047 if (temp2
) delete arg2
;
23052 if (temp2
) delete arg2
;
23058 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= NULL
;
23060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23061 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23062 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23064 bool temp2
= false ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "tz", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_From_int(static_cast<int >(result
));
23091 if (temp2
) delete arg2
;
23096 if (temp2
) delete arg2
;
23102 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= NULL
;
23104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23105 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23106 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23108 bool temp2
= false ;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self",(char *) "tz", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23120 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_From_int(static_cast<int >(result
));
23135 if (temp2
) delete arg2
;
23140 if (temp2
) delete arg2
;
23146 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
= NULL
;
23148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23149 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23150 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23151 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23153 bool temp3
= false ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 PyObject
* obj2
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self",(char *) "flags",(char *) "tz", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23163 if (SWIG_arg_fail(1)) SWIG_fail
;
23166 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23167 if (SWIG_arg_fail(2)) SWIG_fail
;
23172 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_From_int(static_cast<int >(result
));
23187 if (temp3
) delete arg3
;
23192 if (temp3
) delete arg3
;
23198 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
= NULL
;
23200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23201 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23202 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23203 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23205 bool temp3
= false ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 PyObject
* obj2
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "flags",(char *) "tz", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23218 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23219 if (SWIG_arg_fail(2)) SWIG_fail
;
23224 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_From_int(static_cast<int >(result
));
23239 if (temp3
) delete arg3
;
23244 if (temp3
) delete arg3
;
23250 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
= NULL
;
23252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23253 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "country", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail
;
23266 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23267 if (SWIG_arg_fail(2)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
= NULL
;
23288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23289 wxDateTime
*arg2
= 0 ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "datetime", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail
;
23301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23302 if (SWIG_arg_fail(2)) SWIG_fail
;
23303 if (arg2
== NULL
) {
23304 SWIG_null_ref("wxDateTime");
23306 if (SWIG_arg_fail(2)) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23324 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
= NULL
;
23326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23327 wxDateTime
*arg2
= 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "datetime", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23340 if (SWIG_arg_fail(2)) SWIG_fail
;
23341 if (arg2
== NULL
) {
23342 SWIG_null_ref("wxDateTime");
23344 if (SWIG_arg_fail(2)) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23362 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
= NULL
;
23364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23365 wxDateTime
*arg2
= 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "datetime", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23375 if (SWIG_arg_fail(1)) SWIG_fail
;
23377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23378 if (SWIG_arg_fail(2)) SWIG_fail
;
23379 if (arg2
== NULL
) {
23380 SWIG_null_ref("wxDateTime");
23382 if (SWIG_arg_fail(2)) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23400 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
= NULL
;
23402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23403 wxDateTime
*arg2
= 0 ;
23404 wxDateTime
*arg3
= 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 PyObject
* obj2
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "t1",(char *) "t2", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23415 if (SWIG_arg_fail(1)) SWIG_fail
;
23417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23418 if (SWIG_arg_fail(2)) SWIG_fail
;
23419 if (arg2
== NULL
) {
23420 SWIG_null_ref("wxDateTime");
23422 if (SWIG_arg_fail(2)) SWIG_fail
;
23425 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(3)) SWIG_fail
;
23427 if (arg3
== NULL
) {
23428 SWIG_null_ref("wxDateTime");
23430 if (SWIG_arg_fail(3)) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23448 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
= NULL
;
23450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23451 wxDateTime
*arg2
= 0 ;
23452 wxDateTime
*arg3
= 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "t1",(char *) "t2", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23463 if (SWIG_arg_fail(1)) SWIG_fail
;
23465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23466 if (SWIG_arg_fail(2)) SWIG_fail
;
23467 if (arg2
== NULL
) {
23468 SWIG_null_ref("wxDateTime");
23470 if (SWIG_arg_fail(2)) SWIG_fail
;
23473 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23474 if (SWIG_arg_fail(3)) SWIG_fail
;
23475 if (arg3
== NULL
) {
23476 SWIG_null_ref("wxDateTime");
23478 if (SWIG_arg_fail(3)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23496 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
= NULL
;
23498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23499 wxDateTime
*arg2
= 0 ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "dt", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail
;
23511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23512 if (SWIG_arg_fail(2)) SWIG_fail
;
23513 if (arg2
== NULL
) {
23514 SWIG_null_ref("wxDateTime");
23516 if (SWIG_arg_fail(2)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
= NULL
;
23536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23537 wxDateTime
*arg2
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "dt", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23547 if (SWIG_arg_fail(1)) SWIG_fail
;
23549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(2)) SWIG_fail
;
23551 if (arg2
== NULL
) {
23552 SWIG_null_ref("wxDateTime");
23554 if (SWIG_arg_fail(2)) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23572 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= NULL
;
23574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23575 wxDateTime
*arg2
= 0 ;
23576 wxTimeSpan
*arg3
= 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "dt",(char *) "ts", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23587 if (SWIG_arg_fail(1)) SWIG_fail
;
23589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(2)) SWIG_fail
;
23591 if (arg2
== NULL
) {
23592 SWIG_null_ref("wxDateTime");
23594 if (SWIG_arg_fail(2)) SWIG_fail
;
23597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(3)) SWIG_fail
;
23599 if (arg3
== NULL
) {
23600 SWIG_null_ref("wxTimeSpan");
23602 if (SWIG_arg_fail(3)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23620 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
= NULL
;
23622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23623 wxTimeSpan
*arg2
= 0 ;
23624 wxDateTime
*result
;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "diff", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23636 if (SWIG_arg_fail(2)) SWIG_fail
;
23637 if (arg2
== NULL
) {
23638 SWIG_null_ref("wxTimeSpan");
23640 if (SWIG_arg_fail(2)) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23646 result
= (wxDateTime
*) &_result_ref
;
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23659 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
= NULL
;
23661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23662 wxDateSpan
*arg2
= 0 ;
23663 wxDateTime
*result
;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "diff", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23672 if (SWIG_arg_fail(1)) SWIG_fail
;
23674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23675 if (SWIG_arg_fail(2)) SWIG_fail
;
23676 if (arg2
== NULL
) {
23677 SWIG_null_ref("wxDateSpan");
23679 if (SWIG_arg_fail(2)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23685 result
= (wxDateTime
*) &_result_ref
;
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23698 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= NULL
;
23700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23701 wxTimeSpan
*arg2
= 0 ;
23702 wxDateTime
*result
;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self",(char *) "diff", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23711 if (SWIG_arg_fail(1)) SWIG_fail
;
23713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23714 if (SWIG_arg_fail(2)) SWIG_fail
;
23715 if (arg2
== NULL
) {
23716 SWIG_null_ref("wxTimeSpan");
23718 if (SWIG_arg_fail(2)) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23724 result
= (wxDateTime
*) &_result_ref
;
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23737 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= NULL
;
23739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23740 wxDateSpan
*arg2
= 0 ;
23741 wxDateTime
*result
;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self",(char *) "diff", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23750 if (SWIG_arg_fail(1)) SWIG_fail
;
23752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23753 if (SWIG_arg_fail(2)) SWIG_fail
;
23754 if (arg2
== NULL
) {
23755 SWIG_null_ref("wxDateSpan");
23757 if (SWIG_arg_fail(2)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23763 result
= (wxDateTime
*) &_result_ref
;
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23776 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
= NULL
;
23778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23779 wxDateTime
*arg2
= 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "dt", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23792 if (SWIG_arg_fail(2)) SWIG_fail
;
23793 if (arg2
== NULL
) {
23794 SWIG_null_ref("wxDateTime");
23796 if (SWIG_arg_fail(2)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 wxTimeSpan
* resultptr
;
23807 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23816 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23817 PyObject
*resultobj
= NULL
;
23818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23819 wxTimeSpan
*arg2
= 0 ;
23820 wxDateTime
*result
;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23824 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23826 if (SWIG_arg_fail(1)) SWIG_fail
;
23828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23829 if (SWIG_arg_fail(2)) SWIG_fail
;
23830 if (arg2
== NULL
) {
23831 SWIG_null_ref("wxTimeSpan");
23833 if (SWIG_arg_fail(2)) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23839 result
= (wxDateTime
*) &_result_ref
;
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23852 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23853 PyObject
*resultobj
= NULL
;
23854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23855 wxDateSpan
*arg2
= 0 ;
23856 wxDateTime
*result
;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23860 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23862 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23865 if (SWIG_arg_fail(2)) SWIG_fail
;
23866 if (arg2
== NULL
) {
23867 SWIG_null_ref("wxDateSpan");
23869 if (SWIG_arg_fail(2)) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23875 result
= (wxDateTime
*) &_result_ref
;
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23888 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23893 argc
= PyObject_Length(args
);
23894 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23895 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23901 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23911 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23919 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23927 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23937 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23945 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23950 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23955 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23956 PyObject
*resultobj
= NULL
;
23957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23958 wxTimeSpan
*arg2
= 0 ;
23959 wxDateTime
*result
;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23963 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23965 if (SWIG_arg_fail(1)) SWIG_fail
;
23967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23968 if (SWIG_arg_fail(2)) SWIG_fail
;
23969 if (arg2
== NULL
) {
23970 SWIG_null_ref("wxTimeSpan");
23972 if (SWIG_arg_fail(2)) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23978 result
= (wxDateTime
*) &_result_ref
;
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23991 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23992 PyObject
*resultobj
= NULL
;
23993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23994 wxDateSpan
*arg2
= 0 ;
23995 wxDateTime
*result
;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23999 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
24000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24001 if (SWIG_arg_fail(1)) SWIG_fail
;
24003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 if (arg2
== NULL
) {
24006 SWIG_null_ref("wxDateSpan");
24008 if (SWIG_arg_fail(2)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24014 result
= (wxDateTime
*) &_result_ref
;
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24027 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24032 argc
= PyObject_Length(args
);
24033 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24034 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24050 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24058 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24084 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24089 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24094 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24095 PyObject
*resultobj
= NULL
;
24096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24097 wxTimeSpan
*arg2
= 0 ;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24102 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail
;
24106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24107 if (SWIG_arg_fail(2)) SWIG_fail
;
24108 if (arg2
== NULL
) {
24109 SWIG_null_ref("wxTimeSpan");
24111 if (SWIG_arg_fail(2)) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 wxDateTime
* resultptr
;
24122 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24131 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24132 PyObject
*resultobj
= NULL
;
24133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24134 wxDateSpan
*arg2
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24139 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24145 if (arg2
== NULL
) {
24146 SWIG_null_ref("wxDateSpan");
24148 if (SWIG_arg_fail(2)) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 wxDateTime
* resultptr
;
24159 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24168 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24173 argc
= PyObject_Length(args
);
24174 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24175 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24181 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24191 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24199 return _wrap_DateTime___add____SWIG_0(self
,args
);
24207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24217 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24225 return _wrap_DateTime___add____SWIG_1(self
,args
);
24230 Py_INCREF(Py_NotImplemented
);
24231 return Py_NotImplemented
;
24235 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24236 PyObject
*resultobj
= NULL
;
24237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24238 wxDateTime
*arg2
= 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24243 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24249 if (arg2
== NULL
) {
24250 SWIG_null_ref("wxDateTime");
24252 if (SWIG_arg_fail(2)) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 wxTimeSpan
* resultptr
;
24263 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24272 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24273 PyObject
*resultobj
= NULL
;
24274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24275 wxTimeSpan
*arg2
= 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24280 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(1)) SWIG_fail
;
24284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24285 if (SWIG_arg_fail(2)) SWIG_fail
;
24286 if (arg2
== NULL
) {
24287 SWIG_null_ref("wxTimeSpan");
24289 if (SWIG_arg_fail(2)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 wxDateTime
* resultptr
;
24300 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24309 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24310 PyObject
*resultobj
= NULL
;
24311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24312 wxDateSpan
*arg2
= 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24317 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(2)) SWIG_fail
;
24323 if (arg2
== NULL
) {
24324 SWIG_null_ref("wxDateSpan");
24326 if (SWIG_arg_fail(2)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 wxDateTime
* resultptr
;
24337 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24346 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24351 argc
= PyObject_Length(args
);
24352 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24369 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24377 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24395 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24403 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24421 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24429 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24434 Py_INCREF(Py_NotImplemented
);
24435 return Py_NotImplemented
;
24439 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
= NULL
;
24441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24442 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "other", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24452 if (SWIG_arg_fail(1)) SWIG_fail
;
24453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24454 if (SWIG_arg_fail(2)) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= NULL
;
24473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24474 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "other", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail
;
24485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24486 if (SWIG_arg_fail(2)) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24503 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= NULL
;
24505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24506 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "other", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24518 if (SWIG_arg_fail(2)) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24535 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= NULL
;
24537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24538 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 PyObject
* obj1
= 0 ;
24542 char *kwnames
[] = {
24543 (char *) "self",(char *) "other", NULL
24546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24548 if (SWIG_arg_fail(1)) SWIG_fail
;
24549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(2)) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24567 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
= NULL
;
24569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24570 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "other", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail
;
24581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24582 if (SWIG_arg_fail(2)) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24599 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= NULL
;
24601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24602 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self",(char *) "other", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24612 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24614 if (SWIG_arg_fail(2)) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= NULL
;
24633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24634 wxString
*arg2
= 0 ;
24636 bool temp2
= false ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "date", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail
;
24647 arg2
= wxString_in_helper(obj1
);
24648 if (arg2
== NULL
) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_From_int(static_cast<int >(result
));
24675 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
= NULL
;
24677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24678 wxString
*arg2
= 0 ;
24679 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24681 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24682 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24684 bool temp2
= false ;
24685 bool temp3
= false ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 PyObject
* obj2
= 0 ;
24689 PyObject
* obj3
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 arg2
= wxString_in_helper(obj1
);
24699 if (arg2
== NULL
) SWIG_fail
;
24704 arg3
= wxString_in_helper(obj2
);
24705 if (arg3
== NULL
) SWIG_fail
;
24711 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24712 if (SWIG_arg_fail(4)) SWIG_fail
;
24713 if (arg4
== NULL
) {
24714 SWIG_null_ref("wxDateTime");
24716 if (SWIG_arg_fail(4)) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= SWIG_From_int(static_cast<int >(result
));
24751 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= NULL
;
24753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24754 wxString
*arg2
= 0 ;
24756 bool temp2
= false ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self",(char *) "datetime", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail
;
24767 arg2
= wxString_in_helper(obj1
);
24768 if (arg2
== NULL
) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_From_int(static_cast<int >(result
));
24795 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
= NULL
;
24797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24798 wxString
*arg2
= 0 ;
24800 bool temp2
= false ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "date", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail
;
24811 arg2
= wxString_in_helper(obj1
);
24812 if (arg2
== NULL
) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_From_int(static_cast<int >(result
));
24839 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= NULL
;
24841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24842 wxString
*arg2
= 0 ;
24844 bool temp2
= false ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "time", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24853 if (SWIG_arg_fail(1)) SWIG_fail
;
24855 arg2
= wxString_in_helper(obj1
);
24856 if (arg2
== NULL
) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_From_int(static_cast<int >(result
));
24883 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= NULL
;
24885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24886 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24887 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24888 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24889 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24891 bool temp2
= false ;
24892 bool temp3
= false ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 PyObject
* obj2
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "format",(char *) "tz", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24902 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 arg2
= wxString_in_helper(obj1
);
24906 if (arg2
== NULL
) SWIG_fail
;
24912 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24935 if (temp3
) delete arg3
;
24944 if (temp3
) delete arg3
;
24950 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
= NULL
;
24952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24961 if (SWIG_arg_fail(1)) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24982 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
= NULL
;
24984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25014 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
= NULL
;
25016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25018 PyObject
* obj0
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25025 if (SWIG_arg_fail(1)) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25046 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
= NULL
;
25048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25057 if (SWIG_arg_fail(1)) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25078 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25081 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25083 return Py_BuildValue((char *)"");
25085 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
= NULL
;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "sec", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25096 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25097 if (SWIG_arg_fail(1)) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= wxTimeSpan::Seconds(arg1
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25107 wxTimeSpan
* resultptr
;
25108 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25117 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
= NULL
;
25120 char *kwnames
[] = {
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= wxTimeSpan::Second();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 wxTimeSpan
* resultptr
;
25134 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25143 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
= NULL
;
25147 PyObject
* obj0
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "min", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25154 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25155 if (SWIG_arg_fail(1)) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= wxTimeSpan::Minutes(arg1
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 wxTimeSpan
* resultptr
;
25166 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25175 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
= NULL
;
25178 char *kwnames
[] = {
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= wxTimeSpan::Minute();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 wxTimeSpan
* resultptr
;
25192 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25201 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
= NULL
;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "hours", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25212 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25213 if (SWIG_arg_fail(1)) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= wxTimeSpan::Hours(arg1
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 wxTimeSpan
* resultptr
;
25224 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25233 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= NULL
;
25236 char *kwnames
[] = {
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= wxTimeSpan::Hour();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 wxTimeSpan
* resultptr
;
25250 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25259 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
= NULL
;
25263 PyObject
* obj0
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "days", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25270 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25271 if (SWIG_arg_fail(1)) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= wxTimeSpan::Days(arg1
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25281 wxTimeSpan
* resultptr
;
25282 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25291 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
= NULL
;
25294 char *kwnames
[] = {
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= wxTimeSpan::Day();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 wxTimeSpan
* resultptr
;
25308 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25317 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= NULL
;
25321 PyObject
* obj0
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "days", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25328 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25329 if (SWIG_arg_fail(1)) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= wxTimeSpan::Weeks(arg1
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 wxTimeSpan
* resultptr
;
25340 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25349 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
= NULL
;
25352 char *kwnames
[] = {
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= wxTimeSpan::Week();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 wxTimeSpan
* resultptr
;
25366 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25375 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
= NULL
;
25377 long arg1
= (long) 0 ;
25378 long arg2
= (long) 0 ;
25379 long arg3
= (long) 0 ;
25380 long arg4
= (long) 0 ;
25381 wxTimeSpan
*result
;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 PyObject
* obj2
= 0 ;
25385 PyObject
* obj3
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25393 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25400 if (SWIG_arg_fail(2)) SWIG_fail
;
25405 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25406 if (SWIG_arg_fail(3)) SWIG_fail
;
25411 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25412 if (SWIG_arg_fail(4)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25429 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
= NULL
;
25431 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25439 if (SWIG_arg_fail(1)) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
= NULL
;
25456 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25457 wxTimeSpan
*arg2
= 0 ;
25458 wxTimeSpan
*result
;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "diff", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25467 if (SWIG_arg_fail(1)) SWIG_fail
;
25469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25470 if (SWIG_arg_fail(2)) SWIG_fail
;
25471 if (arg2
== NULL
) {
25472 SWIG_null_ref("wxTimeSpan");
25474 if (SWIG_arg_fail(2)) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25480 result
= (wxTimeSpan
*) &_result_ref
;
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25493 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
= NULL
;
25495 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25496 wxTimeSpan
*arg2
= 0 ;
25497 wxTimeSpan
*result
;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "diff", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(1)) SWIG_fail
;
25508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25509 if (SWIG_arg_fail(2)) SWIG_fail
;
25510 if (arg2
== NULL
) {
25511 SWIG_null_ref("wxTimeSpan");
25513 if (SWIG_arg_fail(2)) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25519 result
= (wxTimeSpan
*) &_result_ref
;
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25532 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
= NULL
;
25534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25536 wxTimeSpan
*result
;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "n", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25548 if (SWIG_arg_fail(2)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25554 result
= (wxTimeSpan
*) &_result_ref
;
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25567 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= NULL
;
25569 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25570 wxTimeSpan
*result
;
25571 PyObject
* obj0
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "self", NULL
25576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25578 if (SWIG_arg_fail(1)) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25583 result
= (wxTimeSpan
*) &_result_ref
;
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25596 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
= NULL
;
25598 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 wxTimeSpan
* resultptr
;
25617 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25626 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= NULL
;
25628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25629 wxTimeSpan
*arg2
= 0 ;
25630 wxTimeSpan
*result
;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "diff", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25639 if (SWIG_arg_fail(1)) SWIG_fail
;
25641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25642 if (SWIG_arg_fail(2)) SWIG_fail
;
25643 if (arg2
== NULL
) {
25644 SWIG_null_ref("wxTimeSpan");
25646 if (SWIG_arg_fail(2)) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25652 result
= (wxTimeSpan
*) &_result_ref
;
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25665 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
= NULL
;
25667 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25668 wxTimeSpan
*arg2
= 0 ;
25669 wxTimeSpan
*result
;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "diff", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25678 if (SWIG_arg_fail(1)) SWIG_fail
;
25680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(2)) SWIG_fail
;
25682 if (arg2
== NULL
) {
25683 SWIG_null_ref("wxTimeSpan");
25685 if (SWIG_arg_fail(2)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25691 result
= (wxTimeSpan
*) &_result_ref
;
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25704 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
= NULL
;
25706 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25708 wxTimeSpan
*result
;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "n", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25717 if (SWIG_arg_fail(1)) SWIG_fail
;
25719 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25720 if (SWIG_arg_fail(2)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25726 result
= (wxTimeSpan
*) &_result_ref
;
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25739 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= NULL
;
25741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25742 wxTimeSpan
*result
;
25743 PyObject
* obj0
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25755 result
= (wxTimeSpan
*) &_result_ref
;
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25768 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= NULL
;
25770 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25771 wxTimeSpan
*arg2
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "other", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25781 if (SWIG_arg_fail(1)) SWIG_fail
;
25783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25784 if (SWIG_arg_fail(2)) SWIG_fail
;
25785 if (arg2
== NULL
) {
25786 SWIG_null_ref("wxTimeSpan");
25788 if (SWIG_arg_fail(2)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 wxTimeSpan
* resultptr
;
25799 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25808 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= NULL
;
25810 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25811 wxTimeSpan
*arg2
= 0 ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "other", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25825 if (arg2
== NULL
) {
25826 SWIG_null_ref("wxTimeSpan");
25828 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 wxTimeSpan
* resultptr
;
25839 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25848 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
= NULL
;
25850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "n", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail
;
25863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25864 if (SWIG_arg_fail(2)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= wxTimeSpan___mul__(arg1
,arg2
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 wxTimeSpan
* resultptr
;
25875 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25884 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
= NULL
;
25886 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "n", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25900 if (SWIG_arg_fail(2)) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 wxTimeSpan
* resultptr
;
25911 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25920 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
= NULL
;
25922 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25923 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "other", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(2)) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25952 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= NULL
;
25954 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25955 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "other", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(2)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25984 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
= NULL
;
25986 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25987 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "other", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25999 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26016 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
= NULL
;
26018 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26019 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "other", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail
;
26030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(2)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26048 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
= NULL
;
26050 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26051 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "other", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(2)) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
= NULL
;
26082 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26083 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "self",(char *) "other", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26093 if (SWIG_arg_fail(1)) SWIG_fail
;
26094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26095 if (SWIG_arg_fail(2)) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26112 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
= NULL
;
26114 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26140 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
= NULL
;
26142 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26151 if (SWIG_arg_fail(1)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26168 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
= NULL
;
26170 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26172 PyObject
* obj0
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26179 if (SWIG_arg_fail(1)) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26196 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
= NULL
;
26198 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26199 wxTimeSpan
*arg2
= 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "ts", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26209 if (SWIG_arg_fail(1)) SWIG_fail
;
26211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(2)) SWIG_fail
;
26213 if (arg2
== NULL
) {
26214 SWIG_null_ref("wxTimeSpan");
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26234 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
= NULL
;
26236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26237 wxTimeSpan
*arg2
= 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "ts", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26247 if (SWIG_arg_fail(1)) SWIG_fail
;
26249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26251 if (arg2
== NULL
) {
26252 SWIG_null_ref("wxTimeSpan");
26254 if (SWIG_arg_fail(2)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= NULL
;
26274 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26275 wxTimeSpan
*arg2
= 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "t", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26288 if (SWIG_arg_fail(2)) SWIG_fail
;
26289 if (arg2
== NULL
) {
26290 SWIG_null_ref("wxTimeSpan");
26292 if (SWIG_arg_fail(2)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26310 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
= NULL
;
26312 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_From_int(static_cast<int >(result
));
26338 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= NULL
;
26340 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_From_int(static_cast<int >(result
));
26366 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= NULL
;
26368 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_From_int(static_cast<int >(result
));
26394 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
= NULL
;
26396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26405 if (SWIG_arg_fail(1)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_From_int(static_cast<int >(result
));
26422 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
= NULL
;
26424 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26443 hi
= PyLong_FromLong( (&result
)->GetHi() );
26444 lo
= PyLong_FromLong( (&result
)->GetLo() );
26445 shifter
= PyLong_FromLong(32);
26446 shifted
= PyNumber_Lshift(hi
, shifter
);
26447 resultobj
= PyNumber_Or(shifted
, lo
);
26450 Py_DECREF(shifter
);
26451 Py_DECREF(shifted
);
26459 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
= NULL
;
26461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26463 PyObject
* obj0
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26479 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26480 hi
= PyLong_FromLong( (&result
)->GetHi() );
26481 lo
= PyLong_FromLong( (&result
)->GetLo() );
26482 shifter
= PyLong_FromLong(32);
26483 shifted
= PyNumber_Lshift(hi
, shifter
);
26484 resultobj
= PyNumber_Or(shifted
, lo
);
26487 Py_DECREF(shifter
);
26488 Py_DECREF(shifted
);
26496 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
= NULL
;
26498 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26499 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26500 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26502 bool temp2
= false ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "format", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 arg2
= wxString_in_helper(obj1
);
26515 if (arg2
== NULL
) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26547 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26550 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26552 return Py_BuildValue((char *)"");
26554 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
= NULL
;
26556 int arg1
= (int) 0 ;
26557 int arg2
= (int) 0 ;
26558 int arg3
= (int) 0 ;
26559 int arg4
= (int) 0 ;
26560 wxDateSpan
*result
;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 PyObject
* obj2
= 0 ;
26564 PyObject
* obj3
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26572 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26578 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26579 if (SWIG_arg_fail(2)) SWIG_fail
;
26584 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26585 if (SWIG_arg_fail(3)) SWIG_fail
;
26590 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26591 if (SWIG_arg_fail(4)) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26608 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= NULL
;
26610 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26611 PyObject
* obj0
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26618 if (SWIG_arg_fail(1)) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 Py_INCREF(Py_None
); resultobj
= Py_None
;
26633 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= NULL
;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "days", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26644 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26645 if (SWIG_arg_fail(1)) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= wxDateSpan::Days(arg1
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 wxDateSpan
* resultptr
;
26656 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26665 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
= NULL
;
26668 char *kwnames
[] = {
26672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= wxDateSpan::Day();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 wxDateSpan
* resultptr
;
26682 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26691 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
= NULL
;
26695 PyObject
* obj0
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "weeks", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26702 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26703 if (SWIG_arg_fail(1)) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= wxDateSpan::Weeks(arg1
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 wxDateSpan
* resultptr
;
26714 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26723 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
= NULL
;
26726 char *kwnames
[] = {
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= wxDateSpan::Week();
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 wxDateSpan
* resultptr
;
26740 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26749 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
= NULL
;
26753 PyObject
* obj0
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "mon", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26760 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= wxDateSpan::Months(arg1
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 wxDateSpan
* resultptr
;
26772 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26781 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
= NULL
;
26784 char *kwnames
[] = {
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= wxDateSpan::Month();
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 wxDateSpan
* resultptr
;
26798 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26807 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
= NULL
;
26811 PyObject
* obj0
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "years", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26818 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26819 if (SWIG_arg_fail(1)) SWIG_fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= wxDateSpan::Years(arg1
);
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 wxDateSpan
* resultptr
;
26830 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26839 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
= NULL
;
26842 char *kwnames
[] = {
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= wxDateSpan::Year();
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26855 wxDateSpan
* resultptr
;
26856 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26865 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= NULL
;
26867 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26869 wxDateSpan
*result
;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "n", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26881 if (SWIG_arg_fail(2)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26887 result
= (wxDateSpan
*) &_result_ref
;
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26900 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
= NULL
;
26902 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26904 wxDateSpan
*result
;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "n", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26913 if (SWIG_arg_fail(1)) SWIG_fail
;
26915 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26916 if (SWIG_arg_fail(2)) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26922 result
= (wxDateSpan
*) &_result_ref
;
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26935 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
= NULL
;
26937 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26939 wxDateSpan
*result
;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self",(char *) "n", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26948 if (SWIG_arg_fail(1)) SWIG_fail
;
26950 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26951 if (SWIG_arg_fail(2)) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26957 result
= (wxDateSpan
*) &_result_ref
;
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26970 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= NULL
;
26972 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26974 wxDateSpan
*result
;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "n", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail
;
26985 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26986 if (SWIG_arg_fail(2)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26992 result
= (wxDateSpan
*) &_result_ref
;
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27005 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= NULL
;
27007 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_From_int(static_cast<int >(result
));
27033 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
= NULL
;
27035 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27044 if (SWIG_arg_fail(1)) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_From_int(static_cast<int >(result
));
27061 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
= NULL
;
27063 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_From_int(static_cast<int >(result
));
27089 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
= NULL
;
27091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27100 if (SWIG_arg_fail(1)) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_From_int(static_cast<int >(result
));
27117 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
= NULL
;
27119 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= SWIG_From_int(static_cast<int >(result
));
27145 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= NULL
;
27147 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27148 wxDateSpan
*arg2
= 0 ;
27149 wxDateSpan
*result
;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 char *kwnames
[] = {
27153 (char *) "self",(char *) "other", NULL
27156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27158 if (SWIG_arg_fail(1)) SWIG_fail
;
27160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(2)) SWIG_fail
;
27162 if (arg2
== NULL
) {
27163 SWIG_null_ref("wxDateSpan");
27165 if (SWIG_arg_fail(2)) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27171 result
= (wxDateSpan
*) &_result_ref
;
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27184 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= NULL
;
27186 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27187 wxDateSpan
*arg2
= 0 ;
27188 wxDateSpan
*result
;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "other", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27197 if (SWIG_arg_fail(1)) SWIG_fail
;
27199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(2)) SWIG_fail
;
27201 if (arg2
== NULL
) {
27202 SWIG_null_ref("wxDateSpan");
27204 if (SWIG_arg_fail(2)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27210 result
= (wxDateSpan
*) &_result_ref
;
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27223 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= NULL
;
27225 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27226 wxDateSpan
*result
;
27227 PyObject
* obj0
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27239 result
= (wxDateSpan
*) &_result_ref
;
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27252 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
= NULL
;
27254 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27256 wxDateSpan
*result
;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "factor", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(1)) SWIG_fail
;
27267 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27268 if (SWIG_arg_fail(2)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27274 result
= (wxDateSpan
*) &_result_ref
;
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27287 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
= NULL
;
27289 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27290 wxDateSpan
*arg2
= 0 ;
27291 wxDateSpan
*result
;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self",(char *) "other", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27300 if (SWIG_arg_fail(1)) SWIG_fail
;
27302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 if (arg2
== NULL
) {
27305 SWIG_null_ref("wxDateSpan");
27307 if (SWIG_arg_fail(2)) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27313 result
= (wxDateSpan
*) &_result_ref
;
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27326 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
= NULL
;
27328 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27329 wxDateSpan
*arg2
= 0 ;
27330 wxDateSpan
*result
;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "other", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27339 if (SWIG_arg_fail(1)) SWIG_fail
;
27341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27343 if (arg2
== NULL
) {
27344 SWIG_null_ref("wxDateSpan");
27346 if (SWIG_arg_fail(2)) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27352 result
= (wxDateSpan
*) &_result_ref
;
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27365 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
= NULL
;
27367 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27368 wxDateSpan
*result
;
27369 PyObject
* obj0
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27381 result
= (wxDateSpan
*) &_result_ref
;
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27394 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= NULL
;
27396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27398 wxDateSpan
*result
;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "factor", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27407 if (SWIG_arg_fail(1)) SWIG_fail
;
27409 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27410 if (SWIG_arg_fail(2)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27416 result
= (wxDateSpan
*) &_result_ref
;
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27429 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
= NULL
;
27431 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27432 wxDateSpan
*arg2
= 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "other", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(2)) SWIG_fail
;
27446 if (arg2
== NULL
) {
27447 SWIG_null_ref("wxDateSpan");
27449 if (SWIG_arg_fail(2)) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27459 wxDateSpan
* resultptr
;
27460 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27469 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
= NULL
;
27471 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27472 wxDateSpan
*arg2
= 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "other", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27485 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 if (arg2
== NULL
) {
27487 SWIG_null_ref("wxDateSpan");
27489 if (SWIG_arg_fail(2)) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27499 wxDateSpan
* resultptr
;
27500 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27509 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
= NULL
;
27511 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 PyObject
* obj1
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self",(char *) "n", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail
;
27524 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27525 if (SWIG_arg_fail(2)) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 result
= wxDateSpan___mul__(arg1
,arg2
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 wxDateSpan
* resultptr
;
27536 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27545 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
= NULL
;
27547 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "n", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27561 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= wxDateSpan___rmul__(arg1
,arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27571 wxDateSpan
* resultptr
;
27572 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27581 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
= NULL
;
27583 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27584 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "other", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail
;
27595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(2)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
= NULL
;
27615 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27616 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "other", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail
;
27627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27628 if (SWIG_arg_fail(2)) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27645 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27648 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27650 return Py_BuildValue((char *)"");
27652 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
= NULL
;
27655 char *kwnames
[] = {
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (long)wxGetLocalTime();
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_From_long(static_cast<long >(result
));
27676 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
= NULL
;
27679 char *kwnames
[] = {
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (long)wxGetUTCTime();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= SWIG_From_long(static_cast<long >(result
));
27700 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
= NULL
;
27703 char *kwnames
[] = {
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (long)wxGetCurrentTime();
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_From_long(static_cast<long >(result
));
27724 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
= NULL
;
27727 char *kwnames
[] = {
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= wxGetLocalTimeMillis();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27741 hi
= PyLong_FromLong( (&result
)->GetHi() );
27742 lo
= PyLong_FromLong( (&result
)->GetLo() );
27743 shifter
= PyLong_FromLong(32);
27744 shifted
= PyNumber_Lshift(hi
, shifter
);
27745 resultobj
= PyNumber_Or(shifted
, lo
);
27748 Py_DECREF(shifter
);
27749 Py_DECREF(shifted
);
27757 static int _wrap_DefaultDateTime_set(PyObject
*) {
27758 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27763 static PyObject
*_wrap_DefaultDateTime_get(void) {
27764 PyObject
*pyobj
= NULL
;
27766 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27771 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
= NULL
;
27773 wxDataFormatId arg1
;
27774 wxDataFormat
*result
;
27775 PyObject
* obj0
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "type", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27782 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27783 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27799 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
= NULL
;
27801 wxString
*arg1
= 0 ;
27802 wxDataFormat
*result
;
27803 bool temp1
= false ;
27804 PyObject
* obj0
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "format", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27811 arg1
= wxString_in_helper(obj0
);
27812 if (arg1
== NULL
) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27837 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
= NULL
;
27839 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27847 if (SWIG_arg_fail(1)) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27863 PyObject
*resultobj
= NULL
;
27864 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27865 wxDataFormatId arg2
;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27870 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail
;
27874 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27875 if (SWIG_arg_fail(2)) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27894 PyObject
*resultobj
= NULL
;
27895 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27896 wxDataFormatId arg2
;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27901 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail
;
27905 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27906 if (SWIG_arg_fail(2)) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27924 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27925 PyObject
*resultobj
= NULL
;
27926 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27927 wxDataFormat
*arg2
= 0 ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27932 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27937 if (SWIG_arg_fail(2)) SWIG_fail
;
27938 if (arg2
== NULL
) {
27939 SWIG_null_ref("wxDataFormat");
27941 if (SWIG_arg_fail(2)) SWIG_fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27959 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27964 argc
= PyObject_Length(args
);
27965 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27966 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27972 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27982 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27990 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28006 _v
= SWIG_Check_int(argv
[1]);
28008 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28013 Py_INCREF(Py_NotImplemented
);
28014 return Py_NotImplemented
;
28018 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28019 PyObject
*resultobj
= NULL
;
28020 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28021 wxDataFormat
*arg2
= 0 ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28026 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28031 if (SWIG_arg_fail(2)) SWIG_fail
;
28032 if (arg2
== NULL
) {
28033 SWIG_null_ref("wxDataFormat");
28035 if (SWIG_arg_fail(2)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28053 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28058 argc
= PyObject_Length(args
);
28059 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28060 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28084 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28100 _v
= SWIG_Check_int(argv
[1]);
28102 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28107 Py_INCREF(Py_NotImplemented
);
28108 return Py_NotImplemented
;
28112 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
= NULL
;
28114 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28115 wxDataFormatId arg2
;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self",(char *) "format", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28124 if (SWIG_arg_fail(1)) SWIG_fail
;
28126 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28127 if (SWIG_arg_fail(2)) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 (arg1
)->SetType(arg2
);
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 Py_INCREF(Py_None
); resultobj
= Py_None
;
28143 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
= NULL
;
28145 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28146 wxDataFormatId result
;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28154 if (SWIG_arg_fail(1)) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= SWIG_From_int((result
));
28169 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
= NULL
;
28171 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= ((wxDataFormat
const *)arg1
)->GetId();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28201 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= NULL
;
28203 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28204 wxString
*arg2
= 0 ;
28205 bool temp2
= false ;
28206 PyObject
* obj0
= 0 ;
28207 PyObject
* obj1
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self",(char *) "format", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail
;
28216 arg2
= wxString_in_helper(obj1
);
28217 if (arg2
== NULL
) SWIG_fail
;
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 (arg1
)->SetId((wxString
const &)*arg2
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 Py_INCREF(Py_None
); resultobj
= Py_None
;
28242 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28245 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28247 return Py_BuildValue((char *)"");
28249 static int _wrap_FormatInvalid_set(PyObject
*) {
28250 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28255 static PyObject
*_wrap_FormatInvalid_get(void) {
28256 PyObject
*pyobj
= NULL
;
28258 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28263 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
= NULL
;
28265 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
= NULL
;
28290 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28291 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28292 SwigValueWrapper
<wxDataFormat
> result
;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "dir", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28304 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28305 if (SWIG_arg_fail(2)) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 wxDataFormat
* resultptr
;
28317 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28326 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= NULL
;
28328 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28329 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "dir", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail
;
28342 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28343 if (SWIG_arg_fail(2)) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28362 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= NULL
;
28364 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28365 wxDataFormat
*arg2
= 0 ;
28366 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 PyObject
* obj2
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "format",(char *) "dir", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail
;
28379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28380 if (SWIG_arg_fail(2)) SWIG_fail
;
28381 if (arg2
== NULL
) {
28382 SWIG_null_ref("wxDataFormat");
28384 if (SWIG_arg_fail(2)) SWIG_fail
;
28388 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28389 if (SWIG_arg_fail(3)) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28408 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= NULL
;
28410 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28411 wxDataFormat
*arg2
= 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self",(char *) "format", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28424 if (SWIG_arg_fail(2)) SWIG_fail
;
28425 if (arg2
== NULL
) {
28426 SWIG_null_ref("wxDataFormat");
28428 if (SWIG_arg_fail(2)) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28446 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= NULL
;
28448 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28449 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "dir", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail
;
28462 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28463 if (SWIG_arg_fail(2)) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= result
;
28480 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
= NULL
;
28482 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28483 wxDataFormat
*arg2
= 0 ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self",(char *) "format", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail
;
28495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28496 if (SWIG_arg_fail(2)) SWIG_fail
;
28497 if (arg2
== NULL
) {
28498 SWIG_null_ref("wxDataFormat");
28500 if (SWIG_arg_fail(2)) SWIG_fail
;
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= result
;
28516 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
= NULL
;
28518 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28519 wxDataFormat
*arg2
= 0 ;
28520 PyObject
*arg3
= (PyObject
*) 0 ;
28522 PyObject
* obj0
= 0 ;
28523 PyObject
* obj1
= 0 ;
28524 PyObject
* obj2
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self",(char *) "format",(char *) "data", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(1)) SWIG_fail
;
28533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28534 if (SWIG_arg_fail(2)) SWIG_fail
;
28535 if (arg2
== NULL
) {
28536 SWIG_null_ref("wxDataFormat");
28538 if (SWIG_arg_fail(2)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28560 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28562 return Py_BuildValue((char *)"");
28564 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
= NULL
;
28566 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28567 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28568 wxDataObjectSimple
*result
;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "format", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28579 if (arg1
== NULL
) {
28580 SWIG_null_ref("wxDataFormat");
28582 if (SWIG_arg_fail(1)) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28599 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
= NULL
;
28601 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28602 wxDataFormat
*result
;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28615 result
= (wxDataFormat
*) &_result_ref
;
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28628 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
= NULL
;
28630 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28631 wxDataFormat
*arg2
= 0 ;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self",(char *) "format", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail
;
28642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail
;
28644 if (arg2
== NULL
) {
28645 SWIG_null_ref("wxDataFormat");
28647 if (SWIG_arg_fail(2)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28663 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
= NULL
;
28665 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(1)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28691 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= NULL
;
28693 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
;
28717 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
= NULL
;
28719 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28720 PyObject
*arg2
= (PyObject
*) 0 ;
28722 PyObject
* obj0
= 0 ;
28723 PyObject
* obj1
= 0 ;
28724 char *kwnames
[] = {
28725 (char *) "self",(char *) "data", NULL
28728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28730 if (SWIG_arg_fail(1)) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28748 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28751 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28753 return Py_BuildValue((char *)"");
28755 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= NULL
;
28757 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28758 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28759 wxPyDataObjectSimple
*result
;
28760 PyObject
* obj0
= 0 ;
28761 char *kwnames
[] = {
28762 (char *) "format", NULL
28765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28769 if (SWIG_arg_fail(1)) SWIG_fail
;
28770 if (arg1
== NULL
) {
28771 SWIG_null_ref("wxDataFormat");
28773 if (SWIG_arg_fail(1)) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28790 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
= NULL
;
28792 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28793 PyObject
*arg2
= (PyObject
*) 0 ;
28794 PyObject
*arg3
= (PyObject
*) 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 PyObject
* obj2
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "self",(char *) "self",(char *) "_class", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28804 if (SWIG_arg_fail(1)) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28821 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28824 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28826 return Py_BuildValue((char *)"");
28828 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
= NULL
;
28830 wxDataObjectComposite
*result
;
28831 char *kwnames
[] = {
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28850 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= NULL
;
28852 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28853 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28854 bool arg3
= (bool) false ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 PyObject
* obj2
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28864 if (SWIG_arg_fail(1)) SWIG_fail
;
28865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28866 if (SWIG_arg_fail(2)) SWIG_fail
;
28869 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28870 if (SWIG_arg_fail(3)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->Add(arg2
,arg3
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 Py_INCREF(Py_None
); resultobj
= Py_None
;
28887 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28890 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28892 return Py_BuildValue((char *)"");
28894 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
= NULL
;
28896 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28897 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28898 wxTextDataObject
*result
;
28899 bool temp1
= false ;
28900 PyObject
* obj0
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "text", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28908 arg1
= wxString_in_helper(obj0
);
28909 if (arg1
== NULL
) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28935 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
= NULL
;
28937 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (size_t)(arg1
)->GetTextLength();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28963 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
= NULL
;
28965 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28967 PyObject
* obj0
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28974 if (SWIG_arg_fail(1)) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 result
= (arg1
)->GetText();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28995 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= NULL
;
28997 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28998 wxString
*arg2
= 0 ;
28999 bool temp2
= false ;
29000 PyObject
* obj0
= 0 ;
29001 PyObject
* obj1
= 0 ;
29002 char *kwnames
[] = {
29003 (char *) "self",(char *) "text", NULL
29006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29008 if (SWIG_arg_fail(1)) SWIG_fail
;
29010 arg2
= wxString_in_helper(obj1
);
29011 if (arg2
== NULL
) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 (arg1
)->SetText((wxString
const &)*arg2
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29039 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29041 return Py_BuildValue((char *)"");
29043 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
= NULL
;
29045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29047 wxPyTextDataObject
*result
;
29048 bool temp1
= false ;
29049 PyObject
* obj0
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "text", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29057 arg1
= wxString_in_helper(obj0
);
29058 if (arg1
== NULL
) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29084 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
= NULL
;
29086 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29087 PyObject
*arg2
= (PyObject
*) 0 ;
29088 PyObject
*arg3
= (PyObject
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 PyObject
* obj2
= 0 ;
29092 char *kwnames
[] = {
29093 (char *) "self",(char *) "self",(char *) "_class", NULL
29096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29098 if (SWIG_arg_fail(1)) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 Py_INCREF(Py_None
); resultobj
= Py_None
;
29115 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29118 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29120 return Py_BuildValue((char *)"");
29122 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= NULL
;
29124 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29125 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29126 wxBitmapDataObject
*result
;
29127 PyObject
* obj0
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "bitmap", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29136 if (SWIG_arg_fail(1)) SWIG_fail
;
29137 if (arg1
== NULL
) {
29138 SWIG_null_ref("wxBitmap");
29140 if (SWIG_arg_fail(1)) SWIG_fail
;
29144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29157 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
= NULL
;
29159 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29161 PyObject
* obj0
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29168 if (SWIG_arg_fail(1)) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 wxBitmap
* resultptr
;
29178 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29187 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
= NULL
;
29189 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29190 wxBitmap
*arg2
= 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 char *kwnames
[] = {
29194 (char *) "self",(char *) "bitmap", NULL
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29199 if (SWIG_arg_fail(1)) SWIG_fail
;
29201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29202 if (SWIG_arg_fail(2)) SWIG_fail
;
29203 if (arg2
== NULL
) {
29204 SWIG_null_ref("wxBitmap");
29206 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29212 wxPyEndAllowThreads(__tstate
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29215 Py_INCREF(Py_None
); resultobj
= Py_None
;
29222 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29225 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29227 return Py_BuildValue((char *)"");
29229 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29230 PyObject
*resultobj
= NULL
;
29231 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29232 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29233 wxPyBitmapDataObject
*result
;
29234 PyObject
* obj0
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "bitmap", NULL
29239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29244 if (arg1
== NULL
) {
29245 SWIG_null_ref("wxBitmap");
29247 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29264 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
= NULL
;
29266 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29267 PyObject
*arg2
= (PyObject
*) 0 ;
29268 PyObject
*arg3
= (PyObject
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 PyObject
* obj2
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self",(char *) "self",(char *) "_class", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29278 if (SWIG_arg_fail(1)) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 Py_INCREF(Py_None
); resultobj
= Py_None
;
29295 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29298 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29300 return Py_BuildValue((char *)"");
29302 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
= NULL
;
29304 wxFileDataObject
*result
;
29305 char *kwnames
[] = {
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxFileDataObject
*)new wxFileDataObject();
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29324 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= NULL
;
29326 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29327 wxArrayString
*result
;
29328 PyObject
* obj0
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29340 result
= (wxArrayString
*) &_result_ref
;
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= wxArrayString2PyList_helper(*result
);
29355 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= NULL
;
29357 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29358 wxString
*arg2
= 0 ;
29359 bool temp2
= false ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "self",(char *) "filename", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29368 if (SWIG_arg_fail(1)) SWIG_fail
;
29370 arg2
= wxString_in_helper(obj1
);
29371 if (arg2
== NULL
) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 (arg1
)->AddFile((wxString
const &)*arg2
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29396 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29399 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29401 return Py_BuildValue((char *)"");
29403 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29404 PyObject
*resultobj
= NULL
;
29405 wxDataFormat
*arg1
= 0 ;
29406 wxCustomDataObject
*result
;
29407 PyObject
* obj0
= 0 ;
29409 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29412 if (SWIG_arg_fail(1)) SWIG_fail
;
29413 if (arg1
== NULL
) {
29414 SWIG_null_ref("wxDataFormat");
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29432 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29433 PyObject
*resultobj
= NULL
;
29434 wxString
*arg1
= 0 ;
29435 wxCustomDataObject
*result
;
29436 bool temp1
= false ;
29437 PyObject
* obj0
= 0 ;
29439 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29441 arg1
= wxString_in_helper(obj0
);
29442 if (arg1
== NULL
) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29467 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29468 PyObject
*resultobj
= NULL
;
29469 wxCustomDataObject
*result
;
29471 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29486 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29491 argc
= PyObject_Length(args
);
29492 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29496 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29501 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29504 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29519 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29523 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29528 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
= NULL
;
29530 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29531 PyObject
*arg2
= (PyObject
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self",(char *) "data", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29559 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
= NULL
;
29561 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29563 PyObject
* obj0
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (size_t)(arg1
)->GetSize();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29587 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= NULL
;
29589 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29598 if (SWIG_arg_fail(1)) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
;
29613 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29616 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29618 return Py_BuildValue((char *)"");
29620 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= NULL
;
29622 wxURLDataObject
*result
;
29623 char *kwnames
[] = {
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (wxURLDataObject
*)new wxURLDataObject();
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29642 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
= NULL
;
29644 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29653 if (SWIG_arg_fail(1)) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (arg1
)->GetURL();
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29674 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
= NULL
;
29676 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29677 wxString
*arg2
= 0 ;
29678 bool temp2
= false ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 char *kwnames
[] = {
29682 (char *) "self",(char *) "url", NULL
29685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29687 if (SWIG_arg_fail(1)) SWIG_fail
;
29689 arg2
= wxString_in_helper(obj1
);
29690 if (arg2
== NULL
) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 (arg1
)->SetURL((wxString
const &)*arg2
);
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29700 Py_INCREF(Py_None
); resultobj
= Py_None
;
29715 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29718 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29720 return Py_BuildValue((char *)"");
29722 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
= NULL
;
29724 wxMetafileDataObject
*result
;
29725 char *kwnames
[] = {
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29744 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
= NULL
;
29746 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29747 wxMetafile
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "metafile", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail
;
29758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29759 if (SWIG_arg_fail(2)) SWIG_fail
;
29760 if (arg2
== NULL
) {
29761 SWIG_null_ref("wxMetafile");
29763 if (SWIG_arg_fail(2)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= NULL
;
29781 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29790 if (SWIG_arg_fail(1)) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 wxMetafile
* resultptr
;
29800 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29809 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29812 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29814 return Py_BuildValue((char *)"");
29816 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
= NULL
;
29818 wxDragResult arg1
;
29820 PyObject
* obj0
= 0 ;
29821 char *kwnames
[] = {
29822 (char *) "res", NULL
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29827 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29828 if (SWIG_arg_fail(1)) SWIG_fail
;
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (bool)wxIsDragResultOk(arg1
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29846 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
= NULL
;
29848 wxWindow
*arg1
= (wxWindow
*) 0 ;
29849 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29850 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29851 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29852 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29853 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29854 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29855 wxPyDropSource
*result
;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 PyObject
* obj3
= 0 ;
29860 char *kwnames
[] = {
29861 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29866 if (SWIG_arg_fail(1)) SWIG_fail
;
29869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(2)) SWIG_fail
;
29871 if (arg2
== NULL
) {
29872 SWIG_null_ref("wxCursor");
29874 if (SWIG_arg_fail(2)) SWIG_fail
;
29879 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(3)) SWIG_fail
;
29881 if (arg3
== NULL
) {
29882 SWIG_null_ref("wxCursor");
29884 if (SWIG_arg_fail(3)) SWIG_fail
;
29889 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29890 if (SWIG_arg_fail(4)) SWIG_fail
;
29891 if (arg4
== NULL
) {
29892 SWIG_null_ref("wxCursor");
29894 if (SWIG_arg_fail(4)) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29911 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= NULL
;
29913 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29914 PyObject
*arg2
= (PyObject
*) 0 ;
29915 PyObject
*arg3
= (PyObject
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 PyObject
* obj3
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail
;
29931 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29932 if (SWIG_arg_fail(4)) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 Py_INCREF(Py_None
); resultobj
= Py_None
;
29948 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
= NULL
;
29950 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29951 PyObject
* obj0
= 0 ;
29952 char *kwnames
[] = {
29953 (char *) "self", NULL
29956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29958 if (SWIG_arg_fail(1)) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 Py_INCREF(Py_None
); resultobj
= Py_None
;
29973 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
= NULL
;
29975 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29976 wxDataObject
*arg2
= 0 ;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 char *kwnames
[] = {
29980 (char *) "self",(char *) "data", NULL
29983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail
;
29987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29989 if (arg2
== NULL
) {
29990 SWIG_null_ref("wxDataObject");
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->SetData(*arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 Py_INCREF(Py_None
); resultobj
= Py_None
;
30008 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
= NULL
;
30010 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30011 wxDataObject
*result
;
30012 PyObject
* obj0
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30034 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
= NULL
;
30036 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30037 wxDragResult arg2
;
30038 wxCursor
*arg3
= 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 PyObject
* obj2
= 0 ;
30042 char *kwnames
[] = {
30043 (char *) "self",(char *) "res",(char *) "cursor", NULL
30046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30048 if (SWIG_arg_fail(1)) SWIG_fail
;
30050 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30051 if (SWIG_arg_fail(2)) SWIG_fail
;
30054 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30055 if (SWIG_arg_fail(3)) SWIG_fail
;
30056 if (arg3
== NULL
) {
30057 SWIG_null_ref("wxCursor");
30059 if (SWIG_arg_fail(3)) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 Py_INCREF(Py_None
); resultobj
= Py_None
;
30075 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
= NULL
;
30077 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30078 int arg2
= (int) wxDrag_CopyOnly
;
30079 wxDragResult result
;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 char *kwnames
[] = {
30083 (char *) "self",(char *) "flags", NULL
30086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30088 if (SWIG_arg_fail(1)) SWIG_fail
;
30091 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30092 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_From_int((result
));
30109 static PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= NULL
;
30111 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30112 wxDragResult arg2
;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "effect", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30124 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30125 if (SWIG_arg_fail(2)) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= (bool)(arg1
)->GiveFeedback(arg2
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30143 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30146 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30148 return Py_BuildValue((char *)"");
30150 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= NULL
;
30152 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30153 wxPyDropTarget
*result
;
30154 PyObject
* obj0
= 0 ;
30155 char *kwnames
[] = {
30156 (char *) "dataObject", NULL
30159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30162 if (SWIG_arg_fail(1)) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30178 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
= NULL
;
30180 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30181 PyObject
*arg2
= (PyObject
*) 0 ;
30182 PyObject
*arg3
= (PyObject
*) 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 char *kwnames
[] = {
30187 (char *) "self",(char *) "self",(char *) "_class", NULL
30190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(1)) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 Py_INCREF(Py_None
); resultobj
= Py_None
;
30209 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
= NULL
;
30211 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30212 PyObject
* obj0
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "self", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30219 if (SWIG_arg_fail(1)) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 Py_INCREF(Py_None
); resultobj
= Py_None
;
30234 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
= NULL
;
30236 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30237 wxDataObject
*result
;
30238 PyObject
* obj0
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30260 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
= NULL
;
30262 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30263 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self",(char *) "dataObject", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30272 if (SWIG_arg_fail(1)) SWIG_fail
;
30273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30274 if (SWIG_arg_fail(2)) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->SetDataObject(arg2
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 Py_INCREF(Py_None
); resultobj
= Py_None
;
30289 static PyObject
*_wrap_DropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
= NULL
;
30291 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30294 wxDragResult arg4
;
30295 wxDragResult result
;
30296 PyObject
* obj0
= 0 ;
30297 PyObject
* obj1
= 0 ;
30298 PyObject
* obj2
= 0 ;
30299 PyObject
* obj3
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30306 if (SWIG_arg_fail(1)) SWIG_fail
;
30308 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30309 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30313 if (SWIG_arg_fail(3)) SWIG_fail
;
30316 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30317 if (SWIG_arg_fail(4)) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_From_int((result
));
30333 static PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= NULL
;
30335 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30338 wxDragResult arg4
;
30339 wxDragResult result
;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 PyObject
* obj2
= 0 ;
30343 PyObject
* obj3
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30350 if (SWIG_arg_fail(1)) SWIG_fail
;
30352 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30353 if (SWIG_arg_fail(2)) SWIG_fail
;
30356 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30357 if (SWIG_arg_fail(3)) SWIG_fail
;
30360 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30361 if (SWIG_arg_fail(4)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_From_int((result
));
30377 static PyObject
*_wrap_DropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= NULL
;
30379 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30380 PyObject
* obj0
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 Py_INCREF(Py_None
); resultobj
= Py_None
;
30402 static PyObject
*_wrap_DropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= NULL
;
30404 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "x",(char *) "y", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30417 if (SWIG_arg_fail(1)) SWIG_fail
;
30419 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30420 if (SWIG_arg_fail(2)) SWIG_fail
;
30423 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30424 if (SWIG_arg_fail(3)) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30442 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= NULL
;
30444 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (bool)(arg1
)->GetData();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30470 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= NULL
;
30472 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30473 wxDragResult arg2
;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self",(char *) "action", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail
;
30484 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30485 if (SWIG_arg_fail(2)) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->SetDefaultAction(arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 Py_INCREF(Py_None
); resultobj
= Py_None
;
30501 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
= NULL
;
30503 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30504 wxDragResult result
;
30505 PyObject
* obj0
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail
;
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_From_int((result
));
30527 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30530 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30532 return Py_BuildValue((char *)"");
30534 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
= NULL
;
30536 wxPyTextDropTarget
*result
;
30537 char *kwnames
[] = {
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30556 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
= NULL
;
30558 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30559 PyObject
*arg2
= (PyObject
*) 0 ;
30560 PyObject
*arg3
= (PyObject
*) 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 PyObject
* obj2
= 0 ;
30564 char *kwnames
[] = {
30565 (char *) "self",(char *) "self",(char *) "_class", NULL
30568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30570 if (SWIG_arg_fail(1)) SWIG_fail
;
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 Py_INCREF(Py_None
); resultobj
= Py_None
;
30587 static PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
= NULL
;
30589 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30592 wxString
*arg4
= 0 ;
30594 bool temp4
= false ;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 PyObject
* obj2
= 0 ;
30598 PyObject
* obj3
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(1)) SWIG_fail
;
30607 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30608 if (SWIG_arg_fail(2)) SWIG_fail
;
30611 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30612 if (SWIG_arg_fail(3)) SWIG_fail
;
30615 arg4
= wxString_in_helper(obj3
);
30616 if (arg4
== NULL
) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30643 static PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
= NULL
;
30645 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30648 wxDragResult arg4
;
30649 wxDragResult result
;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 PyObject
* obj2
= 0 ;
30653 PyObject
* obj3
= 0 ;
30654 char *kwnames
[] = {
30655 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30660 if (SWIG_arg_fail(1)) SWIG_fail
;
30662 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30663 if (SWIG_arg_fail(2)) SWIG_fail
;
30666 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30667 if (SWIG_arg_fail(3)) SWIG_fail
;
30670 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30671 if (SWIG_arg_fail(4)) SWIG_fail
;
30674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_From_int((result
));
30687 static PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
= NULL
;
30689 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30692 wxDragResult arg4
;
30693 wxDragResult result
;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 PyObject
* obj3
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30704 if (SWIG_arg_fail(1)) SWIG_fail
;
30706 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30707 if (SWIG_arg_fail(2)) SWIG_fail
;
30710 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30711 if (SWIG_arg_fail(3)) SWIG_fail
;
30714 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30715 if (SWIG_arg_fail(4)) SWIG_fail
;
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= SWIG_From_int((result
));
30731 static PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
= NULL
;
30733 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 char *kwnames
[] = {
30736 (char *) "self", NULL
30739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30741 if (SWIG_arg_fail(1)) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 Py_INCREF(Py_None
); resultobj
= Py_None
;
30756 static PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
= NULL
;
30758 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 PyObject
* obj2
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self",(char *) "x",(char *) "y", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail
;
30773 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30777 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30778 if (SWIG_arg_fail(3)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 static PyObject
*_wrap_TextDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
= NULL
;
30798 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30801 wxDragResult arg4
;
30802 wxDragResult result
;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 PyObject
* obj3
= 0 ;
30807 char *kwnames
[] = {
30808 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30813 if (SWIG_arg_fail(1)) SWIG_fail
;
30815 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30816 if (SWIG_arg_fail(2)) SWIG_fail
;
30819 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30820 if (SWIG_arg_fail(3)) SWIG_fail
;
30823 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30824 if (SWIG_arg_fail(4)) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_From_int((result
));
30840 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30843 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30845 return Py_BuildValue((char *)"");
30847 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
= NULL
;
30849 wxPyFileDropTarget
*result
;
30850 char *kwnames
[] = {
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30869 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
= NULL
;
30871 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30872 PyObject
*arg2
= (PyObject
*) 0 ;
30873 PyObject
*arg3
= (PyObject
*) 0 ;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 PyObject
* obj2
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self",(char *) "self",(char *) "_class", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 Py_INCREF(Py_None
); resultobj
= Py_None
;
30900 static PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= NULL
;
30902 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30905 wxArrayString
*arg4
= 0 ;
30907 bool temp4
= false ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 PyObject
* obj2
= 0 ;
30911 PyObject
* obj3
= 0 ;
30912 char *kwnames
[] = {
30913 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail
;
30920 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30921 if (SWIG_arg_fail(2)) SWIG_fail
;
30924 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30925 if (SWIG_arg_fail(3)) SWIG_fail
;
30928 if (! PySequence_Check(obj3
)) {
30929 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
30932 arg4
= new wxArrayString
;
30934 int i
, len
=PySequence_Length(obj3
);
30935 for (i
=0; i
<len
; i
++) {
30936 PyObject
* item
= PySequence_GetItem(obj3
, i
);
30937 wxString
* s
= wxString_in_helper(item
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30955 if (temp4
) delete arg4
;
30960 if (temp4
) delete arg4
;
30966 static PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
= NULL
;
30968 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30971 wxDragResult arg4
;
30972 wxDragResult result
;
30973 PyObject
* obj0
= 0 ;
30974 PyObject
* obj1
= 0 ;
30975 PyObject
* obj2
= 0 ;
30976 PyObject
* obj3
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail
;
30985 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30986 if (SWIG_arg_fail(2)) SWIG_fail
;
30989 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30990 if (SWIG_arg_fail(3)) SWIG_fail
;
30993 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30994 if (SWIG_arg_fail(4)) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31003 resultobj
= SWIG_From_int((result
));
31010 static PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31011 PyObject
*resultobj
= NULL
;
31012 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31015 wxDragResult arg4
;
31016 wxDragResult result
;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 PyObject
* obj2
= 0 ;
31020 PyObject
* obj3
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31027 if (SWIG_arg_fail(1)) SWIG_fail
;
31029 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31030 if (SWIG_arg_fail(2)) SWIG_fail
;
31033 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31034 if (SWIG_arg_fail(3)) SWIG_fail
;
31037 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31038 if (SWIG_arg_fail(4)) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_From_int((result
));
31054 static PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
= NULL
;
31056 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
31063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31064 if (SWIG_arg_fail(1)) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31072 Py_INCREF(Py_None
); resultobj
= Py_None
;
31079 static PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
= NULL
;
31081 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31085 PyObject
* obj0
= 0 ;
31086 PyObject
* obj1
= 0 ;
31087 PyObject
* obj2
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self",(char *) "x",(char *) "y", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31097 if (SWIG_arg_fail(2)) SWIG_fail
;
31100 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31101 if (SWIG_arg_fail(3)) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31119 static PyObject
*_wrap_FileDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= NULL
;
31121 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31124 wxDragResult arg4
;
31125 wxDragResult result
;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 PyObject
* obj2
= 0 ;
31129 PyObject
* obj3
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31136 if (SWIG_arg_fail(1)) SWIG_fail
;
31138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31139 if (SWIG_arg_fail(2)) SWIG_fail
;
31142 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31143 if (SWIG_arg_fail(3)) SWIG_fail
;
31146 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31147 if (SWIG_arg_fail(4)) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= SWIG_From_int((result
));
31163 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31166 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31168 return Py_BuildValue((char *)"");
31170 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
= NULL
;
31172 wxClipboard
*result
;
31173 char *kwnames
[] = {
31177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= (wxClipboard
*)new wxClipboard();
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31192 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
= NULL
;
31194 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "self", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31202 if (SWIG_arg_fail(1)) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 Py_INCREF(Py_None
); resultobj
= Py_None
;
31217 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= NULL
;
31219 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 char *kwnames
[] = {
31223 (char *) "self", NULL
31226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31228 if (SWIG_arg_fail(1)) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= (bool)(arg1
)->Open();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31245 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
= NULL
;
31247 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31248 PyObject
* obj0
= 0 ;
31249 char *kwnames
[] = {
31250 (char *) "self", NULL
31253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31255 if (SWIG_arg_fail(1)) SWIG_fail
;
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 Py_INCREF(Py_None
); resultobj
= Py_None
;
31270 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
= NULL
;
31272 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31274 PyObject
* obj0
= 0 ;
31275 char *kwnames
[] = {
31276 (char *) "self", NULL
31279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31281 if (SWIG_arg_fail(1)) SWIG_fail
;
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31298 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
= NULL
;
31300 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31301 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "data", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31313 if (SWIG_arg_fail(2)) SWIG_fail
;
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 result
= (bool)(arg1
)->AddData(arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31330 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= NULL
;
31332 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31333 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 char *kwnames
[] = {
31338 (char *) "self",(char *) "data", NULL
31341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31343 if (SWIG_arg_fail(1)) SWIG_fail
;
31344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31345 if (SWIG_arg_fail(2)) SWIG_fail
;
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 result
= (bool)(arg1
)->SetData(arg2
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31362 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
= NULL
;
31364 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31365 wxDataFormat
*arg2
= 0 ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 char *kwnames
[] = {
31370 (char *) "self",(char *) "format", NULL
31373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31375 if (SWIG_arg_fail(1)) SWIG_fail
;
31377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31378 if (SWIG_arg_fail(2)) SWIG_fail
;
31379 if (arg2
== NULL
) {
31380 SWIG_null_ref("wxDataFormat");
31382 if (SWIG_arg_fail(2)) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= NULL
;
31402 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31403 wxDataObject
*arg2
= 0 ;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 char *kwnames
[] = {
31408 (char *) "self",(char *) "data", NULL
31411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31413 if (SWIG_arg_fail(1)) SWIG_fail
;
31415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31416 if (SWIG_arg_fail(2)) SWIG_fail
;
31417 if (arg2
== NULL
) {
31418 SWIG_null_ref("wxDataObject");
31420 if (SWIG_arg_fail(2)) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= (bool)(arg1
)->GetData(*arg2
);
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31438 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
= NULL
;
31440 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31448 if (SWIG_arg_fail(1)) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 Py_INCREF(Py_None
); resultobj
= Py_None
;
31463 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
= NULL
;
31465 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (bool)(arg1
)->Flush();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31491 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
= NULL
;
31493 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31494 bool arg2
= (bool) true ;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 char *kwnames
[] = {
31498 (char *) "self",(char *) "primary", NULL
31501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31503 if (SWIG_arg_fail(1)) SWIG_fail
;
31506 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31507 if (SWIG_arg_fail(2)) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 (arg1
)->UsePrimarySelection(arg2
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 Py_INCREF(Py_None
); resultobj
= Py_None
;
31524 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
= NULL
;
31526 wxClipboard
*result
;
31527 char *kwnames
[] = {
31531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (wxClipboard
*)wxClipboard::Get();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31546 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31549 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31551 return Py_BuildValue((char *)"");
31553 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= NULL
;
31555 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31556 wxClipboardLocker
*result
;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "clipboard", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31581 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
= NULL
;
31583 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 char *kwnames
[] = {
31586 (char *) "self", NULL
31589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail
;
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31599 Py_INCREF(Py_None
); resultobj
= Py_None
;
31606 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31607 PyObject
*resultobj
= NULL
;
31608 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31610 PyObject
* obj0
= 0 ;
31611 char *kwnames
[] = {
31612 (char *) "self", NULL
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail
;
31619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31622 wxPyEndAllowThreads(__tstate
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31634 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31637 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31639 return Py_BuildValue((char *)"");
31641 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= NULL
;
31643 int arg1
= (int) 0 ;
31644 int arg2
= (int) 0 ;
31645 int arg3
= (int) 0 ;
31646 int arg4
= (int) 0 ;
31647 wxVideoMode
*result
;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 PyObject
* obj2
= 0 ;
31651 PyObject
* obj3
= 0 ;
31652 char *kwnames
[] = {
31653 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31659 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31660 if (SWIG_arg_fail(1)) SWIG_fail
;
31665 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31666 if (SWIG_arg_fail(2)) SWIG_fail
;
31671 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31672 if (SWIG_arg_fail(3)) SWIG_fail
;
31677 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31678 if (SWIG_arg_fail(4)) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31695 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
= NULL
;
31697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail
;
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 Py_INCREF(Py_None
); resultobj
= Py_None
;
31720 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= NULL
;
31722 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31723 wxVideoMode
*arg2
= 0 ;
31725 PyObject
* obj0
= 0 ;
31726 PyObject
* obj1
= 0 ;
31727 char *kwnames
[] = {
31728 (char *) "self",(char *) "other", NULL
31731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31733 if (SWIG_arg_fail(1)) SWIG_fail
;
31735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31736 if (SWIG_arg_fail(2)) SWIG_fail
;
31737 if (arg2
== NULL
) {
31738 SWIG_null_ref("wxVideoMode");
31740 if (SWIG_arg_fail(2)) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31758 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
= NULL
;
31760 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31762 PyObject
* obj0
= 0 ;
31763 char *kwnames
[] = {
31764 (char *) "self", NULL
31767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31769 if (SWIG_arg_fail(1)) SWIG_fail
;
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_From_int(static_cast<int >(result
));
31786 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= NULL
;
31788 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31790 PyObject
* obj0
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31797 if (SWIG_arg_fail(1)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= SWIG_From_int(static_cast<int >(result
));
31814 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= NULL
;
31816 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail
;
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_From_int(static_cast<int >(result
));
31842 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= NULL
;
31844 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31846 PyObject
* obj0
= 0 ;
31847 char *kwnames
[] = {
31848 (char *) "self", NULL
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31853 if (SWIG_arg_fail(1)) SWIG_fail
;
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31870 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31871 PyObject
*resultobj
= NULL
;
31872 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31873 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31875 PyObject
* obj0
= 0 ;
31876 PyObject
* obj1
= 0 ;
31877 char *kwnames
[] = {
31878 (char *) "self",(char *) "other", NULL
31881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31883 if (SWIG_arg_fail(1)) SWIG_fail
;
31884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31885 if (SWIG_arg_fail(2)) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31902 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= NULL
;
31904 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31905 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 char *kwnames
[] = {
31910 (char *) "self",(char *) "other", NULL
31913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31915 if (SWIG_arg_fail(1)) SWIG_fail
;
31916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31917 if (SWIG_arg_fail(2)) SWIG_fail
;
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31922 wxPyEndAllowThreads(__tstate
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31934 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31935 PyObject
*resultobj
= NULL
;
31936 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31938 PyObject
* obj0
= 0 ;
31939 PyObject
* obj1
= 0 ;
31940 char *kwnames
[] = {
31941 (char *) "self",(char *) "w", NULL
31944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31946 if (SWIG_arg_fail(1)) SWIG_fail
;
31948 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31949 if (SWIG_arg_fail(2)) SWIG_fail
;
31951 if (arg1
) (arg1
)->w
= arg2
;
31953 Py_INCREF(Py_None
); resultobj
= Py_None
;
31960 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31961 PyObject
*resultobj
= NULL
;
31962 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31964 PyObject
* obj0
= 0 ;
31965 char *kwnames
[] = {
31966 (char *) "self", NULL
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31971 if (SWIG_arg_fail(1)) SWIG_fail
;
31972 result
= (int) ((arg1
)->w
);
31975 resultobj
= SWIG_From_int(static_cast<int >(result
));
31983 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
= NULL
;
31985 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 char *kwnames
[] = {
31990 (char *) "self",(char *) "h", NULL
31993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31995 if (SWIG_arg_fail(1)) SWIG_fail
;
31997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31998 if (SWIG_arg_fail(2)) SWIG_fail
;
32000 if (arg1
) (arg1
)->h
= arg2
;
32002 Py_INCREF(Py_None
); resultobj
= Py_None
;
32009 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
= NULL
;
32011 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32013 PyObject
* obj0
= 0 ;
32014 char *kwnames
[] = {
32015 (char *) "self", NULL
32018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
32019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32020 if (SWIG_arg_fail(1)) SWIG_fail
;
32021 result
= (int) ((arg1
)->h
);
32024 resultobj
= SWIG_From_int(static_cast<int >(result
));
32032 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= NULL
;
32034 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self",(char *) "bpp", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail
;
32046 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32047 if (SWIG_arg_fail(2)) SWIG_fail
;
32049 if (arg1
) (arg1
)->bpp
= arg2
;
32051 Py_INCREF(Py_None
); resultobj
= Py_None
;
32058 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
= NULL
;
32060 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
32068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail
;
32070 result
= (int) ((arg1
)->bpp
);
32073 resultobj
= SWIG_From_int(static_cast<int >(result
));
32081 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
= NULL
;
32083 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32085 PyObject
* obj0
= 0 ;
32086 PyObject
* obj1
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self",(char *) "refresh", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32093 if (SWIG_arg_fail(1)) SWIG_fail
;
32095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32096 if (SWIG_arg_fail(2)) SWIG_fail
;
32098 if (arg1
) (arg1
)->refresh
= arg2
;
32100 Py_INCREF(Py_None
); resultobj
= Py_None
;
32107 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
= NULL
;
32109 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32111 PyObject
* obj0
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "self", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
32117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail
;
32119 result
= (int) ((arg1
)->refresh
);
32122 resultobj
= SWIG_From_int(static_cast<int >(result
));
32130 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
32132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32133 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32135 return Py_BuildValue((char *)"");
32137 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32138 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32143 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32144 PyObject
*pyobj
= NULL
;
32146 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32151 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
= NULL
;
32153 size_t arg1
= (size_t) 0 ;
32155 PyObject
* obj0
= 0 ;
32156 char *kwnames
[] = {
32157 (char *) "index", NULL
32160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32163 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32164 if (SWIG_arg_fail(1)) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (wxDisplay
*)new wxDisplay(arg1
);
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32181 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
= NULL
;
32183 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32184 PyObject
* obj0
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "self", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32191 if (SWIG_arg_fail(1)) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 Py_INCREF(Py_None
); resultobj
= Py_None
;
32206 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
= NULL
;
32209 char *kwnames
[] = {
32213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (size_t)wxDisplay::GetCount();
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32222 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32230 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= NULL
;
32232 wxPoint
*arg1
= 0 ;
32235 PyObject
* obj0
= 0 ;
32236 char *kwnames
[] = {
32237 (char *) "pt", NULL
32240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32243 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_From_int(static_cast<int >(result
));
32261 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= NULL
;
32263 wxWindow
*arg1
= (wxWindow
*) 0 ;
32265 PyObject
* obj0
= 0 ;
32266 char *kwnames
[] = {
32267 (char *) "window", NULL
32270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32272 if (SWIG_arg_fail(1)) SWIG_fail
;
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (int)wxDisplay_GetFromWindow(arg1
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32281 resultobj
= SWIG_From_int(static_cast<int >(result
));
32289 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
= NULL
;
32291 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 char *kwnames
[] = {
32295 (char *) "self", NULL
32298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32300 if (SWIG_arg_fail(1)) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32317 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
= NULL
;
32319 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32321 PyObject
* obj0
= 0 ;
32322 char *kwnames
[] = {
32323 (char *) "self", NULL
32326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32328 if (SWIG_arg_fail(1)) SWIG_fail
;
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 wxRect
* resultptr
;
32338 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32347 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
= NULL
;
32349 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 char *kwnames
[] = {
32353 (char *) "self", NULL
32356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32358 if (SWIG_arg_fail(1)) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= ((wxDisplay
const *)arg1
)->GetName();
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32379 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32380 PyObject
*resultobj
= NULL
;
32381 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32390 if (SWIG_arg_fail(1)) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32407 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
= NULL
;
32409 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32410 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32411 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 char *kwnames
[] = {
32416 (char *) "self",(char *) "mode", NULL
32419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32421 if (SWIG_arg_fail(1)) SWIG_fail
;
32424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(2)) SWIG_fail
;
32426 if (arg2
== NULL
) {
32427 SWIG_null_ref("wxVideoMode");
32429 if (SWIG_arg_fail(2)) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= result
;
32446 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
= NULL
;
32448 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32449 wxVideoMode result
;
32450 PyObject
* obj0
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self", NULL
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32457 if (SWIG_arg_fail(1)) SWIG_fail
;
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32466 wxVideoMode
* resultptr
;
32467 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32476 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
= NULL
;
32478 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32479 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32480 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 char *kwnames
[] = {
32485 (char *) "self",(char *) "mode", NULL
32488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32490 if (SWIG_arg_fail(1)) SWIG_fail
;
32493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32494 if (SWIG_arg_fail(2)) SWIG_fail
;
32495 if (arg2
== NULL
) {
32496 SWIG_null_ref("wxVideoMode");
32498 if (SWIG_arg_fail(2)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32517 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
= NULL
;
32519 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32520 PyObject
* obj0
= 0 ;
32521 char *kwnames
[] = {
32522 (char *) "self", NULL
32525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32527 if (SWIG_arg_fail(1)) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 (arg1
)->ResetMode();
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 Py_INCREF(Py_None
); resultobj
= Py_None
;
32542 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32545 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32547 return Py_BuildValue((char *)"");
32549 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
= NULL
;
32551 wxStandardPaths
*result
;
32552 char *kwnames
[] = {
32556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32571 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= NULL
;
32573 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 char *kwnames
[] = {
32577 (char *) "self", NULL
32580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32582 if (SWIG_arg_fail(1)) SWIG_fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32603 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
= NULL
;
32605 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 char *kwnames
[] = {
32609 (char *) "self", NULL
32612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32614 if (SWIG_arg_fail(1)) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32635 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
= NULL
;
32637 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32639 PyObject
* obj0
= 0 ;
32640 char *kwnames
[] = {
32641 (char *) "self", NULL
32644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32646 if (SWIG_arg_fail(1)) SWIG_fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32667 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
= NULL
;
32669 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32671 PyObject
* obj0
= 0 ;
32672 char *kwnames
[] = {
32673 (char *) "self", NULL
32676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32678 if (SWIG_arg_fail(1)) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32699 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
= NULL
;
32701 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32703 PyObject
* obj0
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "self", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32731 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32732 PyObject
*resultobj
= NULL
;
32733 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32735 PyObject
* obj0
= 0 ;
32736 char *kwnames
[] = {
32737 (char *) "self", NULL
32740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32763 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= NULL
;
32765 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32767 PyObject
* obj0
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "self", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32795 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
= NULL
;
32797 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32798 wxString
*arg2
= 0 ;
32799 bool temp2
= false ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self",(char *) "prefix", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 arg2
= wxString_in_helper(obj1
);
32811 if (arg2
== NULL
) SWIG_fail
;
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32821 Py_INCREF(Py_None
); resultobj
= Py_None
;
32836 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
= NULL
;
32838 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32840 PyObject
* obj0
= 0 ;
32841 char *kwnames
[] = {
32842 (char *) "self", NULL
32845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32847 if (SWIG_arg_fail(1)) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32852 wxPyEndAllowThreads(__tstate
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32868 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32871 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32873 return Py_BuildValue((char *)"");
32875 static PyMethodDef SwigMethods
[] = {
32876 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32883 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32891 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32973 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32980 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32989 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
33008 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
33011 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
33014 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
33017 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
33023 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
33037 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
33043 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
33049 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
33052 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
33067 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
33070 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
33071 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
33074 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
33102 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
33104 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
33106 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
33108 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
33115 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
33121 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
33125 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33139 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33143 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33146 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33163 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33171 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33218 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33236 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33246 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33262 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33278 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33292 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33303 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33346 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33349 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33352 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33356 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33455 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33456 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33457 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33458 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33475 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33520 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33530 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33531 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33533 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33536 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33538 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33539 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33540 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33541 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33543 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33544 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33545 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33546 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33548 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33550 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33551 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33552 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33553 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33554 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33555 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33557 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33559 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33560 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33561 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33562 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33563 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33566 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33567 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33568 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33571 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33573 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33575 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33576 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33577 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33582 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33583 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33584 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33585 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33586 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33587 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33588 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33589 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33590 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33591 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33592 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33593 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33594 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33595 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33596 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33597 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33598 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33599 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33600 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33601 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33602 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33603 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33604 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33605 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33606 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33607 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33608 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33609 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33610 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33611 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33612 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33613 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33614 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33615 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33616 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33617 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33618 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33619 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33620 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33621 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33622 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33623 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33624 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33625 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33626 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33627 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33628 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33629 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33630 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33631 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33632 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33633 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33634 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33635 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33636 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33637 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33638 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33639 { (char *)"DropTarget_OnLeave", (PyCFunction
) _wrap_DropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33640 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33641 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33642 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33643 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33644 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33645 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33646 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33647 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33648 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33649 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33650 { (char *)"TextDropTarget_OnLeave", (PyCFunction
) _wrap_TextDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33651 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33652 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33653 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33654 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33655 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33656 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33657 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33658 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33659 { (char *)"FileDropTarget_OnLeave", (PyCFunction
) _wrap_FileDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33660 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33661 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33662 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33663 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33664 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33665 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33666 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33667 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33668 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33669 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33670 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33671 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33672 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33673 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33674 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33675 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33676 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33677 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33678 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33679 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33680 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33681 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33682 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33683 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33684 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33685 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33686 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33687 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33688 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33689 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33690 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33691 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33692 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33693 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33694 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33695 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33696 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33697 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33698 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33699 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33700 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33701 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33702 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33703 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33704 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33705 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33706 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33707 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33708 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33709 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33710 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33711 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33712 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33713 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33714 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33715 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33716 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33717 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33718 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33719 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33720 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33721 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33722 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33723 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33724 { NULL
, NULL
, 0, NULL
}
33728 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33730 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33733 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33734 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33736 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33737 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33739 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33740 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33742 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33743 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33745 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33746 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33748 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33749 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33751 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33752 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33754 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33757 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33758 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33760 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33763 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33764 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33766 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33767 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33769 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33772 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33773 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33775 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33776 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33778 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33779 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33781 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33782 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33784 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33785 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33787 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33788 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33790 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33793 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33794 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33796 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33797 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33799 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33802 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33803 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33805 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33806 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33808 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33809 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33811 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33812 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33814 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33815 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33817 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33818 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33820 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33823 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33824 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33826 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33827 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33829 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33830 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33832 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33835 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33838 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33839 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33841 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33842 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33844 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33845 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33847 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33848 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33850 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33851 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33853 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33854 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33856 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33857 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33859 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33860 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33862 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33863 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33865 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33866 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33868 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33869 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33871 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33872 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33874 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33875 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33877 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33878 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33880 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33881 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33883 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33884 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33886 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33887 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33889 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33890 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33892 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33893 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33895 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33896 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33898 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33899 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33901 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33902 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33904 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33905 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33907 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33908 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33910 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33911 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33913 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33914 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33916 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33917 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33919 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33920 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33922 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33925 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33926 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33928 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33929 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33931 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33932 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33934 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33935 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33937 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33938 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33940 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33941 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33943 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33944 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33946 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33947 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33949 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33950 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33952 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33953 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33955 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33956 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33958 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33961 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33962 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33964 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33965 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33967 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33968 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33970 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33971 return (void *)((wxObject
*) ((wxSizer
*) x
));
33973 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33974 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33976 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33977 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33979 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33982 static void *_p_wxEventTo_p_wxObject(void *x
) {
33983 return (void *)((wxObject
*) ((wxEvent
*) x
));
33985 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33986 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33988 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33989 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33991 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33992 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33994 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33995 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33997 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33998 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
34000 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
34001 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34003 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34004 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34006 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34007 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34009 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34010 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34012 static void *_p_wxControlTo_p_wxObject(void *x
) {
34013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34015 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34016 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34018 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
34019 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
34021 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34022 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34024 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
34025 return (void *)((wxObject
*) ((wxClipboard
*) x
));
34027 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34028 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34030 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34031 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34033 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34036 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34037 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34039 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
34040 return (void *)((wxObject
*) ((wxToolTip
*) x
));
34042 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34043 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34045 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
34046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
34048 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34049 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34051 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34054 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34055 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34057 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34058 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34060 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34061 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34063 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34064 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34066 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34067 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34069 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34070 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34072 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34073 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34075 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34076 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34078 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34081 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34084 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34087 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34088 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34090 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34091 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34093 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34094 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34096 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34099 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34102 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34103 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34105 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34108 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34111 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34112 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34114 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34115 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34117 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34118 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34120 static void *_p_wxImageTo_p_wxObject(void *x
) {
34121 return (void *)((wxObject
*) ((wxImage
*) x
));
34123 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34124 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34126 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
34127 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
34129 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
34130 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
34132 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34135 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34136 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34138 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34139 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34141 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34142 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34144 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34145 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34147 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34150 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34151 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34153 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34154 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34156 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34159 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34160 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34162 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34165 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34166 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34168 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34169 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34171 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34172 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34174 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34175 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34177 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34178 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34180 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34181 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34183 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34184 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34186 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34187 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34189 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34192 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34193 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34195 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34198 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34201 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34202 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34204 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34205 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34207 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34208 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34210 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34211 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34213 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34214 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34216 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34217 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34219 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34220 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34222 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34223 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34225 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34226 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34228 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34229 return (void *)((wxWindow
*) ((wxControl
*) x
));
34231 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34232 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34234 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34235 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34237 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34238 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34240 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34241 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34243 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34244 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34245 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34246 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34247 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34248 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34249 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34250 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34251 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34252 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34253 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34254 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34255 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34256 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34257 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34258 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34259 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34260 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34275 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34276 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34277 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34278 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34279 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34280 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34281 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34282 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34283 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34284 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34285 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34286 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34287 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34288 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34289 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34290 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34291 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34292 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34293 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34294 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34295 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34296 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34297 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34298 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34299 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34300 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34301 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34302 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34303 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34304 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34305 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34306 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34307 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34308 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34309 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34310 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34311 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34312 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34313 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34314 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34315 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34316 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34317 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34318 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34319 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34320 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34321 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34322 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34323 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34324 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34325 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34326 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34327 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34328 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34329 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34330 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34331 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34332 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34333 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34334 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34335 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34336 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34337 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34338 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34339 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34340 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34341 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34342 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34343 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34344 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34345 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34346 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34347 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34348 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34349 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34350 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34351 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34352 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34353 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34354 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34355 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34356 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34357 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34358 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34359 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34360 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34361 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34362 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34363 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34364 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34365 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34366 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34367 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34368 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34369 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34370 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34371 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34372 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34373 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34374 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34375 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34376 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34377 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34378 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34379 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34380 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34381 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34382 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34383 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34384 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34385 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34386 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34387 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34388 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34389 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34390 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34391 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34392 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34393 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34394 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34395 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34396 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34397 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34398 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34399 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34400 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34401 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34402 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34403 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34404 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34405 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34406 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34407 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34408 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34409 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34410 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34411 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34412 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34413 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34414 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34415 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34417 static swig_type_info
*swig_type_initial
[] = {
34419 &_swigt__p_form_ops_t
,
34421 &_swigt__p_unsigned_char
,
34422 &_swigt__p_unsigned_int
,
34423 &_swigt__p_unsigned_long
,
34425 &_swigt__p_wxANIHandler
,
34426 &_swigt__p_wxAcceleratorTable
,
34427 &_swigt__p_wxActivateEvent
,
34428 &_swigt__p_wxArrayString
,
34429 &_swigt__p_wxBMPHandler
,
34430 &_swigt__p_wxBitmap
,
34431 &_swigt__p_wxBitmapDataObject
,
34432 &_swigt__p_wxBoxSizer
,
34433 &_swigt__p_wxBusyCursor
,
34434 &_swigt__p_wxBusyInfo
,
34435 &_swigt__p_wxCURHandler
,
34436 &_swigt__p_wxCaret
,
34438 &_swigt__p_wxChildFocusEvent
,
34439 &_swigt__p_wxClipboard
,
34440 &_swigt__p_wxClipboardLocker
,
34441 &_swigt__p_wxCloseEvent
,
34442 &_swigt__p_wxColour
,
34443 &_swigt__p_wxCommandEvent
,
34444 &_swigt__p_wxConfig
,
34445 &_swigt__p_wxConfigBase
,
34446 &_swigt__p_wxConfigPathChanger
,
34447 &_swigt__p_wxContextMenuEvent
,
34448 &_swigt__p_wxControl
,
34449 &_swigt__p_wxControlWithItems
,
34450 &_swigt__p_wxCursor
,
34451 &_swigt__p_wxCustomDataObject
,
34453 &_swigt__p_wxDataFormat
,
34454 &_swigt__p_wxDataObject
,
34455 &_swigt__p_wxDataObjectComposite
,
34456 &_swigt__p_wxDataObjectSimple
,
34457 &_swigt__p_wxDateEvent
,
34458 &_swigt__p_wxDateSpan
,
34459 &_swigt__p_wxDateTime
,
34460 &_swigt__p_wxDateTime__TimeZone
,
34461 &_swigt__p_wxDisplay
,
34462 &_swigt__p_wxDisplayChangedEvent
,
34463 &_swigt__p_wxDropFilesEvent
,
34464 &_swigt__p_wxDuplexMode
,
34465 &_swigt__p_wxEraseEvent
,
34466 &_swigt__p_wxEvent
,
34467 &_swigt__p_wxEvtHandler
,
34468 &_swigt__p_wxFSFile
,
34469 &_swigt__p_wxFileConfig
,
34470 &_swigt__p_wxFileDataObject
,
34471 &_swigt__p_wxFileHistory
,
34472 &_swigt__p_wxFileSystem
,
34473 &_swigt__p_wxFileType
,
34474 &_swigt__p_wxFileTypeInfo
,
34475 &_swigt__p_wxFlexGridSizer
,
34476 &_swigt__p_wxFocusEvent
,
34478 &_swigt__p_wxFrame
,
34479 &_swigt__p_wxGBSizerItem
,
34480 &_swigt__p_wxGIFHandler
,
34481 &_swigt__p_wxGridBagSizer
,
34482 &_swigt__p_wxGridSizer
,
34483 &_swigt__p_wxICOHandler
,
34485 &_swigt__p_wxIconizeEvent
,
34486 &_swigt__p_wxIdleEvent
,
34487 &_swigt__p_wxImage
,
34488 &_swigt__p_wxImageHandler
,
34489 &_swigt__p_wxIndividualLayoutConstraint
,
34490 &_swigt__p_wxInitDialogEvent
,
34491 &_swigt__p_wxJPEGHandler
,
34492 &_swigt__p_wxJoystick
,
34493 &_swigt__p_wxJoystickEvent
,
34494 &_swigt__p_wxKeyEvent
,
34495 &_swigt__p_wxKillError
,
34496 &_swigt__p_wxLayoutConstraints
,
34498 &_swigt__p_wxLogBuffer
,
34499 &_swigt__p_wxLogChain
,
34500 &_swigt__p_wxLogGui
,
34501 &_swigt__p_wxLogNull
,
34502 &_swigt__p_wxLogStderr
,
34503 &_swigt__p_wxLogTextCtrl
,
34504 &_swigt__p_wxLogWindow
,
34505 &_swigt__p_wxMaximizeEvent
,
34506 &_swigt__p_wxMemorySize
,
34508 &_swigt__p_wxMenuBar
,
34509 &_swigt__p_wxMenuEvent
,
34510 &_swigt__p_wxMenuItem
,
34511 &_swigt__p_wxMetafile
,
34512 &_swigt__p_wxMetafileDataObject
,
34513 &_swigt__p_wxMimeTypesManager
,
34514 &_swigt__p_wxMouseCaptureChangedEvent
,
34515 &_swigt__p_wxMouseEvent
,
34516 &_swigt__p_wxMouseState
,
34517 &_swigt__p_wxMoveEvent
,
34518 &_swigt__p_wxMutexGuiLocker
,
34519 &_swigt__p_wxNavigationKeyEvent
,
34520 &_swigt__p_wxNcPaintEvent
,
34521 &_swigt__p_wxNotifyEvent
,
34522 &_swigt__p_wxObject
,
34523 &_swigt__p_wxOutputStream
,
34524 &_swigt__p_wxPCXHandler
,
34525 &_swigt__p_wxPNGHandler
,
34526 &_swigt__p_wxPNMHandler
,
34527 &_swigt__p_wxPaintEvent
,
34528 &_swigt__p_wxPaletteChangedEvent
,
34529 &_swigt__p_wxPaperSize
,
34530 &_swigt__p_wxPoint
,
34531 &_swigt__p_wxProcessEvent
,
34532 &_swigt__p_wxPyApp
,
34533 &_swigt__p_wxPyArtProvider
,
34534 &_swigt__p_wxPyBitmapDataObject
,
34535 &_swigt__p_wxPyCommandEvent
,
34536 &_swigt__p_wxPyDataObjectSimple
,
34537 &_swigt__p_wxPyDropSource
,
34538 &_swigt__p_wxPyDropTarget
,
34539 &_swigt__p_wxPyEvent
,
34540 &_swigt__p_wxPyFileDropTarget
,
34541 &_swigt__p_wxPyImageHandler
,
34542 &_swigt__p_wxPyLog
,
34543 &_swigt__p_wxPyProcess
,
34544 &_swigt__p_wxPySizer
,
34545 &_swigt__p_wxPyTextDataObject
,
34546 &_swigt__p_wxPyTextDropTarget
,
34547 &_swigt__p_wxPyTimer
,
34548 &_swigt__p_wxPyTipProvider
,
34549 &_swigt__p_wxPyValidator
,
34550 &_swigt__p_wxQueryNewPaletteEvent
,
34552 &_swigt__p_wxScrollEvent
,
34553 &_swigt__p_wxScrollWinEvent
,
34554 &_swigt__p_wxSetCursorEvent
,
34555 &_swigt__p_wxShowEvent
,
34556 &_swigt__p_wxSingleInstanceChecker
,
34558 &_swigt__p_wxSizeEvent
,
34559 &_swigt__p_wxSizer
,
34560 &_swigt__p_wxSizerItem
,
34561 &_swigt__p_wxSound
,
34562 &_swigt__p_wxStandardPaths
,
34563 &_swigt__p_wxStaticBoxSizer
,
34564 &_swigt__p_wxStdDialogButtonSizer
,
34565 &_swigt__p_wxStopWatch
,
34566 &_swigt__p_wxString
,
34567 &_swigt__p_wxSysColourChangedEvent
,
34568 &_swigt__p_wxSystemOptions
,
34569 &_swigt__p_wxSystemSettings
,
34570 &_swigt__p_wxTIFFHandler
,
34571 &_swigt__p_wxTextCtrl
,
34572 &_swigt__p_wxTextDataObject
,
34573 &_swigt__p_wxTimeSpan
,
34574 &_swigt__p_wxTimer
,
34575 &_swigt__p_wxTimerEvent
,
34576 &_swigt__p_wxTimerRunner
,
34577 &_swigt__p_wxTipProvider
,
34578 &_swigt__p_wxToolTip
,
34579 &_swigt__p_wxURLDataObject
,
34580 &_swigt__p_wxUpdateUIEvent
,
34581 &_swigt__p_wxValidator
,
34582 &_swigt__p_wxVideoMode
,
34583 &_swigt__p_wxWindow
,
34584 &_swigt__p_wxWindowCreateEvent
,
34585 &_swigt__p_wxWindowDestroyEvent
,
34586 &_swigt__p_wxWindowDisabler
,
34587 &_swigt__p_wxXPMHandler
,
34588 &_swigt__ptrdiff_t
,
34589 &_swigt__std__ptrdiff_t
,
34590 &_swigt__unsigned_int
,
34593 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34597 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34598 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34599 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34600 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34601 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34602 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}};
34603 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34605 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34606 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34607 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34608 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34609 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34610 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34611 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}};
34612 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34615 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34616 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34617 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}};
34618 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34619 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}};
34620 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34621 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34624 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34625 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34629 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34631 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34632 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34633 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34634 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34635 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34636 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34637 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34638 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34639 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34640 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34641 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34642 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34643 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34644 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34645 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34646 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34647 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34648 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34649 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34650 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34651 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34652 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34653 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34654 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34655 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34656 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34657 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34658 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34659 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34660 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34661 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}};
34662 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34663 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34664 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34665 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34666 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34667 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34668 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}};
34669 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34670 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34671 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34672 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34673 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34674 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34675 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34676 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34677 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34678 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34679 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34680 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}};
34681 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34682 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34683 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34684 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34685 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34686 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34687 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34688 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34689 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34690 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34691 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34692 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34693 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34694 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34695 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34696 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34697 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34698 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34699 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34700 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34701 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34702 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34703 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34704 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34705 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34706 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34707 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34708 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34709 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34710 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34711 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34712 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34713 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34714 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34715 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34716 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34717 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34718 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34719 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34720 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34721 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34722 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34723 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34724 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34725 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}};
34726 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34727 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34728 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34729 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34730 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34731 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34732 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34733 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34734 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}};
34735 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34736 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34737 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34738 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34739 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34740 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34741 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34742 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34743 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34744 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34745 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34746 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34747 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34748 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34749 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34750 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34751 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34752 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}};
34753 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34754 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34755 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34756 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34757 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}};
34758 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34759 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34760 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34761 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}};
34762 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34763 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34764 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34765 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34767 static swig_cast_info
*swig_cast_initial
[] = {
34769 _swigc__p_form_ops_t
,
34771 _swigc__p_unsigned_char
,
34772 _swigc__p_unsigned_int
,
34773 _swigc__p_unsigned_long
,
34775 _swigc__p_wxANIHandler
,
34776 _swigc__p_wxAcceleratorTable
,
34777 _swigc__p_wxActivateEvent
,
34778 _swigc__p_wxArrayString
,
34779 _swigc__p_wxBMPHandler
,
34780 _swigc__p_wxBitmap
,
34781 _swigc__p_wxBitmapDataObject
,
34782 _swigc__p_wxBoxSizer
,
34783 _swigc__p_wxBusyCursor
,
34784 _swigc__p_wxBusyInfo
,
34785 _swigc__p_wxCURHandler
,
34788 _swigc__p_wxChildFocusEvent
,
34789 _swigc__p_wxClipboard
,
34790 _swigc__p_wxClipboardLocker
,
34791 _swigc__p_wxCloseEvent
,
34792 _swigc__p_wxColour
,
34793 _swigc__p_wxCommandEvent
,
34794 _swigc__p_wxConfig
,
34795 _swigc__p_wxConfigBase
,
34796 _swigc__p_wxConfigPathChanger
,
34797 _swigc__p_wxContextMenuEvent
,
34798 _swigc__p_wxControl
,
34799 _swigc__p_wxControlWithItems
,
34800 _swigc__p_wxCursor
,
34801 _swigc__p_wxCustomDataObject
,
34803 _swigc__p_wxDataFormat
,
34804 _swigc__p_wxDataObject
,
34805 _swigc__p_wxDataObjectComposite
,
34806 _swigc__p_wxDataObjectSimple
,
34807 _swigc__p_wxDateEvent
,
34808 _swigc__p_wxDateSpan
,
34809 _swigc__p_wxDateTime
,
34810 _swigc__p_wxDateTime__TimeZone
,
34811 _swigc__p_wxDisplay
,
34812 _swigc__p_wxDisplayChangedEvent
,
34813 _swigc__p_wxDropFilesEvent
,
34814 _swigc__p_wxDuplexMode
,
34815 _swigc__p_wxEraseEvent
,
34817 _swigc__p_wxEvtHandler
,
34818 _swigc__p_wxFSFile
,
34819 _swigc__p_wxFileConfig
,
34820 _swigc__p_wxFileDataObject
,
34821 _swigc__p_wxFileHistory
,
34822 _swigc__p_wxFileSystem
,
34823 _swigc__p_wxFileType
,
34824 _swigc__p_wxFileTypeInfo
,
34825 _swigc__p_wxFlexGridSizer
,
34826 _swigc__p_wxFocusEvent
,
34829 _swigc__p_wxGBSizerItem
,
34830 _swigc__p_wxGIFHandler
,
34831 _swigc__p_wxGridBagSizer
,
34832 _swigc__p_wxGridSizer
,
34833 _swigc__p_wxICOHandler
,
34835 _swigc__p_wxIconizeEvent
,
34836 _swigc__p_wxIdleEvent
,
34838 _swigc__p_wxImageHandler
,
34839 _swigc__p_wxIndividualLayoutConstraint
,
34840 _swigc__p_wxInitDialogEvent
,
34841 _swigc__p_wxJPEGHandler
,
34842 _swigc__p_wxJoystick
,
34843 _swigc__p_wxJoystickEvent
,
34844 _swigc__p_wxKeyEvent
,
34845 _swigc__p_wxKillError
,
34846 _swigc__p_wxLayoutConstraints
,
34848 _swigc__p_wxLogBuffer
,
34849 _swigc__p_wxLogChain
,
34850 _swigc__p_wxLogGui
,
34851 _swigc__p_wxLogNull
,
34852 _swigc__p_wxLogStderr
,
34853 _swigc__p_wxLogTextCtrl
,
34854 _swigc__p_wxLogWindow
,
34855 _swigc__p_wxMaximizeEvent
,
34856 _swigc__p_wxMemorySize
,
34858 _swigc__p_wxMenuBar
,
34859 _swigc__p_wxMenuEvent
,
34860 _swigc__p_wxMenuItem
,
34861 _swigc__p_wxMetafile
,
34862 _swigc__p_wxMetafileDataObject
,
34863 _swigc__p_wxMimeTypesManager
,
34864 _swigc__p_wxMouseCaptureChangedEvent
,
34865 _swigc__p_wxMouseEvent
,
34866 _swigc__p_wxMouseState
,
34867 _swigc__p_wxMoveEvent
,
34868 _swigc__p_wxMutexGuiLocker
,
34869 _swigc__p_wxNavigationKeyEvent
,
34870 _swigc__p_wxNcPaintEvent
,
34871 _swigc__p_wxNotifyEvent
,
34872 _swigc__p_wxObject
,
34873 _swigc__p_wxOutputStream
,
34874 _swigc__p_wxPCXHandler
,
34875 _swigc__p_wxPNGHandler
,
34876 _swigc__p_wxPNMHandler
,
34877 _swigc__p_wxPaintEvent
,
34878 _swigc__p_wxPaletteChangedEvent
,
34879 _swigc__p_wxPaperSize
,
34881 _swigc__p_wxProcessEvent
,
34883 _swigc__p_wxPyArtProvider
,
34884 _swigc__p_wxPyBitmapDataObject
,
34885 _swigc__p_wxPyCommandEvent
,
34886 _swigc__p_wxPyDataObjectSimple
,
34887 _swigc__p_wxPyDropSource
,
34888 _swigc__p_wxPyDropTarget
,
34889 _swigc__p_wxPyEvent
,
34890 _swigc__p_wxPyFileDropTarget
,
34891 _swigc__p_wxPyImageHandler
,
34893 _swigc__p_wxPyProcess
,
34894 _swigc__p_wxPySizer
,
34895 _swigc__p_wxPyTextDataObject
,
34896 _swigc__p_wxPyTextDropTarget
,
34897 _swigc__p_wxPyTimer
,
34898 _swigc__p_wxPyTipProvider
,
34899 _swigc__p_wxPyValidator
,
34900 _swigc__p_wxQueryNewPaletteEvent
,
34902 _swigc__p_wxScrollEvent
,
34903 _swigc__p_wxScrollWinEvent
,
34904 _swigc__p_wxSetCursorEvent
,
34905 _swigc__p_wxShowEvent
,
34906 _swigc__p_wxSingleInstanceChecker
,
34908 _swigc__p_wxSizeEvent
,
34910 _swigc__p_wxSizerItem
,
34912 _swigc__p_wxStandardPaths
,
34913 _swigc__p_wxStaticBoxSizer
,
34914 _swigc__p_wxStdDialogButtonSizer
,
34915 _swigc__p_wxStopWatch
,
34916 _swigc__p_wxString
,
34917 _swigc__p_wxSysColourChangedEvent
,
34918 _swigc__p_wxSystemOptions
,
34919 _swigc__p_wxSystemSettings
,
34920 _swigc__p_wxTIFFHandler
,
34921 _swigc__p_wxTextCtrl
,
34922 _swigc__p_wxTextDataObject
,
34923 _swigc__p_wxTimeSpan
,
34925 _swigc__p_wxTimerEvent
,
34926 _swigc__p_wxTimerRunner
,
34927 _swigc__p_wxTipProvider
,
34928 _swigc__p_wxToolTip
,
34929 _swigc__p_wxURLDataObject
,
34930 _swigc__p_wxUpdateUIEvent
,
34931 _swigc__p_wxValidator
,
34932 _swigc__p_wxVideoMode
,
34933 _swigc__p_wxWindow
,
34934 _swigc__p_wxWindowCreateEvent
,
34935 _swigc__p_wxWindowDestroyEvent
,
34936 _swigc__p_wxWindowDisabler
,
34937 _swigc__p_wxXPMHandler
,
34939 _swigc__std__ptrdiff_t
,
34940 _swigc__unsigned_int
,
34944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34946 static swig_const_info swig_const_table
[] = {
34947 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34948 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34949 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34950 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34951 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34952 {0, 0, 0, 0.0, 0, 0}};
34957 /*************************************************************************
34958 * Type initialization:
34959 * This problem is tough by the requirement that no dynamic
34960 * memory is used. Also, since swig_type_info structures store pointers to
34961 * swig_cast_info structures and swig_cast_info structures store pointers back
34962 * to swig_type_info structures, we need some lookup code at initialization.
34963 * The idea is that swig generates all the structures that are needed.
34964 * The runtime then collects these partially filled structures.
34965 * The SWIG_InitializeModule function takes these initial arrays out of
34966 * swig_module, and does all the lookup, filling in the swig_module.types
34967 * array with the correct data and linking the correct swig_cast_info
34968 * structures together.
34970 * The generated swig_type_info structures are assigned staticly to an initial
34971 * array. We just loop though that array, and handle each type individually.
34972 * First we lookup if this type has been already loaded, and if so, use the
34973 * loaded structure instead of the generated one. Then we have to fill in the
34974 * cast linked list. The cast data is initially stored in something like a
34975 * two-dimensional array. Each row corresponds to a type (there are the same
34976 * number of rows as there are in the swig_type_initial array). Each entry in
34977 * a column is one of the swig_cast_info structures for that type.
34978 * The cast_initial array is actually an array of arrays, because each row has
34979 * a variable number of columns. So to actually build the cast linked list,
34980 * we find the array of casts associated with the type, and loop through it
34981 * adding the casts to the list. The one last trick we need to do is making
34982 * sure the type pointer in the swig_cast_info struct is correct.
34984 * First off, we lookup the cast->type name to see if it is already loaded.
34985 * There are three cases to handle:
34986 * 1) If the cast->type has already been loaded AND the type we are adding
34987 * casting info to has not been loaded (it is in this module), THEN we
34988 * replace the cast->type pointer with the type pointer that has already
34990 * 2) If BOTH types (the one we are adding casting info to, and the
34991 * cast->type) are loaded, THEN the cast info has already been loaded by
34992 * the previous module so we just ignore it.
34993 * 3) Finally, if cast->type has not already been loaded, then we add that
34994 * swig_cast_info to the linked list (because the cast->type) pointer will
35006 #define SWIGRUNTIME_DEBUG
35010 SWIG_InitializeModule(void *clientdata
) {
35012 swig_module_info
*module_head
;
35013 static int init_run
= 0;
35015 clientdata
= clientdata
;
35017 if (init_run
) return;
35020 /* Initialize the swig_module */
35021 swig_module
.type_initial
= swig_type_initial
;
35022 swig_module
.cast_initial
= swig_cast_initial
;
35024 /* Try and load any already created modules */
35025 module_head
= SWIG_GetModule(clientdata
);
35027 swig_module
.next
= module_head
->next
;
35028 module_head
->next
= &swig_module
;
35030 /* This is the first module loaded */
35031 swig_module
.next
= &swig_module
;
35032 SWIG_SetModule(clientdata
, &swig_module
);
35035 /* Now work on filling in swig_module.types */
35036 #ifdef SWIGRUNTIME_DEBUG
35037 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
35039 for (i
= 0; i
< swig_module
.size
; ++i
) {
35040 swig_type_info
*type
= 0;
35041 swig_type_info
*ret
;
35042 swig_cast_info
*cast
;
35044 #ifdef SWIGRUNTIME_DEBUG
35045 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35048 /* if there is another module already loaded */
35049 if (swig_module
.next
!= &swig_module
) {
35050 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
35053 /* Overwrite clientdata field */
35054 #ifdef SWIGRUNTIME_DEBUG
35055 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
35057 if (swig_module
.type_initial
[i
]->clientdata
) {
35058 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
35059 #ifdef SWIGRUNTIME_DEBUG
35060 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
35064 type
= swig_module
.type_initial
[i
];
35067 /* Insert casting types */
35068 cast
= swig_module
.cast_initial
[i
];
35069 while (cast
->type
) {
35070 /* Don't need to add information already in the list */
35072 #ifdef SWIGRUNTIME_DEBUG
35073 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35075 if (swig_module
.next
!= &swig_module
) {
35076 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35077 #ifdef SWIGRUNTIME_DEBUG
35078 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35082 if (type
== swig_module
.type_initial
[i
]) {
35083 #ifdef SWIGRUNTIME_DEBUG
35084 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35089 /* Check for casting already in the list */
35090 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35091 #ifdef SWIGRUNTIME_DEBUG
35092 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35094 if (!ocast
) ret
= 0;
35099 #ifdef SWIGRUNTIME_DEBUG
35100 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35103 type
->cast
->prev
= cast
;
35104 cast
->next
= type
->cast
;
35110 /* Set entry in modules->types array equal to the type */
35111 swig_module
.types
[i
] = type
;
35113 swig_module
.types
[i
] = 0;
35115 #ifdef SWIGRUNTIME_DEBUG
35116 printf("**** SWIG_InitializeModule: Cast List ******\n");
35117 for (i
= 0; i
< swig_module
.size
; ++i
) {
35119 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35120 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35121 while (cast
->type
) {
35122 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35126 printf("---- Total casts: %d\n",j
);
35128 printf("**** SWIG_InitializeModule: Cast List ******\n");
35132 /* This function will propagate the clientdata field of type to
35133 * any new swig_type_info structures that have been added into the list
35134 * of equivalent types. It is like calling
35135 * SWIG_TypeClientData(type, clientdata) a second time.
35138 SWIG_PropagateClientData(void) {
35140 swig_cast_info
*equiv
;
35141 static int init_run
= 0;
35143 if (init_run
) return;
35146 for (i
= 0; i
< swig_module
.size
; i
++) {
35147 if (swig_module
.types
[i
]->clientdata
) {
35148 equiv
= swig_module
.types
[i
]->cast
;
35150 if (!equiv
->converter
) {
35151 if (equiv
->type
&& !equiv
->type
->clientdata
)
35152 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35154 equiv
= equiv
->next
;
35174 /* Python-specific SWIG API */
35175 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35176 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35177 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35179 /* -----------------------------------------------------------------------------
35180 * global variable support code.
35181 * ----------------------------------------------------------------------------- */
35183 typedef struct swig_globalvar
{
35184 char *name
; /* Name of global variable */
35185 PyObject
*(*get_attr
)(void); /* Return the current value */
35186 int (*set_attr
)(PyObject
*); /* Set the value */
35187 struct swig_globalvar
*next
;
35190 typedef struct swig_varlinkobject
{
35192 swig_globalvar
*vars
;
35193 } swig_varlinkobject
;
35195 SWIGINTERN PyObject
*
35196 swig_varlink_repr(swig_varlinkobject
*v
) {
35198 return PyString_FromString("<Swig global variables>");
35202 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35203 swig_globalvar
*var
;
35205 fprintf(fp
,"Swig global variables { ");
35206 for (var
= v
->vars
; var
; var
=var
->next
) {
35207 fprintf(fp
,"%s", var
->name
);
35208 if (var
->next
) fprintf(fp
,", ");
35210 fprintf(fp
," }\n");
35214 SWIGINTERN PyObject
*
35215 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35216 swig_globalvar
*var
= v
->vars
;
35218 if (strcmp(var
->name
,n
) == 0) {
35219 return (*var
->get_attr
)();
35223 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35228 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35229 swig_globalvar
*var
= v
->vars
;
35231 if (strcmp(var
->name
,n
) == 0) {
35232 return (*var
->set_attr
)(p
);
35236 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35240 SWIGINTERN PyTypeObject
*
35241 swig_varlink_type(void) {
35242 static char varlink__doc__
[] = "Swig var link object";
35243 static PyTypeObject varlink_type
35244 #if !defined(__cplusplus)
35246 static int type_init
= 0;
35251 PyObject_HEAD_INIT(&PyType_Type
)
35252 0, /* Number of items in variable part (ob_size) */
35253 (char *)"swigvarlink", /* Type name (tp_name) */
35254 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35255 0, /* Itemsize (tp_itemsize) */
35256 0, /* Deallocator (tp_dealloc) */
35257 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35258 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35259 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35260 0, /* tp_compare */
35261 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35262 0, /* tp_as_number */
35263 0, /* tp_as_sequence */
35264 0, /* tp_as_mapping */
35268 0, /* tp_getattro */
35269 0, /* tp_setattro */
35270 0, /* tp_as_buffer */
35272 varlink__doc__
, /* tp_doc */
35273 #if PY_VERSION_HEX >= 0x02000000
35274 0, /* tp_traverse */
35277 #if PY_VERSION_HEX >= 0x02010000
35278 0, /* tp_richcompare */
35279 0, /* tp_weaklistoffset */
35281 #if PY_VERSION_HEX >= 0x02020000
35282 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35284 #if PY_VERSION_HEX >= 0x02030000
35287 #ifdef COUNT_ALLOCS
35288 0,0,0,0 /* tp_alloc -> tp_next */
35291 #if !defined(__cplusplus)
35292 varlink_type
= tmp
;
35296 return &varlink_type
;
35299 /* Create a variable linking object for use later */
35300 SWIGINTERN PyObject
*
35301 SWIG_Python_newvarlink(void) {
35302 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35306 return ((PyObject
*) result
);
35310 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35311 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35312 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35314 size_t size
= strlen(name
)+1;
35315 gv
->name
= (char *)malloc(size
);
35317 strncpy(gv
->name
,name
,size
);
35318 gv
->get_attr
= get_attr
;
35319 gv
->set_attr
= set_attr
;
35320 gv
->next
= v
->vars
;
35326 /* -----------------------------------------------------------------------------
35327 * constants/methods manipulation
35328 * ----------------------------------------------------------------------------- */
35330 /* Install Constants */
35332 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35335 for (i
= 0; constants
[i
].type
; ++i
) {
35336 switch(constants
[i
].type
) {
35338 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35340 case SWIG_PY_FLOAT
:
35341 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35343 case SWIG_PY_STRING
:
35344 if (constants
[i
].pvalue
) {
35345 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35347 Py_INCREF(Py_None
);
35351 case SWIG_PY_POINTER
:
35352 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35354 case SWIG_PY_BINARY
:
35355 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35362 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35368 /* -----------------------------------------------------------------------------*/
35369 /* Fix SwigMethods to carry the callback ptrs when needed */
35370 /* -----------------------------------------------------------------------------*/
35373 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35374 swig_const_info
*const_table
,
35375 swig_type_info
**types
,
35376 swig_type_info
**types_initial
) {
35378 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35379 char *c
= methods
[i
].ml_doc
;
35380 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35382 swig_const_info
*ci
= 0;
35383 char *name
= c
+ 10;
35384 for (j
= 0; const_table
[j
].type
; ++j
) {
35385 if (strncmp(const_table
[j
].name
, name
,
35386 strlen(const_table
[j
].name
)) == 0) {
35387 ci
= &(const_table
[j
]);
35392 size_t shift
= (ci
->ptype
) - types
;
35393 swig_type_info
*ty
= types_initial
[shift
];
35394 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35395 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35396 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35399 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35401 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35403 strncpy(buff
, "swig_ptr: ", 10);
35405 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35406 methods
[i
].ml_doc
= ndoc
;
35414 /* -----------------------------------------------------------------------------*
35415 * Initialize type list
35416 * -----------------------------------------------------------------------------*/
35422 /* -----------------------------------------------------------------------------*
35423 * Partial Init method
35424 * -----------------------------------------------------------------------------*/
35429 SWIGEXPORT
void SWIG_init(void) {
35430 static PyObject
*SWIG_globals
= 0;
35432 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35434 /* Fix SwigMethods to carry the callback ptrs when needed */
35435 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35437 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35438 d
= PyModule_GetDict(m
);
35440 SWIG_InitializeModule(0);
35441 SWIG_InstallConstants(d
,swig_const_table
);
35444 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35447 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35450 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35453 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35456 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35459 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35462 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35465 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35468 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35471 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35474 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35477 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35480 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35483 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35486 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35489 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35492 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35495 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35498 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35501 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35504 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35507 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35510 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35513 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35516 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35519 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35522 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35525 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35528 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35531 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35534 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35537 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35540 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35543 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35546 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35549 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35552 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35555 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35558 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35561 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35564 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35567 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35570 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35573 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35576 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35579 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35582 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35585 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35588 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35591 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35594 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35597 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35600 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35603 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35606 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35609 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35612 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35615 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35618 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35621 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35624 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35627 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35630 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35633 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35636 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35639 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35642 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35645 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35648 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35651 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35654 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35657 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35660 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35663 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35666 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35669 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35672 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35675 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35678 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35681 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35684 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35687 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35690 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35693 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35696 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35699 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35702 PyDict_SetItemString(d
,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT
)));
35705 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35708 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35711 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35714 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35717 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35719 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35720 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35721 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35722 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35723 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35725 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35728 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35731 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35734 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35736 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35738 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35741 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35744 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35747 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35750 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35753 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35756 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35759 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35762 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35765 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35768 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35771 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35773 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35774 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35775 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35776 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35777 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35779 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35782 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35785 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35788 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35791 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35794 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35797 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35800 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35803 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35806 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35809 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35812 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35815 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35818 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35821 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35824 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35827 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35830 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35833 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35836 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35839 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35842 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35845 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35848 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35851 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35854 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35857 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35860 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35863 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35866 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35869 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35871 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35873 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35876 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35879 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35882 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35885 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35888 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35891 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35894 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35897 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35900 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35903 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35906 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35909 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35911 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35912 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35913 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35914 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35916 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35919 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35922 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35925 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35928 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35931 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35934 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35937 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35939 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35997 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
36000 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
36003 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
36006 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
36009 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
36012 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
36015 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
36018 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
36021 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
36024 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
36026 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
36027 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
36029 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
36032 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
36035 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
36038 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
36041 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
36044 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
36047 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
36050 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
36053 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
36056 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
36059 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
36062 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
36065 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
36068 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
36071 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
36074 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
36077 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
36080 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
36083 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
36086 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
36089 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
36092 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
36095 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
36098 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
36101 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
36104 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
36107 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
36110 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
36113 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
36116 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
36119 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
36122 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
36125 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
36128 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
36131 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
36134 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
36137 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36140 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36143 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36146 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36149 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36152 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36155 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36158 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36161 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36164 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36167 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36170 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36173 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36176 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36179 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36182 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36185 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36188 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36191 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36194 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36197 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36200 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36203 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36206 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36209 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36212 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36215 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36218 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36221 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36224 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36227 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36230 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36233 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36236 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36239 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36242 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36245 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36248 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36251 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36254 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36257 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36260 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36263 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36266 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36269 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36272 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36275 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36278 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36281 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36284 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36287 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36290 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36293 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36296 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36299 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36302 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36305 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36308 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36311 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36314 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36317 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36320 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36323 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36326 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36329 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36332 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36335 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36338 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36341 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36344 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36347 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36350 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36353 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36356 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36359 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36362 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36365 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36368 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36371 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36374 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36377 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36380 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36383 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36386 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36389 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36392 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36395 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36398 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36401 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36404 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36407 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36410 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36413 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36416 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36419 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36422 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36425 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36428 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36431 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36434 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36437 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36440 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36443 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36446 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36449 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36452 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36455 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36458 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36461 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36464 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36467 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36470 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36473 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36476 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36479 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36482 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36485 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36488 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36491 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36493 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36495 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36498 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36501 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36504 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36507 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36510 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36513 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36516 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36519 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36522 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36525 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36528 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36531 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36534 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36537 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36540 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36543 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36546 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36549 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36552 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36554 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36556 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36559 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36562 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36565 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36568 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36571 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36574 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36577 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36580 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36583 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36586 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36589 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36592 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36593 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36594 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36595 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36597 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);