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_wxMetafileDataObject swig_types[93]
1529 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
1530 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
1531 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
1532 #define SWIGTYPE_p_wxMouseState swig_types[97]
1533 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
1534 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
1535 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1536 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
1537 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxObject swig_types[103]
1539 #define SWIGTYPE_p_wxOutputStream swig_types[104]
1540 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
1541 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
1544 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
1545 #define SWIGTYPE_p_wxPaperSize swig_types[110]
1546 #define SWIGTYPE_p_wxPoint swig_types[111]
1547 #define SWIGTYPE_p_wxProcessEvent swig_types[112]
1548 #define SWIGTYPE_p_wxPyApp swig_types[113]
1549 #define SWIGTYPE_p_wxPyArtProvider swig_types[114]
1550 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115]
1551 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1552 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117]
1553 #define SWIGTYPE_p_wxPyDropSource swig_types[118]
1554 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1555 #define SWIGTYPE_p_wxPyEvent swig_types[120]
1556 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[121]
1557 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
1558 #define SWIGTYPE_p_wxPyLog swig_types[123]
1559 #define SWIGTYPE_p_wxPyProcess swig_types[124]
1560 #define SWIGTYPE_p_wxPySizer swig_types[125]
1561 #define SWIGTYPE_p_wxPyTextDataObject swig_types[126]
1562 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[127]
1563 #define SWIGTYPE_p_wxPyTimer swig_types[128]
1564 #define SWIGTYPE_p_wxPyTipProvider swig_types[129]
1565 #define SWIGTYPE_p_wxPyValidator swig_types[130]
1566 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131]
1567 #define SWIGTYPE_p_wxRect swig_types[132]
1568 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
1569 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
1571 #define SWIGTYPE_p_wxShowEvent swig_types[136]
1572 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137]
1573 #define SWIGTYPE_p_wxSize swig_types[138]
1574 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSizer swig_types[140]
1576 #define SWIGTYPE_p_wxSizerItem swig_types[141]
1577 #define SWIGTYPE_p_wxSound swig_types[142]
1578 #define SWIGTYPE_p_wxStandardPaths swig_types[143]
1579 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
1580 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
1581 #define SWIGTYPE_p_wxStopWatch swig_types[146]
1582 #define SWIGTYPE_p_wxString swig_types[147]
1583 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
1584 #define SWIGTYPE_p_wxSystemOptions swig_types[149]
1585 #define SWIGTYPE_p_wxSystemSettings swig_types[150]
1586 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
1587 #define SWIGTYPE_p_wxTextCtrl swig_types[152]
1588 #define SWIGTYPE_p_wxTextDataObject swig_types[153]
1589 #define SWIGTYPE_p_wxTimeSpan swig_types[154]
1590 #define SWIGTYPE_p_wxTimer swig_types[155]
1591 #define SWIGTYPE_p_wxTimerEvent swig_types[156]
1592 #define SWIGTYPE_p_wxTimerRunner swig_types[157]
1593 #define SWIGTYPE_p_wxTipProvider swig_types[158]
1594 #define SWIGTYPE_p_wxToolTip swig_types[159]
1595 #define SWIGTYPE_p_wxURLDataObject swig_types[160]
1596 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
1597 #define SWIGTYPE_p_wxValidator swig_types[162]
1598 #define SWIGTYPE_p_wxVideoMode swig_types[163]
1599 #define SWIGTYPE_p_wxWindow swig_types[164]
1600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
1601 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166]
1602 #define SWIGTYPE_p_wxWindowDisabler swig_types[167]
1603 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
1604 #define SWIGTYPE_ptrdiff_t swig_types[169]
1605 #define SWIGTYPE_std__ptrdiff_t swig_types[170]
1606 #define SWIGTYPE_unsigned_int swig_types[171]
1607 static swig_type_info
*swig_types
[173];
1608 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
1609 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1610 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1612 /* -------- TYPES TABLE (END) -------- */
1615 /*-----------------------------------------------
1616 @(target):= _misc_.so
1617 ------------------------------------------------*/
1618 #define SWIG_init init_misc_
1620 #define SWIG_name "_misc_"
1622 #include "wx/wxPython/wxPython.h"
1623 #include "wx/wxPython/pyclasses.h"
1624 #include "wx/wxPython/pyistream.h"
1626 static const wxString
wxPyEmptyString(wxEmptyString
);
1630 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1631 #define SWIG_From_int PyInt_FromLong
1639 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1642 if (value
< min_value
) {
1644 PyErr_Format(PyExc_OverflowError
,
1645 "value %ld is less than '%s' minimum %ld",
1646 value
, errmsg
, min_value
);
1649 } else if (value
> max_value
) {
1651 PyErr_Format(PyExc_OverflowError
,
1652 "value %ld is greater than '%s' maximum %ld",
1653 value
, errmsg
, max_value
);
1662 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1664 if (PyNumber_Check(obj
)) {
1665 if (val
) *val
= PyInt_AsLong(obj
);
1669 SWIG_Python_TypeError("number", obj
);
1675 #if INT_MAX != LONG_MAX
1677 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1679 const char* errmsg
= val
? "int" : (char*)0;
1681 if (SWIG_AsVal_long(obj
, &v
)) {
1682 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1683 if (val
) *val
= static_cast<int >(v
);
1692 SWIG_type_error(errmsg
, obj
);
1697 SWIGINTERNINLINE
int
1698 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1700 return SWIG_AsVal_long(obj
,(long*)val
);
1705 SWIGINTERNINLINE
int
1706 SWIG_As_int(PyObject
* obj
)
1709 if (!SWIG_AsVal_int(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(int));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1725 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1727 #include <wx/stockitem.h>
1729 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1730 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1731 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1733 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1734 #define SWIG_From_long PyInt_FromLong
1738 SWIGINTERNINLINE
long
1739 SWIG_As_long(PyObject
* obj
)
1742 if (!SWIG_AsVal_long(obj
, &v
)) {
1744 this is needed to make valgrind/purify happier.
1746 memset((void*)&v
, 0, sizeof(long));
1752 SWIGINTERNINLINE
int
1753 SWIG_Check_long(PyObject
* obj
)
1755 return SWIG_AsVal_long(obj
, (long*)0);
1760 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1762 if (obj
== Py_True
) {
1763 if (val
) *val
= true;
1766 if (obj
== Py_False
) {
1767 if (val
) *val
= false;
1771 if (SWIG_AsVal_int(obj
, &res
)) {
1772 if (val
) *val
= res
? true : false;
1778 SWIG_type_error("bool", obj
);
1784 SWIGINTERNINLINE
bool
1785 SWIG_As_bool(PyObject
* obj
)
1788 if (!SWIG_AsVal_bool(obj
, &v
)) {
1790 this is needed to make valgrind/purify happier.
1792 memset((void*)&v
, 0, sizeof(bool));
1798 SWIGINTERNINLINE
int
1799 SWIG_Check_bool(PyObject
* obj
)
1801 return SWIG_AsVal_bool(obj
, (bool*)0);
1805 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1811 } else if (result
== Py_None
) {
1815 if (!PyTuple_Check(result
)) {
1817 result
= PyTuple_New(1);
1818 PyTuple_SET_ITEM(result
, 0, o2
);
1820 o3
= PyTuple_New(1);
1821 PyTuple_SetItem(o3
, 0, obj
);
1823 result
= PySequence_Concat(o2
, o3
);
1832 wxMemorySize
wxGetFreeMemory()
1833 { wxPyRaiseNotImplemented(); return 0; }
1837 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1840 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1841 SWIG_Python_TypeError("unsigned number", obj
);
1844 *val
= (unsigned long)v
;
1849 SWIGINTERNINLINE
unsigned long
1850 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(unsigned long));
1863 SWIGINTERNINLINE
int
1864 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1866 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1870 SWIGINTERNINLINE PyObject
*
1871 SWIG_From_unsigned_SS_long(unsigned long value
)
1873 return (value
> LONG_MAX
) ?
1874 PyLong_FromUnsignedLong(value
)
1875 : PyInt_FromLong(static_cast<long >(value
));
1879 void* wxGetXDisplay()
1882 return wxGetDisplay();
1889 wxWindow
* FindWindowAtPointer() {
1891 return wxFindWindowAtPointer(unused
);
1895 void wxWakeUpMainThread() {}
1898 bool wxThread_IsMain() {
1899 #ifdef WXP_WITH_THREAD
1900 return wxThread::IsMain();
1906 static void wxCaret_Destroy(wxCaret
*self
){
1910 #include <wx/snglinst.h>
1914 #include <wx/msw/private.h>
1915 #include <wx/dynload.h>
1920 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1931 // This one only partially works. Appears to be an undocumented
1932 // "standard" convention that not all widgets adhear to. For
1933 // example, for some widgets backgrounds or non-client areas may
1935 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1940 // This one works much better, nearly all widgets and their
1941 // children are captured correctly[**]. Prior to the big
1942 // background erase changes that Vadim did in 2004-2005 this
1943 // method failed badly on XP with Themes activated, most native
1944 // widgets draw only partially, if at all. Without themes it
1945 // worked just like on Win2k. After those changes this method
1948 // ** For example the radio buttons in a wxRadioBox are not its
1949 // children by default, but you can capture it via the panel
1950 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1951 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1952 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1953 PRF_ERASEBKGND
| PRF_OWNED
);
1959 // This one is only defined in the latest SDK and is only
1960 // available on XP. MSDN says it is similar to sending WM_PRINT
1961 // so I expect that it will work similar to the above. Since it
1962 // is avaialble only on XP, it can't be compiled like this and
1963 // will have to be loaded dynamically.
1964 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1969 // Use PrintWindow if available, or fallback to WM_PRINT
1970 // otherwise. Unfortunately using PrintWindow is even worse than
1971 // WM_PRINT. For most native widgets nothing is drawn to the dc
1972 // at all, with or without Themes.
1973 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1974 static bool s_triedToLoad
= false;
1975 static PrintWindow_t pfnPrintWindow
= NULL
;
1976 if ( !s_triedToLoad
)
1979 s_triedToLoad
= true;
1980 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1981 if ( dllUser32
.IsLoaded() )
1983 wxLogNull nolog
; // Don't report errors here
1984 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1989 //printf("Using PrintWindow\n");
1990 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1994 //printf("Using WM_PRINT\n");
1995 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1996 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1997 PRF_ERASEBKGND
| PRF_OWNED
);
2008 #include <wx/tipdlg.h>
2011 class wxPyTipProvider
: public wxTipProvider
{
2013 wxPyTipProvider(size_t currentTip
)
2014 : wxTipProvider(currentTip
) {}
2016 DEC_PYCALLBACK_STRING__pure(GetTip
);
2017 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2021 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2022 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2025 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2027 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2029 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2030 : wxTimer(owner
, id
)
2032 if (owner
== NULL
) SetOwner(this);
2036 SWIGINTERN PyObject
*
2037 SWIG_FromCharPtr(const char* cptr
)
2040 size_t size
= strlen(cptr
);
2041 if (size
> INT_MAX
) {
2042 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2043 SWIG_TypeQuery("char *"), 0);
2046 return PyString_FromStringAndSize(cptr
, size
);
2048 return PyString_FromString(cptr
);
2057 SWIGINTERNINLINE
int
2058 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2059 unsigned long max_value
,
2062 if (value
> max_value
) {
2064 PyErr_Format(PyExc_OverflowError
,
2065 "value %lu is greater than '%s' minimum %lu",
2066 value
, errmsg
, max_value
);
2074 #if UINT_MAX != ULONG_MAX
2076 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2078 const char* errmsg
= val
? "unsigned int" : (char*)0;
2080 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2081 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2082 if (val
) *val
= static_cast<unsigned int >(v
);
2089 SWIG_type_error(errmsg
, obj
);
2094 SWIGINTERNINLINE
unsigned int
2095 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2097 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2102 SWIGINTERNINLINE
unsigned int
2103 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2106 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2108 this is needed to make valgrind/purify happier.
2110 memset((void*)&v
, 0, sizeof(unsigned int));
2116 SWIGINTERNINLINE
int
2117 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2119 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2122 static wxString
wxLog_TimeStamp(){
2124 wxLog::TimeStamp(&msg
);
2127 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2128 // Make some wrappers that double any % signs so they are 'escaped'
2129 void wxPyLogFatalError(const wxString
& msg
)
2132 m
.Replace(wxT("%"), wxT("%%"));
2136 void wxPyLogError(const wxString
& msg
)
2139 m
.Replace(wxT("%"), wxT("%%"));
2143 void wxPyLogWarning(const wxString
& msg
)
2146 m
.Replace(wxT("%"), wxT("%%"));
2150 void wxPyLogMessage(const wxString
& msg
)
2153 m
.Replace(wxT("%"), wxT("%%"));
2157 void wxPyLogInfo(const wxString
& msg
)
2160 m
.Replace(wxT("%"), wxT("%%"));
2164 void wxPyLogDebug(const wxString
& msg
)
2167 m
.Replace(wxT("%"), wxT("%%"));
2171 void wxPyLogVerbose(const wxString
& msg
)
2174 m
.Replace(wxT("%"), wxT("%%"));
2178 void wxPyLogStatus(const wxString
& msg
)
2181 m
.Replace(wxT("%"), wxT("%%"));
2185 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2188 m
.Replace(wxT("%"), wxT("%%"));
2189 wxLogStatus(pFrame
, m
);
2192 void wxPyLogSysError(const wxString
& msg
)
2195 m
.Replace(wxT("%"), wxT("%%"));
2199 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2202 m
.Replace(wxT("%"), wxT("%%"));
2203 wxLogGeneric(level
, m
);
2206 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2209 m
.Replace(wxT("%"), wxT("%%"));
2210 wxLogTrace(mask
, m
);
2213 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2216 m
.Replace(wxT("%"), wxT("%%"));
2217 wxLogTrace(mask
, m
);
2222 // A wxLog class that can be derived from in wxPython
2223 class wxPyLog
: public wxLog
{
2225 wxPyLog() : wxLog() {}
2227 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2229 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2230 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2231 PyObject
* s
= wx2PyString(szString
);
2232 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2235 wxPyEndBlockThreads(blocked
);
2237 wxLog::DoLog(level
, szString
, t
);
2240 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2242 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2243 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2244 PyObject
* s
= wx2PyString(szString
);
2245 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2248 wxPyEndBlockThreads(blocked
);
2250 wxLog::DoLogString(szString
, t
);
2253 DEC_PYCALLBACK_VOID_(Flush
);
2256 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
2261 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2264 #include <wx/joystick.h>
2267 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2268 // A C++ stub class for wxJoystick for platforms that don't have it.
2269 class wxJoystick
: public wxObject
{
2271 wxJoystick(int joystick
= wxJOYSTICK1
) {
2272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2273 PyErr_SetString(PyExc_NotImplementedError
,
2274 "wxJoystick is not available on this platform.");
2275 wxPyEndBlockThreads(blocked
);
2277 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2278 int GetZPosition() { return -1; }
2279 int GetButtonState() { return -1; }
2280 int GetPOVPosition() { return -1; }
2281 int GetPOVCTSPosition() { return -1; }
2282 int GetRudderPosition() { return -1; }
2283 int GetUPosition() { return -1; }
2284 int GetVPosition() { return -1; }
2285 int GetMovementThreshold() { return -1; }
2286 void SetMovementThreshold(int threshold
) {}
2288 bool IsOk(void) { return false; }
2289 int GetNumberJoysticks() { return -1; }
2290 int GetManufacturerId() { return -1; }
2291 int GetProductId() { return -1; }
2292 wxString
GetProductName() { return wxEmptyString
; }
2293 int GetXMin() { return -1; }
2294 int GetYMin() { return -1; }
2295 int GetZMin() { return -1; }
2296 int GetXMax() { return -1; }
2297 int GetYMax() { return -1; }
2298 int GetZMax() { return -1; }
2299 int GetNumberButtons() { return -1; }
2300 int GetNumberAxes() { return -1; }
2301 int GetMaxButtons() { return -1; }
2302 int GetMaxAxes() { return -1; }
2303 int GetPollingMin() { return -1; }
2304 int GetPollingMax() { return -1; }
2305 int GetRudderMin() { return -1; }
2306 int GetRudderMax() { return -1; }
2307 int GetUMin() { return -1; }
2308 int GetUMax() { return -1; }
2309 int GetVMin() { return -1; }
2310 int GetVMax() { return -1; }
2312 bool HasRudder() { return false; }
2313 bool HasZ() { return false; }
2314 bool HasU() { return false; }
2315 bool HasV() { return false; }
2316 bool HasPOV() { return false; }
2317 bool HasPOV4Dir() { return false; }
2318 bool HasPOVCTS() { return false; }
2320 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2321 bool ReleaseCapture() { return false; }
2326 #include <wx/sound.h>
2330 // A C++ stub class for wxWave for platforms that don't have it.
2331 class wxSound
: public wxObject
2335 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2336 PyErr_SetString(PyExc_NotImplementedError
,
2337 "wxSound is not available on this platform.");
2338 wxPyEndBlockThreads(blocked
);
2340 wxSound(const wxString
&/*, bool*/) {
2341 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2342 PyErr_SetString(PyExc_NotImplementedError
,
2343 "wxSound is not available on this platform.");
2344 wxPyEndBlockThreads(blocked
);
2346 wxSound(int, const wxByte
*) {
2347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2348 PyErr_SetString(PyExc_NotImplementedError
,
2349 "wxSound is not available on this platform.");
2350 wxPyEndBlockThreads(blocked
);
2355 bool Create(const wxString
&/*, bool*/) { return false; }
2356 bool Create(int, const wxByte
*) { return false; };
2357 bool IsOk() { return false; };
2358 bool Play(unsigned) const { return false; }
2359 static bool Play(const wxString
&, unsigned) { return false; }
2360 static void Stop() {}
2365 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2366 if (fileName
.Length() == 0)
2369 return new wxSound(fileName
);
2371 static wxSound
*new_wxSound(PyObject
*data
){
2372 unsigned char* buffer
; int size
;
2373 wxSound
*sound
= NULL
;
2375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2376 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2378 sound
= new wxSound(size
, buffer
);
2380 wxPyEndBlockThreads(blocked
);
2383 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2385 unsigned char* buffer
;
2389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2390 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2392 rv
= self
->Create(size
, buffer
);
2394 wxPyEndBlockThreads(blocked
);
2397 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2398 PyErr_SetString(PyExc_NotImplementedError
,
2399 "Create from data is not available on this platform.");
2400 wxPyEndBlockThreads(blocked
);
2405 #include <wx/mimetype.h>
2407 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2409 if (self
->GetMimeType(&str
))
2410 return wx2PyString(str
);
2414 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2416 if (self
->GetMimeTypes(arr
))
2417 return wxArrayString2PyList_helper(arr
);
2421 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2423 if (self
->GetExtensions(arr
))
2424 return wxArrayString2PyList_helper(arr
);
2428 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2430 if (self
->GetIcon(&loc
))
2431 return new wxIcon(loc
);
2435 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2437 if (self
->GetIcon(&loc
)) {
2438 wxString iconFile
= loc
.GetFileName();
2443 // Make a tuple and put the values in it
2444 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2445 PyObject
* tuple
= PyTuple_New(3);
2446 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2447 wxT("wxIcon"), true));
2448 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2449 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2450 wxPyEndBlockThreads(blocked
);
2456 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2458 if (self
->GetDescription(&str
))
2459 return wx2PyString(str
);
2463 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2465 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2466 return wx2PyString(str
);
2470 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2472 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2473 return wx2PyString(str
);
2477 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2478 wxArrayString verbs
;
2479 wxArrayString commands
;
2480 if (self
->GetAllCommands(&verbs
, &commands
,
2481 wxFileType::MessageParameters(filename
, mimetype
))) {
2482 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2483 PyObject
* tuple
= PyTuple_New(2);
2484 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2485 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2486 wxPyEndBlockThreads(blocked
);
2492 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2493 return wxFileType::ExpandCommand(command
,
2494 wxFileType::MessageParameters(filename
, mimetype
));
2496 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2498 self
->EnumAllFileTypes(arr
);
2499 return wxArrayString2PyList_helper(arr
);
2502 #include <wx/artprov.h>
2504 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2505 static const wxString
wxPyART_MENU(wxART_MENU
);
2506 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2507 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2508 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2509 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2510 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2511 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2512 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2513 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2514 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2515 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2516 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2517 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2518 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2519 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2520 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2521 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2522 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2523 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2524 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2525 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2526 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2527 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2528 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2529 static const wxString
wxPyART_HELP(wxART_HELP
);
2530 static const wxString
wxPyART_TIP(wxART_TIP
);
2531 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2532 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2533 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2534 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2535 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2536 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2537 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2538 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2539 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2540 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2541 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2542 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2543 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2544 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2545 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2546 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2547 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2548 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2549 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2550 static const wxString
wxPyART_COPY(wxART_COPY
);
2551 static const wxString
wxPyART_CUT(wxART_CUT
);
2552 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2553 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2554 static const wxString
wxPyART_NEW(wxART_NEW
);
2555 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2556 static const wxString
wxPyART_REDO(wxART_REDO
);
2557 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2558 static const wxString
wxPyART_FIND(wxART_FIND
);
2559 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2560 // Python aware wxArtProvider
2561 class wxPyArtProvider
: public wxArtProvider
{
2564 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2565 const wxArtClient
& client
,
2566 const wxSize
& size
) {
2567 wxBitmap rval
= wxNullBitmap
;
2568 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2569 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2570 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2574 s1
= wx2PyString(id
);
2575 s2
= wx2PyString(client
);
2576 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2581 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2586 wxPyEndBlockThreads(blocked
);
2593 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2597 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2598 PyObject
* ret
= PyTuple_New(3);
2600 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2601 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2602 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2607 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2612 cont
= self
->GetFirstGroup(value
, index
);
2613 return __EnumerationHelper(cont
, value
, index
);
2615 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2619 cont
= self
->GetNextGroup(value
, index
);
2620 return __EnumerationHelper(cont
, value
, index
);
2622 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2627 cont
= self
->GetFirstEntry(value
, index
);
2628 return __EnumerationHelper(cont
, value
, index
);
2630 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2634 cont
= self
->GetNextEntry(value
, index
);
2635 return __EnumerationHelper(cont
, value
, index
);
2637 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2639 self
->Read(key
, &rv
, defaultVal
);
2644 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2646 if (PyNumber_Check(obj
)) {
2647 if (val
) *val
= PyFloat_AsDouble(obj
);
2651 SWIG_Python_TypeError("number", obj
);
2657 SWIGINTERNINLINE
double
2658 SWIG_As_double(PyObject
* obj
)
2661 if (!SWIG_AsVal_double(obj
, &v
)) {
2663 this is needed to make valgrind/purify happier.
2665 memset((void*)&v
, 0, sizeof(double));
2671 SWIGINTERNINLINE
int
2672 SWIG_Check_double(PyObject
* obj
)
2674 return SWIG_AsVal_double(obj
, (double*)0);
2677 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2679 self
->Read(key
, &rv
, defaultVal
);
2683 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2684 #define SWIG_From_double PyFloat_FromDouble
2687 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2689 self
->Read(key
, &rv
, defaultVal
);
2693 #include <wx/datetime.h>
2695 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2696 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2698 #define LOCAL_TZ wxDateTime::Local
2700 static PyObject
*wxDateTime_GetAmPmStrings(){
2703 wxDateTime::GetAmPmStrings(&am
, &pm
);
2704 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2705 PyObject
* tup
= PyTuple_New(2);
2706 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2707 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2708 wxPyEndBlockThreads(blocked
);
2712 #if UINT_MAX < LONG_MAX
2713 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2714 #define SWIG_From_unsigned_SS_int SWIG_From_long
2717 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2718 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2722 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2723 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2724 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2725 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2726 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2727 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2728 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2729 return (*self
< *other
);
2731 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2732 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2733 return (*self
<= *other
);
2735 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2736 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2737 return (*self
> *other
);
2739 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2740 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2741 return (*self
>= *other
);
2743 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2744 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2745 return (*self
== *other
);
2747 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2748 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2749 return (*self
!= *other
);
2751 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2753 const wxChar
* _date
= date
;
2754 rv
= self
->ParseRfc822Date(_date
);
2755 if (rv
== NULL
) return -1;
2758 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2760 const wxChar
* _date
= date
;
2761 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2762 if (rv
== NULL
) return -1;
2765 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2767 const wxChar
* _datetime
= datetime
;
2768 rv
= self
->ParseDateTime(_datetime
);
2769 if (rv
== NULL
) return -1;
2770 return rv
- _datetime
;
2772 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2774 const wxChar
* _date
= date
;
2775 rv
= self
->ParseDate(_date
);
2776 if (rv
== NULL
) return -1;
2779 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2781 const wxChar
* _time
= time
;
2782 rv
= self
->ParseTime(_time
);
2783 if (rv
== NULL
) return -1;
2786 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2787 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2788 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2789 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2790 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2791 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2792 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2793 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2794 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2795 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2796 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2797 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2798 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2799 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2800 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2801 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2803 #include <wx/dataobj.h>
2805 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2806 size_t count
= self
->GetFormatCount(dir
);
2807 wxDataFormat
* formats
= new wxDataFormat
[count
];
2808 self
->GetAllFormats(formats
, dir
);
2810 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2811 PyObject
* list
= PyList_New(count
);
2812 for (size_t i
=0; i
<count
; i
++) {
2813 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2814 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2815 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2817 wxPyEndBlockThreads(blocked
);
2821 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2822 PyObject
* rval
= NULL
;
2823 size_t size
= self
->GetDataSize(format
);
2824 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2826 char* buf
= new char[size
];
2827 if (self
->GetDataHere(format
, buf
))
2828 rval
= PyString_FromStringAndSize(buf
, size
);
2835 wxPyEndBlockThreads(blocked
);
2838 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 if (PyString_Check(data
)) {
2842 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2845 // raise a TypeError if not a string
2846 PyErr_SetString(PyExc_TypeError
, "String expected.");
2849 wxPyEndBlockThreads(blocked
);
2852 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2853 PyObject
* rval
= NULL
;
2854 size_t size
= self
->GetDataSize();
2855 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2857 char* buf
= new char[size
];
2858 if (self
->GetDataHere(buf
))
2859 rval
= PyString_FromStringAndSize(buf
, size
);
2866 wxPyEndBlockThreads(blocked
);
2869 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2871 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 if (PyString_Check(data
)) {
2873 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2876 // raise a TypeError if not a string
2877 PyErr_SetString(PyExc_TypeError
, "String expected.");
2880 wxPyEndBlockThreads(blocked
);
2883 // Create a new class for wxPython to use
2884 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2886 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2887 : wxDataObjectSimple(format
) {}
2889 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2890 bool GetDataHere(void *buf
) const;
2891 bool SetData(size_t len
, const void *buf
) const;
2895 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2897 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2898 // We need to get the data for this object and write it to buf. I think
2899 // the best way to do this for wxPython is to have the Python method
2900 // return either a string or None and then act appropriately with the
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2907 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2909 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2911 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2915 wxPyEndBlockThreads(blocked
);
2919 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2920 // For this one we simply need to make a string from buf and len
2921 // and send it to the Python method.
2923 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2924 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2925 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2926 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2929 wxPyEndBlockThreads(blocked
);
2933 // Create a new class for wxPython to use
2934 class wxPyTextDataObject
: public wxTextDataObject
{
2936 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2937 : wxTextDataObject(text
) {}
2939 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2940 DEC_PYCALLBACK_STRING__const(GetText
);
2941 DEC_PYCALLBACK__STRING(SetText
);
2945 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2946 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2947 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2950 // Create a new class for wxPython to use
2951 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2953 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2954 : wxBitmapDataObject(bitmap
) {}
2956 wxBitmap
GetBitmap() const;
2957 void SetBitmap(const wxBitmap
& bitmap
);
2961 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2962 wxBitmap
* rval
= &wxNullBitmap
;
2963 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2964 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2967 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2969 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2974 wxPyEndBlockThreads(blocked
);
2978 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2979 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2980 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2981 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2982 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2985 wxPyEndBlockThreads(blocked
);
2988 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2989 return new wxCustomDataObject(wxDataFormat(formatName
));
2991 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2993 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2994 if (PyString_Check(data
)) {
2995 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2998 // raise a TypeError if not a string
2999 PyErr_SetString(PyExc_TypeError
, "String expected.");
3002 wxPyEndBlockThreads(blocked
);
3005 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3007 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3008 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3009 wxPyEndBlockThreads(blocked
);
3013 class wxMetafileDataObject
: public wxDataObjectSimple
3016 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3020 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3023 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3024 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3025 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3026 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3027 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3030 class wxPyTextDropTarget
: public wxTextDropTarget
{
3032 wxPyTextDropTarget() {}
3034 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3036 DEC_PYCALLBACK__(OnLeave
);
3037 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3038 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3039 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3040 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3045 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3046 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3047 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3048 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3049 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3050 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3054 class wxPyFileDropTarget
: public wxFileDropTarget
{
3056 wxPyFileDropTarget() {}
3058 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3060 DEC_PYCALLBACK__(OnLeave
);
3061 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3062 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3063 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3064 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3069 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3070 const wxArrayString
& filenames
) {
3072 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3073 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3074 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3075 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3078 wxPyEndBlockThreads(blocked
);
3084 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3085 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3086 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3087 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3088 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3093 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3095 #include <wx/display.h>
3097 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3098 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3100 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3102 #include <wx/dynarray.h>
3103 #include <wx/vidmode.h>
3105 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3106 #include "wx/arrimpl.cpp"
3107 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3108 const wxVideoMode wxDefaultVideoMode
;
3113 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3116 static size_t GetCount()
3117 { wxPyRaiseNotImplemented(); return 0; }
3119 static int GetFromPoint(const wxPoint
& pt
)
3120 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3121 static int GetFromWindow(wxWindow
*window
)
3122 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3124 virtual bool IsOk() const { return false; }
3125 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3126 virtual wxString
GetName() const { return wxEmptyString
; }
3127 bool IsPrimary() const { return false; }
3129 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3130 { wxArrayVideoModes a
; return a
; }
3132 virtual wxVideoMode
GetCurrentMode() const
3133 { return wxDefaultVideoMode
; }
3135 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3142 static int wxDisplay_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3143 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3144 PyObject
* pyList
= NULL
;
3145 wxArrayVideoModes arr
= self
->GetModes(mode
);
3146 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3147 pyList
= PyList_New(0);
3148 for (int i
=0; i
< arr
.GetCount(); i
++) {
3149 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3150 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3151 PyList_Append(pyList
, pyObj
);
3154 wxPyEndBlockThreads(blocked
);
3158 #include <wx/stdpaths.h>
3160 static wxStandardPaths
*wxStandardPaths_Get(){
3161 return (wxStandardPaths
*) &wxStandardPaths::Get();
3166 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
= NULL
;
3168 wxSystemColour arg1
;
3170 PyObject
* obj0
= 0 ;
3172 (char *) "index", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3177 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3178 if (SWIG_arg_fail(1)) SWIG_fail
;
3181 if (!wxPyCheckForApp()) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 result
= wxSystemSettings::GetColour(arg1
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3189 wxColour
* resultptr
;
3190 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3199 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
= NULL
;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "index", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3210 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3211 if (SWIG_arg_fail(1)) SWIG_fail
;
3214 if (!wxPyCheckForApp()) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= wxSystemSettings::GetFont(arg1
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3223 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3232 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
= NULL
;
3234 wxSystemMetric arg1
;
3235 wxWindow
*arg2
= (wxWindow
*) NULL
;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "index",(char *) "win", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3246 if (SWIG_arg_fail(1)) SWIG_fail
;
3249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(2)) SWIG_fail
;
3253 if (!wxPyCheckForApp()) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_From_int(static_cast<int >(result
));
3269 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
= NULL
;
3271 wxSystemFeature arg1
;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "index", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3280 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3281 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 if (!wxPyCheckForApp()) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3300 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
= NULL
;
3302 wxSystemScreenType result
;
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3309 if (!wxPyCheckForApp()) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= SWIG_From_int((result
));
3323 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
= NULL
;
3325 wxSystemScreenType arg1
;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "screen", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3333 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3334 if (SWIG_arg_fail(1)) SWIG_fail
;
3337 if (!wxPyCheckForApp()) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxSystemSettings::SetScreenType(arg1
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3354 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3356 return Py_BuildValue((char *)"");
3358 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3359 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3364 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3365 PyObject
*pyobj
= NULL
;
3369 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3371 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3378 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
= NULL
;
3380 wxSystemOptions
*result
;
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (wxSystemOptions
*)new wxSystemOptions();
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3400 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
= NULL
;
3402 wxString
*arg1
= 0 ;
3403 wxString
*arg2
= 0 ;
3404 bool temp1
= false ;
3405 bool temp2
= false ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "name",(char *) "value", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 arg1
= wxString_in_helper(obj0
);
3415 if (arg1
== NULL
) SWIG_fail
;
3419 arg2
= wxString_in_helper(obj1
);
3420 if (arg2
== NULL
) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
= NULL
;
3455 wxString
*arg1
= 0 ;
3457 bool temp1
= false ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "name",(char *) "value", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 arg1
= wxString_in_helper(obj0
);
3467 if (arg1
== NULL
) SWIG_fail
;
3471 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3472 if (SWIG_arg_fail(2)) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
= NULL
;
3498 wxString
*arg1
= 0 ;
3500 bool temp1
= false ;
3501 PyObject
* obj0
= 0 ;
3503 (char *) "name", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3508 arg1
= wxString_in_helper(obj0
);
3509 if (arg1
== NULL
) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3540 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
= NULL
;
3542 wxString
*arg1
= 0 ;
3544 bool temp1
= false ;
3545 PyObject
* obj0
= 0 ;
3547 (char *) "name", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3552 arg1
= wxString_in_helper(obj0
);
3553 if (arg1
== NULL
) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_From_int(static_cast<int >(result
));
3580 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
= NULL
;
3582 wxString
*arg1
= 0 ;
3584 bool temp1
= false ;
3585 PyObject
* obj0
= 0 ;
3587 (char *) "name", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3592 arg1
= wxString_in_helper(obj0
);
3593 if (arg1
== NULL
) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3620 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
= NULL
;
3622 wxString
*arg1
= 0 ;
3624 bool temp1
= false ;
3625 PyObject
* obj0
= 0 ;
3627 (char *) "name", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3632 arg1
= wxString_in_helper(obj0
);
3633 if (arg1
== NULL
) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3663 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3665 return Py_BuildValue((char *)"");
3667 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3668 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3673 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3674 PyObject
*pyobj
= NULL
;
3678 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3680 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3687 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3688 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3693 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3694 PyObject
*pyobj
= NULL
;
3698 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3700 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3707 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3708 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3713 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3714 PyObject
*pyobj
= NULL
;
3718 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3720 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3727 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
= NULL
;
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (long)wxNewId();
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_From_long(static_cast<long >(result
));
3751 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= NULL
;
3754 PyObject
* obj0
= 0 ;
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3761 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3762 if (SWIG_arg_fail(1)) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= NULL
;
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (long)wxGetCurrentId();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= SWIG_From_long(static_cast<long >(result
));
3802 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
= NULL
;
3806 PyObject
* obj0
= 0 ;
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3813 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3814 if (SWIG_arg_fail(1)) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (bool)wxIsStockID(arg1
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3832 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
= NULL
;
3835 wxString
*arg2
= 0 ;
3837 bool temp2
= false ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3841 (char *) "id",(char *) "label", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3846 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3850 arg2
= wxString_in_helper(obj1
);
3851 if (arg2
== NULL
) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3878 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= NULL
;
3881 bool arg2
= (bool) true ;
3882 wxString arg3
= (wxString
) wxPyEmptyString
;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3886 PyObject
* obj2
= 0 ;
3888 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3893 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3894 if (SWIG_arg_fail(1)) SWIG_fail
;
3898 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3899 if (SWIG_arg_fail(2)) SWIG_fail
;
3904 wxString
* sptr
= wxString_in_helper(obj2
);
3905 if (sptr
== NULL
) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3930 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
= NULL
;
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3938 if (!wxPyCheckForApp()) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 Py_INCREF(Py_None
); resultobj
= Py_None
;
3952 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
= NULL
;
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3960 if (!wxPyCheckForApp()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= NULL
;
3976 bool arg1
= (bool) true ;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "resetTimer", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3986 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3987 if (SWIG_arg_fail(1)) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (long)wxGetElapsedTime(arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_From_long(static_cast<long >(result
));
4006 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
= NULL
;
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (bool)wxIsBusy();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4030 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
= NULL
;
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4058 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
= NULL
;
4060 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4061 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4063 bool temp1
= false ;
4064 PyObject
* obj0
= 0 ;
4066 (char *) "command", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4072 arg1
= wxString_in_helper(obj0
);
4073 if (arg1
== NULL
) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)wxShell((wxString
const &)*arg1
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4101 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= NULL
;
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 Py_INCREF(Py_None
); resultobj
= Py_None
;
4122 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
= NULL
;
4124 int *arg1
= (int *) 0 ;
4125 int *arg2
= (int *) 0 ;
4135 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4136 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (int)wxGetOsVersion(arg1
,arg2
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_From_int(static_cast<int >(result
));
4148 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4149 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4150 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4151 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4158 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
= NULL
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= wxGetOsDescription();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4186 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= NULL
;
4188 wxMemorySize result
;
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= wxGetFreeMemory();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4202 wxMemorySize
* resultptr
;
4203 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4212 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= NULL
;
4214 wxShutdownFlags arg1
;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "wFlags", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4223 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4224 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 if (!wxPyCheckForApp()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (bool)wxShutdown(arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4243 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= NULL
;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "secs", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4253 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4254 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 Py_INCREF(Py_None
); resultobj
= Py_None
;
4270 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= NULL
;
4272 unsigned long arg1
;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "milliseconds", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4280 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4281 if (SWIG_arg_fail(1)) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4297 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
= NULL
;
4299 unsigned long arg1
;
4300 PyObject
* obj0
= 0 ;
4302 (char *) "microseconds", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4307 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4308 if (SWIG_arg_fail(1)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 Py_INCREF(Py_None
); resultobj
= Py_None
;
4324 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= NULL
;
4327 PyObject
* obj0
= 0 ;
4329 (char *) "enable", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4334 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4335 if (SWIG_arg_fail(1)) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxEnableTopLevelWindows(arg1
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
= NULL
;
4353 wxString
*arg1
= 0 ;
4355 bool temp1
= false ;
4356 PyObject
* obj0
= 0 ;
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4363 arg1
= wxString_in_helper(obj0
);
4364 if (arg1
== NULL
) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4395 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
= NULL
;
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= wxGetEmailAddress();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4423 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
= NULL
;
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= wxGetHostName();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4451 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
= NULL
;
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= wxGetFullHostName();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4479 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= NULL
;
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= wxGetUserId();
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4507 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
= NULL
;
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= wxGetUserName();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4535 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
= NULL
;
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= wxGetHomeDir();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4563 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
= NULL
;
4565 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4566 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4568 bool temp1
= false ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "user", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4577 arg1
= wxString_in_helper(obj0
);
4578 if (arg1
== NULL
) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= wxGetUserHome((wxString
const &)*arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4610 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
= NULL
;
4612 unsigned long result
;
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (unsigned long)wxGetProcessId();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4634 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= NULL
;
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 Py_INCREF(Py_None
); resultobj
= Py_None
;
4655 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
= NULL
;
4657 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4658 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4659 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4660 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4663 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4664 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4665 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4666 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4667 int arg6
= (int) 0 ;
4668 wxWindow
*arg7
= (wxWindow
*) NULL
;
4669 int arg8
= (int) -1 ;
4670 int arg9
= (int) -1 ;
4672 bool temp1
= false ;
4673 bool temp2
= false ;
4674 bool temp3
= false ;
4675 bool temp4
= false ;
4676 bool temp5
= false ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 PyObject
* obj3
= 0 ;
4681 PyObject
* obj4
= 0 ;
4682 PyObject
* obj5
= 0 ;
4683 PyObject
* obj6
= 0 ;
4684 PyObject
* obj7
= 0 ;
4685 PyObject
* obj8
= 0 ;
4687 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4693 arg1
= wxString_in_helper(obj0
);
4694 if (arg1
== NULL
) SWIG_fail
;
4700 arg2
= wxString_in_helper(obj1
);
4701 if (arg2
== NULL
) SWIG_fail
;
4707 arg3
= wxString_in_helper(obj2
);
4708 if (arg3
== NULL
) SWIG_fail
;
4714 arg4
= wxString_in_helper(obj3
);
4715 if (arg4
== NULL
) SWIG_fail
;
4721 arg5
= wxString_in_helper(obj4
);
4722 if (arg5
== NULL
) SWIG_fail
;
4728 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4729 if (SWIG_arg_fail(6)) SWIG_fail
;
4733 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4734 if (SWIG_arg_fail(7)) SWIG_fail
;
4738 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4739 if (SWIG_arg_fail(8)) SWIG_fail
;
4744 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4745 if (SWIG_arg_fail(9)) SWIG_fail
;
4749 if (!wxPyCheckForApp()) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4809 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
= NULL
;
4811 wxString
*arg1
= 0 ;
4812 wxString
*arg2
= 0 ;
4813 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4814 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4815 wxWindow
*arg4
= (wxWindow
*) NULL
;
4817 bool temp1
= false ;
4818 bool temp2
= false ;
4819 bool temp3
= false ;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4822 PyObject
* obj2
= 0 ;
4823 PyObject
* obj3
= 0 ;
4825 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4830 arg1
= wxString_in_helper(obj0
);
4831 if (arg1
== NULL
) SWIG_fail
;
4835 arg2
= wxString_in_helper(obj1
);
4836 if (arg2
== NULL
) SWIG_fail
;
4841 arg3
= wxString_in_helper(obj2
);
4842 if (arg3
== NULL
) SWIG_fail
;
4847 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4848 if (SWIG_arg_fail(4)) SWIG_fail
;
4851 if (!wxPyCheckForApp()) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4895 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
= NULL
;
4897 wxString
*arg1
= 0 ;
4898 wxString
*arg2
= 0 ;
4899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4901 wxWindow
*arg4
= (wxWindow
*) NULL
;
4903 bool temp1
= false ;
4904 bool temp2
= false ;
4905 bool temp3
= false ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4908 PyObject
* obj2
= 0 ;
4909 PyObject
* obj3
= 0 ;
4911 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4916 arg1
= wxString_in_helper(obj0
);
4917 if (arg1
== NULL
) SWIG_fail
;
4921 arg2
= wxString_in_helper(obj1
);
4922 if (arg2
== NULL
) SWIG_fail
;
4927 arg3
= wxString_in_helper(obj2
);
4928 if (arg3
== NULL
) SWIG_fail
;
4933 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(4)) SWIG_fail
;
4937 if (!wxPyCheckForApp()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4981 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
= NULL
;
4983 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4984 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4985 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4986 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4987 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4990 wxWindow
*arg5
= (wxWindow
*) NULL
;
4992 bool temp1
= false ;
4993 bool temp2
= false ;
4995 PyObject
* obj0
= 0 ;
4996 PyObject
* obj1
= 0 ;
4997 PyObject
* obj2
= 0 ;
4998 PyObject
* obj3
= 0 ;
4999 PyObject
* obj4
= 0 ;
5001 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5007 arg1
= wxString_in_helper(obj0
);
5008 if (arg1
== NULL
) SWIG_fail
;
5014 arg2
= wxString_in_helper(obj1
);
5015 if (arg2
== NULL
) SWIG_fail
;
5021 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5022 if (SWIG_arg_fail(3)) SWIG_fail
;
5028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5032 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5033 if (SWIG_arg_fail(5)) SWIG_fail
;
5036 if (!wxPyCheckForApp()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5072 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
= NULL
;
5074 wxString
*arg1
= 0 ;
5075 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5076 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5079 wxWindow
*arg4
= (wxWindow
*) NULL
;
5080 int arg5
= (int) -1 ;
5081 int arg6
= (int) -1 ;
5082 bool arg7
= (bool) true ;
5084 bool temp1
= false ;
5085 bool temp2
= false ;
5086 bool temp3
= false ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 PyObject
* obj2
= 0 ;
5090 PyObject
* obj3
= 0 ;
5091 PyObject
* obj4
= 0 ;
5092 PyObject
* obj5
= 0 ;
5093 PyObject
* obj6
= 0 ;
5095 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5100 arg1
= wxString_in_helper(obj0
);
5101 if (arg1
== NULL
) SWIG_fail
;
5106 arg2
= wxString_in_helper(obj1
);
5107 if (arg2
== NULL
) SWIG_fail
;
5113 arg3
= wxString_in_helper(obj2
);
5114 if (arg3
== NULL
) SWIG_fail
;
5119 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5120 if (SWIG_arg_fail(4)) SWIG_fail
;
5124 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5125 if (SWIG_arg_fail(5)) SWIG_fail
;
5130 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5131 if (SWIG_arg_fail(6)) SWIG_fail
;
5136 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5137 if (SWIG_arg_fail(7)) SWIG_fail
;
5141 if (!wxPyCheckForApp()) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5185 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= NULL
;
5187 wxString
*arg1
= 0 ;
5188 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5189 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5190 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5191 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5192 wxWindow
*arg4
= (wxWindow
*) NULL
;
5194 bool temp1
= false ;
5195 bool temp2
= false ;
5196 bool temp3
= false ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5199 PyObject
* obj2
= 0 ;
5200 PyObject
* obj3
= 0 ;
5202 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5207 arg1
= wxString_in_helper(obj0
);
5208 if (arg1
== NULL
) SWIG_fail
;
5213 arg2
= wxString_in_helper(obj1
);
5214 if (arg2
== NULL
) SWIG_fail
;
5220 arg3
= wxString_in_helper(obj2
);
5221 if (arg3
== NULL
) SWIG_fail
;
5226 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5227 if (SWIG_arg_fail(4)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5274 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
= NULL
;
5276 wxString
*arg1
= 0 ;
5277 wxString
*arg2
= 0 ;
5279 wxString
*arg4
= (wxString
*) 0 ;
5280 wxWindow
*arg5
= (wxWindow
*) NULL
;
5281 int arg6
= (int) -1 ;
5282 int arg7
= (int) -1 ;
5283 bool arg8
= (bool) true ;
5284 int arg9
= (int) 150 ;
5285 int arg10
= (int) 200 ;
5287 bool temp1
= false ;
5288 bool temp2
= false ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5291 PyObject
* obj2
= 0 ;
5292 PyObject
* obj3
= 0 ;
5293 PyObject
* obj4
= 0 ;
5294 PyObject
* obj5
= 0 ;
5295 PyObject
* obj6
= 0 ;
5296 PyObject
* obj7
= 0 ;
5297 PyObject
* obj8
= 0 ;
5299 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5304 arg1
= wxString_in_helper(obj0
);
5305 if (arg1
== NULL
) SWIG_fail
;
5309 arg2
= wxString_in_helper(obj1
);
5310 if (arg2
== NULL
) SWIG_fail
;
5314 arg3
= PyList_Size(obj2
);
5315 arg4
= wxString_LIST_helper(obj2
);
5316 if (arg4
== NULL
) SWIG_fail
;
5319 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5320 if (SWIG_arg_fail(5)) SWIG_fail
;
5324 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5325 if (SWIG_arg_fail(6)) SWIG_fail
;
5330 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5331 if (SWIG_arg_fail(7)) SWIG_fail
;
5336 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5337 if (SWIG_arg_fail(8)) SWIG_fail
;
5342 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5343 if (SWIG_arg_fail(9)) SWIG_fail
;
5348 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5349 if (SWIG_arg_fail(10)) SWIG_fail
;
5353 if (!wxPyCheckForApp()) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5376 if (arg4
) delete [] arg4
;
5389 if (arg4
) delete [] arg4
;
5395 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
= NULL
;
5397 wxString
*arg1
= 0 ;
5398 wxString
*arg2
= 0 ;
5400 wxString
*arg4
= (wxString
*) 0 ;
5401 wxWindow
*arg5
= (wxWindow
*) NULL
;
5402 int arg6
= (int) -1 ;
5403 int arg7
= (int) -1 ;
5404 bool arg8
= (bool) true ;
5405 int arg9
= (int) 150 ;
5406 int arg10
= (int) 200 ;
5408 bool temp1
= false ;
5409 bool temp2
= false ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5412 PyObject
* obj2
= 0 ;
5413 PyObject
* obj3
= 0 ;
5414 PyObject
* obj4
= 0 ;
5415 PyObject
* obj5
= 0 ;
5416 PyObject
* obj6
= 0 ;
5417 PyObject
* obj7
= 0 ;
5418 PyObject
* obj8
= 0 ;
5420 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5425 arg1
= wxString_in_helper(obj0
);
5426 if (arg1
== NULL
) SWIG_fail
;
5430 arg2
= wxString_in_helper(obj1
);
5431 if (arg2
== NULL
) SWIG_fail
;
5435 arg3
= PyList_Size(obj2
);
5436 arg4
= wxString_LIST_helper(obj2
);
5437 if (arg4
== NULL
) SWIG_fail
;
5440 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5441 if (SWIG_arg_fail(5)) SWIG_fail
;
5445 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5446 if (SWIG_arg_fail(6)) SWIG_fail
;
5451 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5452 if (SWIG_arg_fail(7)) SWIG_fail
;
5457 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5458 if (SWIG_arg_fail(8)) SWIG_fail
;
5463 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5464 if (SWIG_arg_fail(9)) SWIG_fail
;
5469 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5470 if (SWIG_arg_fail(10)) SWIG_fail
;
5474 if (!wxPyCheckForApp()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_From_int(static_cast<int >(result
));
5493 if (arg4
) delete [] arg4
;
5506 if (arg4
) delete [] arg4
;
5512 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= NULL
;
5514 wxString
*arg1
= 0 ;
5515 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5516 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5517 int arg3
= (int) wxOK
|wxCENTRE
;
5518 wxWindow
*arg4
= (wxWindow
*) NULL
;
5519 int arg5
= (int) -1 ;
5520 int arg6
= (int) -1 ;
5522 bool temp1
= false ;
5523 bool temp2
= false ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5526 PyObject
* obj2
= 0 ;
5527 PyObject
* obj3
= 0 ;
5528 PyObject
* obj4
= 0 ;
5529 PyObject
* obj5
= 0 ;
5531 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5536 arg1
= wxString_in_helper(obj0
);
5537 if (arg1
== NULL
) SWIG_fail
;
5542 arg2
= wxString_in_helper(obj1
);
5543 if (arg2
== NULL
) SWIG_fail
;
5549 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5550 if (SWIG_arg_fail(3)) SWIG_fail
;
5554 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(4)) SWIG_fail
;
5559 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5560 if (SWIG_arg_fail(5)) SWIG_fail
;
5565 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5566 if (SWIG_arg_fail(6)) SWIG_fail
;
5570 if (!wxPyCheckForApp()) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_From_int(static_cast<int >(result
));
5602 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= NULL
;
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5611 if (!wxPyCheckForApp()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (bool)wxColourDisplay();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5627 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= NULL
;
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5636 if (!wxPyCheckForApp()) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (int)wxDisplayDepth();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_From_int(static_cast<int >(result
));
5652 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= NULL
;
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (int)wxGetDisplayDepth();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_From_int(static_cast<int >(result
));
5677 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
= NULL
;
5679 int *arg1
= (int *) 0 ;
5680 int *arg2
= (int *) 0 ;
5689 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5690 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5693 if (!wxPyCheckForApp()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxDisplaySize(arg1
,arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5701 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5702 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5703 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5704 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5711 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= NULL
;
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5720 if (!wxPyCheckForApp()) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= wxGetDisplaySize();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5729 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5738 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
= NULL
;
5740 int *arg1
= (int *) 0 ;
5741 int *arg2
= (int *) 0 ;
5750 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5751 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5754 if (!wxPyCheckForApp()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 wxDisplaySizeMM(arg1
,arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5763 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5764 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5765 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5772 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= NULL
;
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5781 if (!wxPyCheckForApp()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= wxGetDisplaySizeMM();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5790 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5799 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= NULL
;
5801 int *arg1
= (int *) 0 ;
5802 int *arg2
= (int *) 0 ;
5803 int *arg3
= (int *) 0 ;
5804 int *arg4
= (int *) 0 ;
5817 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5818 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5819 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5820 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5823 if (!wxPyCheckForApp()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5832 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5833 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5834 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5835 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5836 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5837 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5838 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5845 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
= NULL
;
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5854 if (!wxPyCheckForApp()) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= wxGetClientDisplayRect();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5863 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5872 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= NULL
;
5874 wxCursor
*arg1
= 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "cursor", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail
;
5885 SWIG_null_ref("wxCursor");
5887 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 if (!wxPyCheckForApp()) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 Py_INCREF(Py_None
); resultobj
= Py_None
;
5904 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
= NULL
;
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5913 if (!wxPyCheckForApp()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (void *)wxGetXDisplay();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5927 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= NULL
;
5929 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "cursor", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail
;
5941 if (!wxPyCheckForApp()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxBeginBusyCursor(arg1
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
= NULL
;
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5964 if (!wxPyCheckForApp()) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= wxGetMousePosition();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 wxPoint
* resultptr
;
5973 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5982 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= NULL
;
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5991 if (!wxPyCheckForApp()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (wxWindow
*)FindWindowAtPointer();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= wxPyMake_wxObject(result
, 0);
6007 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
= NULL
;
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6016 if (!wxPyCheckForApp()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxWindow
*)wxGetActiveWindow();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= wxPyMake_wxObject(result
, 0);
6032 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
= NULL
;
6037 PyObject
* obj0
= 0 ;
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6045 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6048 if (!wxPyCheckForApp()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= wxPyMake_wxObject(result
, 0);
6064 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= NULL
;
6069 PyObject
* obj0
= 0 ;
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6077 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6080 if (!wxPyCheckForApp()) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= wxPyMake_wxObject(result
, 0);
6096 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
= NULL
;
6098 wxWindow
*arg1
= (wxWindow
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "win", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail
;
6109 if (!wxPyCheckForApp()) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= wxPyMake_wxObject(result
, 0);
6125 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
= NULL
;
6127 wxString
*arg1
= 0 ;
6129 bool temp1
= false ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "url", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6137 arg1
= wxString_in_helper(obj0
);
6138 if (arg1
== NULL
) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6165 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= NULL
;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "key", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6176 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6177 if (SWIG_arg_fail(1)) SWIG_fail
;
6180 if (!wxPyCheckForApp()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (bool)wxGetKeyState(arg1
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6196 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
= NULL
;
6198 wxMouseState
*result
;
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxMouseState
*)new wxMouseState();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6218 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= NULL
;
6220 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6223 (char *) "self", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6228 if (SWIG_arg_fail(1)) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 Py_INCREF(Py_None
); resultobj
= Py_None
;
6243 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
= NULL
;
6245 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6254 if (SWIG_arg_fail(1)) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (int)(arg1
)->GetX();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_From_int(static_cast<int >(result
));
6271 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= NULL
;
6273 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (int)(arg1
)->GetY();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_From_int(static_cast<int >(result
));
6299 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= NULL
;
6301 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6310 if (SWIG_arg_fail(1)) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)(arg1
)->LeftDown();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6327 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
= NULL
;
6329 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->MiddleDown();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6355 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
= NULL
;
6357 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 result
= (bool)(arg1
)->RightDown();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6383 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
= NULL
;
6385 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (bool)(arg1
)->ControlDown();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6411 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
= NULL
;
6413 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6417 (char *) "self", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6422 if (SWIG_arg_fail(1)) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (bool)(arg1
)->ShiftDown();
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6439 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
= NULL
;
6441 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6450 if (SWIG_arg_fail(1)) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)(arg1
)->AltDown();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6467 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= NULL
;
6469 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6473 (char *) "self", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6478 if (SWIG_arg_fail(1)) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= (bool)(arg1
)->MetaDown();
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6495 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
= NULL
;
6497 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (bool)(arg1
)->CmdDown();
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6523 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
= NULL
;
6525 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6530 (char *) "self",(char *) "x", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6537 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6538 if (SWIG_arg_fail(2)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
= NULL
;
6556 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6561 (char *) "self",(char *) "y", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(1)) SWIG_fail
;
6568 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6569 if (SWIG_arg_fail(2)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
= NULL
;
6587 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "self",(char *) "down", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6597 if (SWIG_arg_fail(1)) SWIG_fail
;
6599 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6600 if (SWIG_arg_fail(2)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->SetLeftDown(arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
= NULL
;
6618 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6623 (char *) "self",(char *) "down", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail
;
6630 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6631 if (SWIG_arg_fail(2)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetMiddleDown(arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
= NULL
;
6649 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6654 (char *) "self",(char *) "down", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6662 if (SWIG_arg_fail(2)) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetRightDown(arg2
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
= NULL
;
6680 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "down", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6693 if (SWIG_arg_fail(2)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->SetControlDown(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6709 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= NULL
;
6711 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "down", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6721 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetShiftDown(arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
= NULL
;
6742 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6747 (char *) "self",(char *) "down", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6752 if (SWIG_arg_fail(1)) SWIG_fail
;
6754 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6755 if (SWIG_arg_fail(2)) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->SetAltDown(arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= NULL
;
6773 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "down", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(1)) SWIG_fail
;
6785 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6786 if (SWIG_arg_fail(2)) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 (arg1
)->SetMetaDown(arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 Py_INCREF(Py_None
); resultobj
= Py_None
;
6802 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6805 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6807 return Py_BuildValue((char *)"");
6809 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= NULL
;
6811 wxMouseState result
;
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= wxGetMouseState();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 wxMouseState
* resultptr
;
6826 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6835 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= NULL
;
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6843 if (!wxPyCheckForApp()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxWakeUpMainThread();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
= NULL
;
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6865 if (!wxPyCheckForApp()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
= NULL
;
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6887 if (!wxPyCheckForApp()) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 Py_INCREF(Py_None
); resultobj
= Py_None
;
6901 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
= NULL
;
6903 wxMutexGuiLocker
*result
;
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6910 if (!wxPyCheckForApp()) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6924 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= NULL
;
6926 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6929 (char *) "self", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6934 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6949 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6952 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6954 return Py_BuildValue((char *)"");
6956 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
= NULL
;
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (bool)wxThread_IsMain();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6980 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= NULL
;
6982 wxString
*arg1
= 0 ;
6984 bool temp1
= false ;
6985 PyObject
* obj0
= 0 ;
6987 (char *) "tip", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6992 arg1
= wxString_in_helper(obj0
);
6993 if (arg1
== NULL
) SWIG_fail
;
6997 if (!wxPyCheckForApp()) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7019 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= NULL
;
7021 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7029 if (SWIG_arg_fail(1)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 Py_INCREF(Py_None
); resultobj
= Py_None
;
7044 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= NULL
;
7046 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7047 wxString
*arg2
= 0 ;
7048 bool temp2
= false ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7052 (char *) "self",(char *) "tip", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7057 if (SWIG_arg_fail(1)) SWIG_fail
;
7059 arg2
= wxString_in_helper(obj1
);
7060 if (arg2
== NULL
) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 (arg1
)->SetTip((wxString
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= NULL
;
7087 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "self", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (arg1
)->GetTip();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7117 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
= NULL
;
7119 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7128 if (SWIG_arg_fail(1)) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (wxWindow
*)(arg1
)->GetWindow();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= wxPyMake_wxObject(result
, 0);
7145 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= NULL
;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "flag", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7155 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 wxToolTip::Enable(arg1
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
= NULL
;
7175 PyObject
* obj0
= 0 ;
7177 (char *) "milliseconds", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7182 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxToolTip::SetDelay(arg1
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7202 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7204 return Py_BuildValue((char *)"");
7206 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= NULL
;
7208 wxWindow
*arg1
= (wxWindow
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7215 (char *) "window",(char *) "size", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7226 if (!wxPyCheckForApp()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7240 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= NULL
;
7242 wxCaret
*arg1
= (wxCaret
*) 0 ;
7243 PyObject
* obj0
= 0 ;
7245 (char *) "self", NULL
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7250 if (SWIG_arg_fail(1)) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= NULL
;
7267 wxCaret
*arg1
= (wxCaret
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 wxCaret_Destroy(arg1
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7290 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
= NULL
;
7292 wxCaret
*arg1
= (wxCaret
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7301 if (SWIG_arg_fail(1)) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (bool)(arg1
)->IsOk();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7318 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
= NULL
;
7320 wxCaret
*arg1
= (wxCaret
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(1)) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (bool)(arg1
)->IsVisible();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7346 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
= NULL
;
7348 wxCaret
*arg1
= (wxCaret
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (arg1
)->GetPosition();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7366 wxPoint
* resultptr
;
7367 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7376 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
= NULL
;
7378 wxCaret
*arg1
= (wxCaret
*) 0 ;
7379 int *arg2
= (int *) 0 ;
7380 int *arg3
= (int *) 0 ;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "self", NULL
7390 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 (arg1
)->GetPosition(arg2
,arg3
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7404 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7405 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7406 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7413 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
= NULL
;
7415 wxCaret
*arg1
= (wxCaret
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "self", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (arg1
)->GetSize();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7434 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7443 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= NULL
;
7445 wxCaret
*arg1
= (wxCaret
*) 0 ;
7446 int *arg2
= (int *) 0 ;
7447 int *arg3
= (int *) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7458 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->GetSize(arg2
,arg3
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7471 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7472 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7473 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7480 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
= NULL
;
7482 wxCaret
*arg1
= (wxCaret
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (wxWindow
*)(arg1
)->GetWindow();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= wxPyMake_wxObject(result
, 0);
7508 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
= NULL
;
7510 wxCaret
*arg1
= (wxCaret
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 PyObject
* obj2
= 0 ;
7517 (char *) "self",(char *) "x",(char *) "y", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7525 if (SWIG_arg_fail(2)) SWIG_fail
;
7528 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7529 if (SWIG_arg_fail(3)) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 (arg1
)->Move(arg2
,arg3
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 Py_INCREF(Py_None
); resultobj
= Py_None
;
7545 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
= NULL
;
7547 wxCaret
*arg1
= (wxCaret
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "self",(char *) "pt", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7558 if (SWIG_arg_fail(1)) SWIG_fail
;
7561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->Move((wxPoint
const &)*arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= NULL
;
7579 wxCaret
*arg1
= (wxCaret
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 PyObject
* obj2
= 0 ;
7586 (char *) "self",(char *) "width",(char *) "height", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail
;
7593 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7594 if (SWIG_arg_fail(2)) SWIG_fail
;
7597 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7598 if (SWIG_arg_fail(3)) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetSize(arg2
,arg3
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
= NULL
;
7616 wxCaret
*arg1
= (wxCaret
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7622 (char *) "self",(char *) "size", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7627 if (SWIG_arg_fail(1)) SWIG_fail
;
7630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 (arg1
)->SetSize((wxSize
const &)*arg2
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 Py_INCREF(Py_None
); resultobj
= Py_None
;
7646 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
= NULL
;
7648 wxCaret
*arg1
= (wxCaret
*) 0 ;
7649 int arg2
= (int) true ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7653 (char *) "self",(char *) "show", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail
;
7661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7662 if (SWIG_arg_fail(2)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
= NULL
;
7681 wxCaret
*arg1
= (wxCaret
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
= NULL
;
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (int)wxCaret::GetBlinkTime();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_From_int(static_cast<int >(result
));
7728 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
= NULL
;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "milliseconds", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7738 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 wxCaret::SetBlinkTime(arg1
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7758 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7760 return Py_BuildValue((char *)"");
7762 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= NULL
;
7764 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7765 wxBusyCursor
*result
;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "cursor", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7774 if (SWIG_arg_fail(1)) SWIG_fail
;
7777 if (!wxPyCheckForApp()) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7791 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= NULL
;
7793 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 Py_INCREF(Py_None
); resultobj
= Py_None
;
7816 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7819 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7821 return Py_BuildValue((char *)"");
7823 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
= NULL
;
7825 wxWindow
*arg1
= (wxWindow
*) NULL
;
7826 wxWindowDisabler
*result
;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "winToSkip", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7852 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= NULL
;
7854 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "self", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7862 if (SWIG_arg_fail(1)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7880 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7882 return Py_BuildValue((char *)"");
7884 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
= NULL
;
7886 wxString
*arg1
= 0 ;
7888 bool temp1
= false ;
7889 PyObject
* obj0
= 0 ;
7891 (char *) "message", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7896 arg1
= wxString_in_helper(obj0
);
7897 if (arg1
== NULL
) SWIG_fail
;
7901 if (!wxPyCheckForApp()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7923 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
= NULL
;
7925 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7951 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7953 return Py_BuildValue((char *)"");
7955 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
= NULL
;
7957 wxStopWatch
*result
;
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (wxStopWatch
*)new wxStopWatch();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7977 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
= NULL
;
7979 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7980 long arg2
= (long) 0 ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 (char *) "self",(char *) "t0", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail
;
7992 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7993 if (SWIG_arg_fail(2)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->Start(arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= NULL
;
8012 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8020 if (SWIG_arg_fail(1)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= NULL
;
8037 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= NULL
;
8062 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_From_long(static_cast<long >(result
));
8088 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8091 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8093 return Py_BuildValue((char *)"");
8095 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
= NULL
;
8097 int arg1
= (int) 9 ;
8098 int arg2
= (int) wxID_FILE1
;
8099 wxFileHistory
*result
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "maxFiles",(char *) "idBase", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8109 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8110 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8116 if (SWIG_arg_fail(2)) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8133 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
= NULL
;
8135 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8143 if (SWIG_arg_fail(1)) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
= NULL
;
8160 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8161 wxString
*arg2
= 0 ;
8162 bool temp2
= false ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "file", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8171 if (SWIG_arg_fail(1)) SWIG_fail
;
8173 arg2
= wxString_in_helper(obj1
);
8174 if (arg2
== NULL
) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
= NULL
;
8201 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8206 (char *) "self",(char *) "i", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8211 if (SWIG_arg_fail(1)) SWIG_fail
;
8213 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8214 if (SWIG_arg_fail(2)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 (arg1
)->RemoveFileFromHistory(arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8230 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= NULL
;
8232 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8236 (char *) "self", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_From_int(static_cast<int >(result
));
8258 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= NULL
;
8260 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8261 wxMenu
*arg2
= (wxMenu
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "menu", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8270 if (SWIG_arg_fail(1)) SWIG_fail
;
8271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8272 if (SWIG_arg_fail(2)) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 (arg1
)->UseMenu(arg2
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
= NULL
;
8289 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8290 wxMenu
*arg2
= (wxMenu
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "menu", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8301 if (SWIG_arg_fail(2)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->RemoveMenu(arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
= NULL
;
8318 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8319 wxConfigBase
*arg2
= 0 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8323 (char *) "self",(char *) "config", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(1)) SWIG_fail
;
8330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(2)) SWIG_fail
;
8333 SWIG_null_ref("wxConfigBase");
8335 if (SWIG_arg_fail(2)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->Load(*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= NULL
;
8353 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8354 wxConfigBase
*arg2
= 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "config", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8363 if (SWIG_arg_fail(1)) SWIG_fail
;
8365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8366 if (SWIG_arg_fail(2)) SWIG_fail
;
8368 SWIG_null_ref("wxConfigBase");
8370 if (SWIG_arg_fail(2)) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->Save(*arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8386 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
= NULL
;
8388 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8396 if (SWIG_arg_fail(1)) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 (arg1
)->AddFilesToMenu();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
= NULL
;
8413 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8414 wxMenu
*arg2
= (wxMenu
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8418 (char *) "self",(char *) "menu", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(2)) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 (arg1
)->AddFilesToMenu(arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8440 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
= NULL
;
8442 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8445 PyObject
* obj0
= 0 ;
8446 PyObject
* obj1
= 0 ;
8448 (char *) "self",(char *) "i", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8453 if (SWIG_arg_fail(1)) SWIG_fail
;
8455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8456 if (SWIG_arg_fail(2)) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8478 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
= NULL
;
8480 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8484 (char *) "self", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_From_int(static_cast<int >(result
));
8506 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8509 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8511 return Py_BuildValue((char *)"");
8513 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= NULL
;
8515 wxString
*arg1
= 0 ;
8516 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8517 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8518 wxSingleInstanceChecker
*result
;
8519 bool temp1
= false ;
8520 bool temp2
= false ;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8524 (char *) "name",(char *) "path", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8529 arg1
= wxString_in_helper(obj0
);
8530 if (arg1
== NULL
) SWIG_fail
;
8535 arg2
= wxString_in_helper(obj1
);
8536 if (arg2
== NULL
) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8570 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
= NULL
;
8572 wxSingleInstanceChecker
*result
;
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8592 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= NULL
;
8594 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "self", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8602 if (SWIG_arg_fail(1)) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
= NULL
;
8619 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8620 wxString
*arg2
= 0 ;
8621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8624 bool temp2
= false ;
8625 bool temp3
= false ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8630 (char *) "self",(char *) "name",(char *) "path", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail
;
8637 arg2
= wxString_in_helper(obj1
);
8638 if (arg2
== NULL
) SWIG_fail
;
8643 arg3
= wxString_in_helper(obj2
);
8644 if (arg3
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8680 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= NULL
;
8682 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8686 (char *) "self", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8691 if (SWIG_arg_fail(1)) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8708 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8713 return Py_BuildValue((char *)"");
8715 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= NULL
;
8717 wxWindow
*arg1
= (wxWindow
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "window",(char *) "dc", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(2)) SWIG_fail
;
8733 SWIG_null_ref("wxDC");
8735 if (SWIG_arg_fail(2)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8753 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= NULL
;
8755 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8758 (char *) "self", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= NULL
;
8780 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (arg1
)->GetTip();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8810 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= NULL
;
8812 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (size_t)(arg1
)->GetCurrentTip();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8838 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= NULL
;
8840 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8841 wxString
*arg2
= 0 ;
8843 bool temp2
= false ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "tip", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8852 if (SWIG_arg_fail(1)) SWIG_fail
;
8854 arg2
= wxString_in_helper(obj1
);
8855 if (arg2
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8886 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8889 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8891 return Py_BuildValue((char *)"");
8893 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
= NULL
;
8896 wxPyTipProvider
*result
;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "currentTip", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8904 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8905 if (SWIG_arg_fail(1)) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8921 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= NULL
;
8923 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8924 PyObject
*arg2
= (PyObject
*) 0 ;
8925 PyObject
*arg3
= (PyObject
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8928 PyObject
* obj2
= 0 ;
8930 (char *) "self",(char *) "self",(char *) "_class", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8935 if (SWIG_arg_fail(1)) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8955 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8957 return Py_BuildValue((char *)"");
8959 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= NULL
;
8961 wxWindow
*arg1
= (wxWindow
*) 0 ;
8962 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8963 bool arg3
= (bool) true ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8969 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8976 if (SWIG_arg_fail(2)) SWIG_fail
;
8979 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8980 if (SWIG_arg_fail(3)) SWIG_fail
;
8984 if (!wxPyCheckForApp()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= NULL
;
9002 wxString
*arg1
= 0 ;
9004 wxTipProvider
*result
;
9005 bool temp1
= false ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "filename",(char *) "currentTip", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 arg1
= wxString_in_helper(obj0
);
9015 if (arg1
== NULL
) SWIG_fail
;
9019 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9020 if (SWIG_arg_fail(2)) SWIG_fail
;
9023 if (!wxPyCheckForApp()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9045 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= NULL
;
9047 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9048 int arg2
= (int) -1 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9053 (char *) "owner",(char *) "id", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail
;
9063 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9064 if (SWIG_arg_fail(2)) SWIG_fail
;
9068 if (!wxPyCheckForApp()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9082 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= NULL
;
9084 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 Py_INCREF(Py_None
); resultobj
= Py_None
;
9107 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
= NULL
;
9109 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9110 PyObject
*arg2
= (PyObject
*) 0 ;
9111 PyObject
*arg3
= (PyObject
*) 0 ;
9112 int arg4
= (int) 1 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9116 PyObject
* obj3
= 0 ;
9118 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail
;
9128 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9129 if (SWIG_arg_fail(4)) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= NULL
;
9148 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9149 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9150 int arg3
= (int) -1 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9155 (char *) "self",(char *) "owner",(char *) "id", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail
;
9161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9162 if (SWIG_arg_fail(2)) SWIG_fail
;
9165 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9166 if (SWIG_arg_fail(3)) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->SetOwner(arg2
,arg3
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
= NULL
;
9185 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9186 wxEvtHandler
*result
;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9194 if (SWIG_arg_fail(1)) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= wxPyMake_wxObject(result
, 0);
9211 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= NULL
;
9213 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9214 int arg2
= (int) -1 ;
9215 bool arg3
= (bool) false ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 PyObject
* obj2
= 0 ;
9221 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail
;
9229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9230 if (SWIG_arg_fail(2)) SWIG_fail
;
9235 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9236 if (SWIG_arg_fail(3)) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9255 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
= NULL
;
9257 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9265 if (SWIG_arg_fail(1)) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
*_wrap_Timer_Notify(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
= NULL
;
9282 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "self", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
9289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= NULL
;
9307 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= NULL
;
9335 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "self", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_From_int(static_cast<int >(result
));
9361 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= NULL
;
9363 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= NULL
;
9391 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_From_int(static_cast<int >(result
));
9417 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9420 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9422 return Py_BuildValue((char *)"");
9424 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= NULL
;
9426 int arg1
= (int) 0 ;
9427 int arg2
= (int) 0 ;
9428 wxTimerEvent
*result
;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9432 (char *) "timerid",(char *) "interval", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9439 if (SWIG_arg_fail(1)) SWIG_fail
;
9444 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9445 if (SWIG_arg_fail(2)) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9462 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
= NULL
;
9464 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_int(static_cast<int >(result
));
9490 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9493 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9495 return Py_BuildValue((char *)"");
9497 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9498 PyObject
*resultobj
= NULL
;
9500 wxTimerRunner
*result
;
9501 PyObject
* obj0
= 0 ;
9503 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9506 if (SWIG_arg_fail(1)) SWIG_fail
;
9508 SWIG_null_ref("wxTimer");
9510 if (SWIG_arg_fail(1)) SWIG_fail
;
9513 if (!wxPyCheckForApp()) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9527 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9528 PyObject
*resultobj
= NULL
;
9531 bool arg3
= (bool) false ;
9532 wxTimerRunner
*result
;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 PyObject
* obj2
= 0 ;
9537 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9540 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 SWIG_null_ref("wxTimer");
9544 if (SWIG_arg_fail(1)) SWIG_fail
;
9547 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9548 if (SWIG_arg_fail(2)) SWIG_fail
;
9552 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9553 if (SWIG_arg_fail(3)) SWIG_fail
;
9557 if (!wxPyCheckForApp()) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9571 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9576 argc
= PyObject_Length(args
);
9577 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9578 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9584 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9592 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9595 if ((argc
>= 2) && (argc
<= 3)) {
9599 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9607 _v
= SWIG_Check_int(argv
[1]);
9610 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9612 _v
= SWIG_Check_bool(argv
[2]);
9614 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9620 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9625 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= NULL
;
9627 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9635 if (SWIG_arg_fail(1)) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
= NULL
;
9652 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9654 bool arg3
= (bool) false ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 PyObject
* obj2
= 0 ;
9659 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9666 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9667 if (SWIG_arg_fail(2)) SWIG_fail
;
9671 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9672 if (SWIG_arg_fail(3)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->Start(arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9692 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9694 return Py_BuildValue((char *)"");
9696 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= NULL
;
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (wxLog
*)new wxLog();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9718 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= NULL
;
9720 wxLog
*arg1
= (wxLog
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
= NULL
;
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)wxLog::IsEnabled();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9767 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= NULL
;
9769 bool arg1
= (bool) true ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "doIt", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9779 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9780 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (bool)wxLog::EnableLogging(arg1
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9799 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
= NULL
;
9802 wxChar
*arg2
= (wxChar
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9808 (char *) "level",(char *) "szString",(char *) "t", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9813 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9814 if (SWIG_arg_fail(1)) SWIG_fail
;
9816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9817 if (SWIG_arg_fail(2)) SWIG_fail
;
9819 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9820 if (SWIG_arg_fail(3)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 Py_INCREF(Py_None
); resultobj
= Py_None
;
9836 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= NULL
;
9838 wxLog
*arg1
= (wxLog
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9846 if (SWIG_arg_fail(1)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= NULL
;
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxLog::FlushActive();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9882 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= NULL
;
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (wxLog
*)wxLog::GetActiveTarget();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9904 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= NULL
;
9906 wxLog
*arg1
= (wxLog
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "pLogger", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9915 if (SWIG_arg_fail(1)) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9930 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= NULL
;
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
= NULL
;
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 Py_INCREF(Py_None
); resultobj
= Py_None
;
9972 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
= NULL
;
9974 bool arg1
= (bool) true ;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "bVerbose", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9983 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9984 if (SWIG_arg_fail(1)) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 wxLog::SetVerbose(arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= NULL
;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "logLevel", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
10011 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxLog::SetLogLevel(arg1
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= NULL
;
10030 char *kwnames
[] = {
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 wxLog::DontCreateOnDemand();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= NULL
;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "ulMask", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10059 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10060 if (SWIG_arg_fail(1)) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxLog::SetTraceMask(arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 Py_INCREF(Py_None
); resultobj
= Py_None
;
10076 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= NULL
;
10078 wxString
*arg1
= 0 ;
10079 bool temp1
= false ;
10080 PyObject
* obj0
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "str", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10087 arg1
= wxString_in_helper(obj0
);
10088 if (arg1
== NULL
) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 wxLog::AddTraceMask((wxString
const &)*arg1
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10113 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
= NULL
;
10115 wxString
*arg1
= 0 ;
10116 bool temp1
= false ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "str", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10124 arg1
= wxString_in_helper(obj0
);
10125 if (arg1
== NULL
) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10150 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= NULL
;
10152 char *kwnames
[] = {
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 wxLog::ClearTraceMasks();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 Py_INCREF(Py_None
); resultobj
= Py_None
;
10171 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
= NULL
;
10173 wxArrayString
*result
;
10174 char *kwnames
[] = {
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10183 result
= (wxArrayString
*) &_result_ref
;
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= wxArrayString2PyList_helper(*result
);
10198 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= NULL
;
10200 wxChar
*arg1
= (wxChar
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "ts", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10208 if (SWIG_arg_fail(1)) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 wxLog::SetTimestamp((wxChar
const *)arg1
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10223 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
= NULL
;
10226 char *kwnames
[] = {
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (bool)wxLog::GetVerbose();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10247 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= NULL
;
10249 wxTraceMask result
;
10250 char *kwnames
[] = {
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (wxTraceMask
)wxLog::GetTraceMask();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10271 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= NULL
;
10273 wxChar
*arg1
= (wxChar
*) 0 ;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "mask", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10282 if (SWIG_arg_fail(1)) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10299 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
= NULL
;
10302 char *kwnames
[] = {
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (wxLogLevel
)wxLog::GetLogLevel();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10323 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= NULL
;
10326 char *kwnames
[] = {
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (wxChar
*)wxLog::GetTimestamp();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10345 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= NULL
;
10348 char *kwnames
[] = {
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= wxLog_TimeStamp();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10373 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= NULL
;
10375 wxLog
*arg1
= (wxLog
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10383 if (SWIG_arg_fail(1)) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 wxLog_Destroy(arg1
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 Py_INCREF(Py_None
); resultobj
= Py_None
;
10398 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10401 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10403 return Py_BuildValue((char *)"");
10405 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
= NULL
;
10407 wxLogStderr
*result
;
10408 char *kwnames
[] = {
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (wxLogStderr
*)new wxLogStderr();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10427 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10430 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10432 return Py_BuildValue((char *)"");
10434 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
= NULL
;
10436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10437 wxLogTextCtrl
*result
;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "pTextCtrl", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10445 if (SWIG_arg_fail(1)) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10460 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10463 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10465 return Py_BuildValue((char *)"");
10467 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
= NULL
;
10470 char *kwnames
[] = {
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxLogGui
*)new wxLogGui();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10489 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10492 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10494 return Py_BuildValue((char *)"");
10496 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
= NULL
;
10498 wxFrame
*arg1
= (wxFrame
*) 0 ;
10499 wxString
*arg2
= 0 ;
10500 bool arg3
= (bool) true ;
10501 bool arg4
= (bool) true ;
10502 wxLogWindow
*result
;
10503 bool temp2
= false ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 PyObject
* obj3
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail
;
10516 arg2
= wxString_in_helper(obj1
);
10517 if (arg2
== NULL
) SWIG_fail
;
10522 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10523 if (SWIG_arg_fail(3)) SWIG_fail
;
10528 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10529 if (SWIG_arg_fail(4)) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10554 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= NULL
;
10556 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10557 bool arg2
= (bool) true ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "bShow", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10566 if (SWIG_arg_fail(1)) SWIG_fail
;
10569 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10570 if (SWIG_arg_fail(2)) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 (arg1
)->Show(arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10587 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= NULL
;
10589 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10615 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= NULL
;
10617 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10641 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= NULL
;
10643 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10652 if (SWIG_arg_fail(1)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10669 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= NULL
;
10671 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "bDoPass", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10681 if (SWIG_arg_fail(1)) SWIG_fail
;
10683 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10684 if (SWIG_arg_fail(2)) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->PassMessages(arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10703 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10705 return Py_BuildValue((char *)"");
10707 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= NULL
;
10709 wxLog
*arg1
= (wxLog
*) 0 ;
10710 wxLogChain
*result
;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "logger", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10718 if (SWIG_arg_fail(1)) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxLogChain
*)new wxLogChain(arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10733 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= NULL
;
10735 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10736 wxLog
*arg2
= (wxLog
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "logger", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10745 if (SWIG_arg_fail(1)) SWIG_fail
;
10746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(2)) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetLog(arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
= NULL
;
10764 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "bDoPass", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10776 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10777 if (SWIG_arg_fail(2)) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->PassMessages(arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
= NULL
;
10795 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10804 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (bool)(arg1
)->IsPassingMessages();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10821 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
= NULL
;
10823 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (wxLog
*)(arg1
)->GetOldLog();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10847 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10852 return Py_BuildValue((char *)"");
10854 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= NULL
;
10856 wxLogBuffer
*result
;
10857 char *kwnames
[] = {
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (wxLogBuffer
*)new wxLogBuffer();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10876 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
= NULL
;
10878 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10892 result
= (wxString
*) &_result_ref
;
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10902 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10911 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= NULL
;
10913 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10921 if (SWIG_arg_fail(1)) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10939 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10941 return Py_BuildValue((char *)"");
10943 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= NULL
;
10945 unsigned long result
;
10946 char *kwnames
[] = {
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (unsigned long)wxSysErrorCode();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10967 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
= NULL
;
10969 unsigned long arg1
= (unsigned long) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "nErrCode", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10979 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10980 if (SWIG_arg_fail(1)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= wxSysErrorMsg(arg1
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11003 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= NULL
;
11005 wxString
*arg1
= 0 ;
11006 bool temp1
= false ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "msg", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
11014 arg1
= wxString_in_helper(obj0
);
11015 if (arg1
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 wxPyLogFatalError((wxString
const &)*arg1
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
= NULL
;
11042 wxString
*arg1
= 0 ;
11043 bool temp1
= false ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "msg", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11051 arg1
= wxString_in_helper(obj0
);
11052 if (arg1
== NULL
) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 wxPyLogError((wxString
const &)*arg1
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
= NULL
;
11079 wxString
*arg1
= 0 ;
11080 bool temp1
= false ;
11081 PyObject
* obj0
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "msg", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11088 arg1
= wxString_in_helper(obj0
);
11089 if (arg1
== NULL
) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 wxPyLogWarning((wxString
const &)*arg1
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= NULL
;
11116 wxString
*arg1
= 0 ;
11117 bool temp1
= false ;
11118 PyObject
* obj0
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "msg", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11125 arg1
= wxString_in_helper(obj0
);
11126 if (arg1
== NULL
) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 wxPyLogMessage((wxString
const &)*arg1
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11151 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= NULL
;
11153 wxString
*arg1
= 0 ;
11154 bool temp1
= false ;
11155 PyObject
* obj0
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "msg", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11162 arg1
= wxString_in_helper(obj0
);
11163 if (arg1
== NULL
) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxPyLogInfo((wxString
const &)*arg1
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= NULL
;
11190 wxString
*arg1
= 0 ;
11191 bool temp1
= false ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "msg", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11199 arg1
= wxString_in_helper(obj0
);
11200 if (arg1
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxPyLogDebug((wxString
const &)*arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
= NULL
;
11227 wxString
*arg1
= 0 ;
11228 bool temp1
= false ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "msg", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11236 arg1
= wxString_in_helper(obj0
);
11237 if (arg1
== NULL
) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxPyLogVerbose((wxString
const &)*arg1
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11262 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
= NULL
;
11264 wxString
*arg1
= 0 ;
11265 bool temp1
= false ;
11266 PyObject
* obj0
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "msg", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11273 arg1
= wxString_in_helper(obj0
);
11274 if (arg1
== NULL
) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxPyLogStatus((wxString
const &)*arg1
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= NULL
;
11301 wxFrame
*arg1
= (wxFrame
*) 0 ;
11302 wxString
*arg2
= 0 ;
11303 bool temp2
= false ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "pFrame",(char *) "msg", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11314 arg2
= wxString_in_helper(obj1
);
11315 if (arg2
== NULL
) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= NULL
;
11342 wxString
*arg1
= 0 ;
11343 bool temp1
= false ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "msg", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11351 arg1
= wxString_in_helper(obj0
);
11352 if (arg1
== NULL
) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 wxPyLogSysError((wxString
const &)*arg1
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= NULL
;
11379 unsigned long arg1
;
11380 wxString
*arg2
= 0 ;
11381 bool temp2
= false ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "level",(char *) "msg", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11390 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11391 if (SWIG_arg_fail(1)) SWIG_fail
;
11394 arg2
= wxString_in_helper(obj1
);
11395 if (arg2
== NULL
) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11420 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11421 PyObject
*resultobj
= NULL
;
11422 unsigned long arg1
;
11423 wxString
*arg2
= 0 ;
11424 bool temp2
= false ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11428 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11430 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11431 if (SWIG_arg_fail(1)) SWIG_fail
;
11434 arg2
= wxString_in_helper(obj1
);
11435 if (arg2
== NULL
) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11461 PyObject
*resultobj
= NULL
;
11462 wxString
*arg1
= 0 ;
11463 wxString
*arg2
= 0 ;
11464 bool temp1
= false ;
11465 bool temp2
= false ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11469 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11471 arg1
= wxString_in_helper(obj0
);
11472 if (arg1
== NULL
) SWIG_fail
;
11476 arg2
= wxString_in_helper(obj1
);
11477 if (arg2
== NULL
) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11515 argc
= PyObject_Length(args
);
11516 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11517 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11522 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11526 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11529 return _wrap_LogTrace__SWIG_1(self
,args
);
11535 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11538 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11541 return _wrap_LogTrace__SWIG_0(self
,args
);
11546 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11551 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= NULL
;
11553 wxString
*arg1
= 0 ;
11554 wxString
*arg2
= 0 ;
11555 bool temp1
= false ;
11556 bool temp2
= false ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "title",(char *) "text", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11565 arg1
= wxString_in_helper(obj0
);
11566 if (arg1
== NULL
) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11604 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
= NULL
;
11607 char *kwnames
[] = {
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (wxLogNull
*)new wxLogNull();
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11626 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
= NULL
;
11628 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11654 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11656 return Py_BuildValue((char *)"");
11658 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
= NULL
;
11661 char *kwnames
[] = {
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (wxPyLog
*)new wxPyLog();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11680 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
= NULL
;
11682 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11683 PyObject
*arg2
= (PyObject
*) 0 ;
11684 PyObject
*arg3
= (PyObject
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "self",(char *) "_class", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 Py_INCREF(Py_None
); resultobj
= Py_None
;
11711 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11714 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11716 return Py_BuildValue((char *)"");
11718 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
= NULL
;
11721 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11722 int arg3
= (int) wxKILL_NOCHILDREN
;
11723 wxKillError result
;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 PyObject
* obj2
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11733 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11739 if (SWIG_arg_fail(2)) SWIG_fail
;
11744 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11745 if (SWIG_arg_fail(3)) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_From_int((result
));
11762 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
= NULL
;
11766 PyObject
* obj0
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "pid", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11773 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (bool)wxPyProcess::Exists(arg1
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11792 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
= NULL
;
11794 wxString
*arg1
= 0 ;
11795 int arg2
= (int) wxEXEC_ASYNC
;
11796 wxPyProcess
*result
;
11797 bool temp1
= false ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "cmd",(char *) "flags", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11806 arg1
= wxString_in_helper(obj0
);
11807 if (arg1
== NULL
) SWIG_fail
;
11812 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11813 if (SWIG_arg_fail(2)) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11838 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
= NULL
;
11840 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11841 int arg2
= (int) -1 ;
11842 wxPyProcess
*result
;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "parent",(char *) "id", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11856 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11857 if (SWIG_arg_fail(2)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11874 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= NULL
;
11876 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11877 PyObject
*arg2
= (PyObject
*) 0 ;
11878 PyObject
*arg3
= (PyObject
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 PyObject
* obj2
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "self",(char *) "_class", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_Process_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= NULL
;
11907 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "pid",(char *) "status", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11919 if (SWIG_arg_fail(1)) SWIG_fail
;
11921 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11922 if (SWIG_arg_fail(2)) SWIG_fail
;
11925 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11926 if (SWIG_arg_fail(3)) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 (arg1
)->OnTerminate(arg2
,arg3
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 Py_INCREF(Py_None
); resultobj
= Py_None
;
11942 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
= NULL
;
11944 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 (arg1
)->Redirect();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 Py_INCREF(Py_None
); resultobj
= Py_None
;
11967 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= NULL
;
11969 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)(arg1
)->IsRedirected();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= NULL
;
11997 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
12004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 Py_INCREF(Py_None
); resultobj
= Py_None
;
12020 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
= NULL
;
12022 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12023 wxInputStream
*result
;
12024 PyObject
* obj0
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 wxPyInputStream
* _ptr
= NULL
;
12043 _ptr
= new wxPyInputStream(result
);
12045 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12053 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= NULL
;
12055 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12056 wxInputStream
*result
;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 wxPyInputStream
* _ptr
= NULL
;
12076 _ptr
= new wxPyInputStream(result
);
12078 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12086 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
= NULL
;
12088 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12089 wxOutputStream
*result
;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12112 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
= NULL
;
12114 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->CloseOutput();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
= NULL
;
12139 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12165 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
= NULL
;
12167 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12193 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= NULL
;
12195 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12224 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12226 return Py_BuildValue((char *)"");
12228 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= NULL
;
12230 int arg1
= (int) 0 ;
12231 int arg2
= (int) 0 ;
12232 int arg3
= (int) 0 ;
12233 wxProcessEvent
*result
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12244 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12245 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12251 if (SWIG_arg_fail(2)) SWIG_fail
;
12256 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12257 if (SWIG_arg_fail(3)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12274 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
= NULL
;
12276 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (int)(arg1
)->GetPid();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_From_int(static_cast<int >(result
));
12302 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= NULL
;
12304 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (int)(arg1
)->GetExitCode();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int(static_cast<int >(result
));
12330 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= NULL
;
12332 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "m_pid", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12342 if (SWIG_arg_fail(1)) SWIG_fail
;
12344 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12345 if (SWIG_arg_fail(2)) SWIG_fail
;
12347 if (arg1
) (arg1
)->m_pid
= arg2
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= NULL
;
12358 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 result
= (int) ((arg1
)->m_pid
);
12371 resultobj
= SWIG_From_int(static_cast<int >(result
));
12379 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
= NULL
;
12381 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self",(char *) "m_exitcode", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12391 if (SWIG_arg_fail(1)) SWIG_fail
;
12393 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12394 if (SWIG_arg_fail(2)) SWIG_fail
;
12396 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12398 Py_INCREF(Py_None
); resultobj
= Py_None
;
12405 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
= NULL
;
12407 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12416 if (SWIG_arg_fail(1)) SWIG_fail
;
12417 result
= (int) ((arg1
)->m_exitcode
);
12420 resultobj
= SWIG_From_int(static_cast<int >(result
));
12428 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12431 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12433 return Py_BuildValue((char *)"");
12435 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= NULL
;
12437 wxString
*arg1
= 0 ;
12438 int arg2
= (int) wxEXEC_ASYNC
;
12439 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12441 bool temp1
= false ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 PyObject
* obj2
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "command",(char *) "flags",(char *) "process", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12451 arg1
= wxString_in_helper(obj0
);
12452 if (arg1
== NULL
) SWIG_fail
;
12457 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12458 if (SWIG_arg_fail(2)) SWIG_fail
;
12462 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(3)) SWIG_fail
;
12466 if (!wxPyCheckForApp()) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_From_long(static_cast<long >(result
));
12490 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
= NULL
;
12493 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12494 wxKillError
*arg3
= (wxKillError
*) 0 ;
12495 int arg4
= (int) wxKILL_NOCHILDREN
;
12497 wxKillError temp3
;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 PyObject
* obj2
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12510 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12511 if (SWIG_arg_fail(1)) SWIG_fail
;
12515 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12516 if (SWIG_arg_fail(2)) SWIG_fail
;
12521 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12522 if (SWIG_arg_fail(4)) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_From_int(static_cast<int >(result
));
12537 o
= PyInt_FromLong((long) (*arg3
));
12539 resultobj
= t_output_helper(resultobj
, o
);
12550 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= NULL
;
12552 int arg1
= (int) wxJOYSTICK1
;
12553 wxJoystick
*result
;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "joystick", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12562 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12563 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 if (!wxPyCheckForApp()) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxJoystick
*)new wxJoystick(arg1
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12581 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= NULL
;
12583 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= NULL
;
12608 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (arg1
)->GetPosition();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12626 wxPoint
* resultptr
;
12627 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12636 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= NULL
;
12638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (int)(arg1
)->GetZPosition();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_From_int(static_cast<int >(result
));
12664 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
= NULL
;
12666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= (int)(arg1
)->GetButtonState();
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_From_int(static_cast<int >(result
));
12692 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= NULL
;
12694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12703 if (SWIG_arg_fail(1)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (int)(arg1
)->GetPOVPosition();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_From_int(static_cast<int >(result
));
12720 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= NULL
;
12722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12731 if (SWIG_arg_fail(1)) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (int)(arg1
)->GetPOVCTSPosition();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_From_int(static_cast<int >(result
));
12748 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
= NULL
;
12750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12759 if (SWIG_arg_fail(1)) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (int)(arg1
)->GetRudderPosition();
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_From_int(static_cast<int >(result
));
12776 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= NULL
;
12778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12787 if (SWIG_arg_fail(1)) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (int)(arg1
)->GetUPosition();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_From_int(static_cast<int >(result
));
12804 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= NULL
;
12806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (int)(arg1
)->GetVPosition();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_From_int(static_cast<int >(result
));
12832 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= NULL
;
12834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (int)(arg1
)->GetMovementThreshold();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_From_int(static_cast<int >(result
));
12860 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= NULL
;
12862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "threshold", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12875 if (SWIG_arg_fail(2)) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetMovementThreshold(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= NULL
;
12893 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->IsOk();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= NULL
;
12921 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (int)(arg1
)->GetNumberJoysticks();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_From_int(static_cast<int >(result
));
12947 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
= NULL
;
12949 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12958 if (SWIG_arg_fail(1)) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (int)(arg1
)->GetManufacturerId();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int(static_cast<int >(result
));
12975 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
= NULL
;
12977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12986 if (SWIG_arg_fail(1)) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (int)(arg1
)->GetProductId();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_From_int(static_cast<int >(result
));
13003 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= NULL
;
13005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
13013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (arg1
)->GetProductName();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13035 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= NULL
;
13037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13046 if (SWIG_arg_fail(1)) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (int)(arg1
)->GetXMin();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_From_int(static_cast<int >(result
));
13063 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= NULL
;
13065 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13074 if (SWIG_arg_fail(1)) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (int)(arg1
)->GetYMin();
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= SWIG_From_int(static_cast<int >(result
));
13091 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
= NULL
;
13093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13102 if (SWIG_arg_fail(1)) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (int)(arg1
)->GetZMin();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_From_int(static_cast<int >(result
));
13119 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
= NULL
;
13121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (int)(arg1
)->GetXMax();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_From_int(static_cast<int >(result
));
13147 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
= NULL
;
13149 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13158 if (SWIG_arg_fail(1)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)(arg1
)->GetYMax();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_From_int(static_cast<int >(result
));
13175 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
= NULL
;
13177 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13186 if (SWIG_arg_fail(1)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (int)(arg1
)->GetZMax();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_From_int(static_cast<int >(result
));
13203 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
= NULL
;
13205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (int)(arg1
)->GetNumberButtons();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_From_int(static_cast<int >(result
));
13231 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= NULL
;
13233 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13242 if (SWIG_arg_fail(1)) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (int)(arg1
)->GetNumberAxes();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_From_int(static_cast<int >(result
));
13259 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= NULL
;
13261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (int)(arg1
)->GetMaxButtons();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int(static_cast<int >(result
));
13287 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
= NULL
;
13289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13298 if (SWIG_arg_fail(1)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (int)(arg1
)->GetMaxAxes();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_From_int(static_cast<int >(result
));
13315 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
= NULL
;
13317 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (int)(arg1
)->GetPollingMin();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_From_int(static_cast<int >(result
));
13343 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
= NULL
;
13345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (int)(arg1
)->GetPollingMax();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_From_int(static_cast<int >(result
));
13371 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= NULL
;
13373 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13382 if (SWIG_arg_fail(1)) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (int)(arg1
)->GetRudderMin();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_From_int(static_cast<int >(result
));
13399 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
= NULL
;
13401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13410 if (SWIG_arg_fail(1)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (int)(arg1
)->GetRudderMax();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= SWIG_From_int(static_cast<int >(result
));
13427 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
= NULL
;
13429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13438 if (SWIG_arg_fail(1)) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= (int)(arg1
)->GetUMin();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_From_int(static_cast<int >(result
));
13455 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
= NULL
;
13457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13466 if (SWIG_arg_fail(1)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (int)(arg1
)->GetUMax();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_From_int(static_cast<int >(result
));
13483 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
= NULL
;
13485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13494 if (SWIG_arg_fail(1)) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (int)(arg1
)->GetVMin();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_From_int(static_cast<int >(result
));
13511 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= NULL
;
13513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13522 if (SWIG_arg_fail(1)) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (int)(arg1
)->GetVMax();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_From_int(static_cast<int >(result
));
13539 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= NULL
;
13541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (bool)(arg1
)->HasRudder();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13567 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
= NULL
;
13569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (bool)(arg1
)->HasZ();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= NULL
;
13597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (bool)(arg1
)->HasU();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13623 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
= NULL
;
13625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)(arg1
)->HasV();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= NULL
;
13653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)(arg1
)->HasPOV();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13679 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
= NULL
;
13681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13683 PyObject
* obj0
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13690 if (SWIG_arg_fail(1)) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (bool)(arg1
)->HasPOV4Dir();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= NULL
;
13709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (bool)(arg1
)->HasPOVCTS();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13735 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= NULL
;
13737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13738 wxWindow
*arg2
= (wxWindow
*) 0 ;
13739 int arg3
= (int) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13750 if (SWIG_arg_fail(1)) SWIG_fail
;
13751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13752 if (SWIG_arg_fail(2)) SWIG_fail
;
13755 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13756 if (SWIG_arg_fail(3)) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= NULL
;
13777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13786 if (SWIG_arg_fail(1)) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (bool)(arg1
)->ReleaseCapture();
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13803 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13806 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13808 return Py_BuildValue((char *)"");
13810 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
= NULL
;
13812 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13813 int arg2
= (int) 0 ;
13814 int arg3
= (int) wxJOYSTICK1
;
13815 int arg4
= (int) 0 ;
13816 wxJoystickEvent
*result
;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 PyObject
* obj2
= 0 ;
13820 PyObject
* obj3
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13828 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13829 if (SWIG_arg_fail(1)) SWIG_fail
;
13834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13835 if (SWIG_arg_fail(2)) SWIG_fail
;
13840 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13841 if (SWIG_arg_fail(3)) SWIG_fail
;
13846 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13847 if (SWIG_arg_fail(4)) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13864 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
= NULL
;
13866 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13875 if (SWIG_arg_fail(1)) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 wxPoint
* resultptr
;
13885 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13894 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
= NULL
;
13896 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13905 if (SWIG_arg_fail(1)) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_From_int(static_cast<int >(result
));
13922 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= NULL
;
13924 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13933 if (SWIG_arg_fail(1)) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_From_int(static_cast<int >(result
));
13950 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
= NULL
;
13952 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_From_int(static_cast<int >(result
));
13978 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
= NULL
;
13980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_From_int(static_cast<int >(result
));
14006 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= NULL
;
14008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "stick", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14018 if (SWIG_arg_fail(1)) SWIG_fail
;
14020 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14021 if (SWIG_arg_fail(2)) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetJoystick(arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 Py_INCREF(Py_None
); resultobj
= Py_None
;
14037 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
= NULL
;
14039 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self",(char *) "state", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(1)) SWIG_fail
;
14051 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14052 if (SWIG_arg_fail(2)) SWIG_fail
;
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 (arg1
)->SetButtonState(arg2
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 Py_INCREF(Py_None
); resultobj
= Py_None
;
14068 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
= NULL
;
14070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "change", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail
;
14082 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14083 if (SWIG_arg_fail(2)) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 (arg1
)->SetButtonChange(arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 Py_INCREF(Py_None
); resultobj
= Py_None
;
14099 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= NULL
;
14101 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14102 wxPoint
*arg2
= 0 ;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self",(char *) "pos", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14112 if (SWIG_arg_fail(1)) SWIG_fail
;
14115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= NULL
;
14133 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self",(char *) "zPos", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail
;
14145 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14146 if (SWIG_arg_fail(2)) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 (arg1
)->SetZPosition(arg2
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
= NULL
;
14164 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14173 if (SWIG_arg_fail(1)) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
= NULL
;
14192 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14201 if (SWIG_arg_fail(1)) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= NULL
;
14220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
= NULL
;
14248 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14249 int arg2
= (int) wxJOY_BUTTON_ANY
;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self",(char *) "but", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14259 if (SWIG_arg_fail(1)) SWIG_fail
;
14262 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14263 if (SWIG_arg_fail(2)) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14282 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
= NULL
;
14284 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14285 int arg2
= (int) wxJOY_BUTTON_ANY
;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self",(char *) "but", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail
;
14298 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14299 if (SWIG_arg_fail(2)) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14318 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= NULL
;
14320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14321 int arg2
= (int) wxJOY_BUTTON_ANY
;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "but", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14335 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14354 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14357 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14359 return Py_BuildValue((char *)"");
14361 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
= NULL
;
14363 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14364 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14366 bool temp1
= false ;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "fileName", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14375 arg1
= wxString_in_helper(obj0
);
14376 if (arg1
== NULL
) SWIG_fail
;
14381 if (!wxPyCheckForApp()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14403 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
= NULL
;
14405 PyObject
*arg1
= (PyObject
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "data", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14415 if (!wxPyCheckForApp()) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (wxSound
*)new_wxSound(arg1
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14429 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
= NULL
;
14431 wxSound
*arg1
= (wxSound
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14439 if (SWIG_arg_fail(1)) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= NULL
;
14456 wxSound
*arg1
= (wxSound
*) 0 ;
14457 wxString
*arg2
= 0 ;
14459 bool temp2
= false ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "fileName", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 arg2
= wxString_in_helper(obj1
);
14471 if (arg2
== NULL
) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= NULL
;
14500 wxSound
*arg1
= (wxSound
*) 0 ;
14501 PyObject
*arg2
= (PyObject
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "data", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14511 if (SWIG_arg_fail(1)) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14529 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
= NULL
;
14531 wxSound
*arg1
= (wxSound
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14540 if (SWIG_arg_fail(1)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (bool)(arg1
)->IsOk();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14557 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
= NULL
;
14559 wxSound
*arg1
= (wxSound
*) 0 ;
14560 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "flags", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14570 if (SWIG_arg_fail(1)) SWIG_fail
;
14573 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14574 if (SWIG_arg_fail(2)) SWIG_fail
;
14578 if (!wxPyCheckForApp()) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14594 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= NULL
;
14596 wxString
*arg1
= 0 ;
14597 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14599 bool temp1
= false ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "filename",(char *) "flags", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14608 arg1
= wxString_in_helper(obj0
);
14609 if (arg1
== NULL
) SWIG_fail
;
14614 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14615 if (SWIG_arg_fail(2)) SWIG_fail
;
14619 if (!wxPyCheckForApp()) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14643 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
= NULL
;
14645 char *kwnames
[] = {
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14651 if (!wxPyCheckForApp()) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14668 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14670 return Py_BuildValue((char *)"");
14672 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
= NULL
;
14674 wxString
*arg1
= 0 ;
14675 wxString
*arg2
= 0 ;
14676 wxString
*arg3
= 0 ;
14677 wxString
*arg4
= 0 ;
14678 wxFileTypeInfo
*result
;
14679 bool temp1
= false ;
14680 bool temp2
= false ;
14681 bool temp3
= false ;
14682 bool temp4
= false ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 PyObject
* obj2
= 0 ;
14686 PyObject
* obj3
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14693 arg1
= wxString_in_helper(obj0
);
14694 if (arg1
== NULL
) SWIG_fail
;
14698 arg2
= wxString_in_helper(obj1
);
14699 if (arg2
== NULL
) SWIG_fail
;
14703 arg3
= wxString_in_helper(obj2
);
14704 if (arg3
== NULL
) SWIG_fail
;
14708 arg4
= wxString_in_helper(obj3
);
14709 if (arg4
== NULL
) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14758 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= NULL
;
14760 wxArrayString
*arg1
= 0 ;
14761 wxFileTypeInfo
*result
;
14762 bool temp1
= false ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "sArray", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14770 if (! PySequence_Check(obj0
)) {
14771 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14774 arg1
= new wxArrayString
;
14776 int i
, len
=PySequence_Length(obj0
);
14777 for (i
=0; i
<len
; i
++) {
14778 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14779 wxString
* s
= wxString_in_helper(item
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14795 if (temp1
) delete arg1
;
14800 if (temp1
) delete arg1
;
14806 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
= NULL
;
14808 wxFileTypeInfo
*result
;
14809 char *kwnames
[] = {
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14828 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= NULL
;
14830 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14839 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14856 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
= NULL
;
14858 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14859 wxString
*arg2
= 0 ;
14860 int arg3
= (int) 0 ;
14861 bool temp2
= false ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 PyObject
* obj2
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14873 arg2
= wxString_in_helper(obj1
);
14874 if (arg2
== NULL
) SWIG_fail
;
14879 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14880 if (SWIG_arg_fail(3)) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14905 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= NULL
;
14907 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14908 wxString
*arg2
= 0 ;
14909 bool temp2
= false ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "shortDesc", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14918 if (SWIG_arg_fail(1)) SWIG_fail
;
14920 arg2
= wxString_in_helper(obj1
);
14921 if (arg2
== NULL
) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14946 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
= NULL
;
14948 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14957 if (SWIG_arg_fail(1)) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14962 result
= (wxString
*) &_result_ref
;
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14981 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
= NULL
;
14983 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14992 if (SWIG_arg_fail(1)) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14997 result
= (wxString
*) &_result_ref
;
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15007 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15016 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
= NULL
;
15018 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15027 if (SWIG_arg_fail(1)) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15032 result
= (wxString
*) &_result_ref
;
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15051 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
= NULL
;
15053 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15067 result
= (wxString
*) &_result_ref
;
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15077 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15086 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= NULL
;
15088 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15097 if (SWIG_arg_fail(1)) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15102 result
= (wxString
*) &_result_ref
;
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15121 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
= NULL
;
15123 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15124 wxArrayString
*result
;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15137 result
= (wxArrayString
*) &_result_ref
;
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= wxArrayString2PyList_helper(*result
);
15152 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
= NULL
;
15154 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15163 if (SWIG_arg_fail(1)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= SWIG_From_int(static_cast<int >(result
));
15180 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
= NULL
;
15182 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15196 result
= (wxString
*) &_result_ref
;
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15215 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
= NULL
;
15217 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_From_int(static_cast<int >(result
));
15243 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15246 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15248 return Py_BuildValue((char *)"");
15250 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
= NULL
;
15252 wxFileTypeInfo
*arg1
= 0 ;
15253 wxFileType
*result
;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "ftInfo", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15263 if (arg1
== NULL
) {
15264 SWIG_null_ref("wxFileTypeInfo");
15266 if (SWIG_arg_fail(1)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15282 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= NULL
;
15284 wxFileType
*arg1
= (wxFileType
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
= NULL
;
15309 wxFileType
*arg1
= (wxFileType
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15318 if (SWIG_arg_fail(1)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
;
15333 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= NULL
;
15335 wxFileType
*arg1
= (wxFileType
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
;
15359 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= NULL
;
15361 wxFileType
*arg1
= (wxFileType
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= result
;
15385 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
= NULL
;
15387 wxFileType
*arg1
= (wxFileType
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15411 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= NULL
;
15413 wxFileType
*arg1
= (wxFileType
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15422 if (SWIG_arg_fail(1)) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= result
;
15437 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= NULL
;
15439 wxFileType
*arg1
= (wxFileType
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15448 if (SWIG_arg_fail(1)) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
;
15463 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
= NULL
;
15465 wxFileType
*arg1
= (wxFileType
*) 0 ;
15466 wxString
*arg2
= 0 ;
15467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15470 bool temp2
= false ;
15471 bool temp3
= false ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 PyObject
* obj2
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 arg2
= wxString_in_helper(obj1
);
15484 if (arg2
== NULL
) SWIG_fail
;
15489 arg3
= wxString_in_helper(obj2
);
15490 if (arg3
== NULL
) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= result
;
15524 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
= NULL
;
15526 wxFileType
*arg1
= (wxFileType
*) 0 ;
15527 wxString
*arg2
= 0 ;
15528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15531 bool temp2
= false ;
15532 bool temp3
= false ;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 PyObject
* obj2
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 arg2
= wxString_in_helper(obj1
);
15545 if (arg2
== NULL
) SWIG_fail
;
15550 arg3
= wxString_in_helper(obj2
);
15551 if (arg3
== NULL
) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
;
15585 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
= NULL
;
15587 wxFileType
*arg1
= (wxFileType
*) 0 ;
15588 wxString
*arg2
= 0 ;
15589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15592 bool temp2
= false ;
15593 bool temp3
= false ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 PyObject
* obj2
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail
;
15605 arg2
= wxString_in_helper(obj1
);
15606 if (arg2
== NULL
) SWIG_fail
;
15611 arg3
= wxString_in_helper(obj2
);
15612 if (arg3
== NULL
) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
;
15646 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
= NULL
;
15648 wxFileType
*arg1
= (wxFileType
*) 0 ;
15649 wxString
*arg2
= 0 ;
15650 wxString
*arg3
= 0 ;
15651 bool arg4
= (bool) true ;
15653 bool temp2
= false ;
15654 bool temp3
= false ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 PyObject
* obj2
= 0 ;
15658 PyObject
* obj3
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail
;
15667 arg2
= wxString_in_helper(obj1
);
15668 if (arg2
== NULL
) SWIG_fail
;
15672 arg3
= wxString_in_helper(obj2
);
15673 if (arg3
== NULL
) SWIG_fail
;
15678 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15679 if (SWIG_arg_fail(4)) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15714 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
= NULL
;
15716 wxFileType
*arg1
= (wxFileType
*) 0 ;
15717 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15718 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15719 int arg3
= (int) 0 ;
15721 bool temp2
= false ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self",(char *) "cmd",(char *) "index", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15731 if (SWIG_arg_fail(1)) SWIG_fail
;
15734 arg2
= wxString_in_helper(obj1
);
15735 if (arg2
== NULL
) SWIG_fail
;
15741 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15742 if (SWIG_arg_fail(3)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15769 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
= NULL
;
15771 wxFileType
*arg1
= (wxFileType
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15780 if (SWIG_arg_fail(1)) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (bool)(arg1
)->Unassociate();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= NULL
;
15799 wxString
*arg1
= 0 ;
15800 wxString
*arg2
= 0 ;
15801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15804 bool temp1
= false ;
15805 bool temp2
= false ;
15806 bool temp3
= false ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 PyObject
* obj2
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15816 arg1
= wxString_in_helper(obj0
);
15817 if (arg1
== NULL
) SWIG_fail
;
15821 arg2
= wxString_in_helper(obj1
);
15822 if (arg2
== NULL
) SWIG_fail
;
15827 arg3
= wxString_in_helper(obj2
);
15828 if (arg3
== NULL
) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15876 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15881 return Py_BuildValue((char *)"");
15883 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15884 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15889 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15890 PyObject
*pyobj
= NULL
;
15892 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15897 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
= NULL
;
15899 wxString
*arg1
= 0 ;
15900 wxString
*arg2
= 0 ;
15902 bool temp1
= false ;
15903 bool temp2
= false ;
15904 PyObject
* obj0
= 0 ;
15905 PyObject
* obj1
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "mimeType",(char *) "wildcard", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 arg1
= wxString_in_helper(obj0
);
15913 if (arg1
== NULL
) SWIG_fail
;
15917 arg2
= wxString_in_helper(obj1
);
15918 if (arg2
== NULL
) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15953 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
= NULL
;
15955 wxMimeTypesManager
*result
;
15956 char *kwnames
[] = {
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15975 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
= NULL
;
15977 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15978 int arg2
= (int) wxMAILCAP_ALL
;
15979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15981 bool temp3
= false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15991 if (SWIG_arg_fail(1)) SWIG_fail
;
15994 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15995 if (SWIG_arg_fail(2)) SWIG_fail
;
16000 arg3
= wxString_in_helper(obj2
);
16001 if (arg3
== NULL
) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 Py_INCREF(Py_None
); resultobj
= Py_None
;
16027 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= NULL
;
16029 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 (arg1
)->ClearData();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
= NULL
;
16054 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16055 wxString
*arg2
= 0 ;
16056 wxFileType
*result
;
16057 bool temp2
= false ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "ext", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16094 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
= NULL
;
16096 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16097 wxString
*arg2
= 0 ;
16098 wxFileType
*result
;
16099 bool temp2
= false ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "mimeType", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16110 arg2
= wxString_in_helper(obj1
);
16111 if (arg2
== NULL
) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16136 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
= NULL
;
16138 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16139 wxString
*arg2
= 0 ;
16140 bool arg3
= (bool) false ;
16142 bool temp2
= false ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 PyObject
* obj2
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 arg2
= wxString_in_helper(obj1
);
16155 if (arg2
== NULL
) SWIG_fail
;
16160 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16161 if (SWIG_arg_fail(3)) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16188 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= NULL
;
16190 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16191 wxString
*arg2
= 0 ;
16193 bool temp2
= false ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self",(char *) "filename", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail
;
16204 arg2
= wxString_in_helper(obj1
);
16205 if (arg2
== NULL
) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16232 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
= NULL
;
16234 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16243 if (SWIG_arg_fail(1)) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
;
16258 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
= NULL
;
16260 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16261 wxFileTypeInfo
*arg2
= 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "ft", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail
;
16272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16273 if (SWIG_arg_fail(2)) SWIG_fail
;
16274 if (arg2
== NULL
) {
16275 SWIG_null_ref("wxFileTypeInfo");
16277 if (SWIG_arg_fail(2)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
= NULL
;
16295 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16296 wxFileTypeInfo
*arg2
= 0 ;
16297 wxFileType
*result
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "ftInfo", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16309 if (SWIG_arg_fail(2)) SWIG_fail
;
16310 if (arg2
== NULL
) {
16311 SWIG_null_ref("wxFileTypeInfo");
16313 if (SWIG_arg_fail(2)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16329 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
= NULL
;
16331 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16332 wxFileType
*arg2
= (wxFileType
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "ft", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(2)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (bool)(arg1
)->Unassociate(arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16361 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= NULL
;
16363 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 Py_INCREF(Py_None
); resultobj
= Py_None
;
16386 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16389 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16391 return Py_BuildValue((char *)"");
16393 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16399 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16400 PyObject
*pyobj
= NULL
;
16404 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16413 static int _wrap_ART_MENU_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16419 static PyObject
*_wrap_ART_MENU_get(void) {
16420 PyObject
*pyobj
= NULL
;
16424 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16433 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16439 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16440 PyObject
*pyobj
= NULL
;
16444 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16453 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16459 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16460 PyObject
*pyobj
= NULL
;
16464 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16473 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16479 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16480 PyObject
*pyobj
= NULL
;
16484 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16493 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16499 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16500 PyObject
*pyobj
= NULL
;
16504 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16506 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16513 static int _wrap_ART_BUTTON_set(PyObject
*) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16519 static PyObject
*_wrap_ART_BUTTON_get(void) {
16520 PyObject
*pyobj
= NULL
;
16524 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16526 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16533 static int _wrap_ART_OTHER_set(PyObject
*) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16539 static PyObject
*_wrap_ART_OTHER_get(void) {
16540 PyObject
*pyobj
= NULL
;
16544 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16546 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16553 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16559 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16560 PyObject
*pyobj
= NULL
;
16564 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16566 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16573 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16574 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16579 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16580 PyObject
*pyobj
= NULL
;
16584 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16586 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16593 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16594 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16599 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16600 PyObject
*pyobj
= NULL
;
16604 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16606 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16613 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16619 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16620 PyObject
*pyobj
= NULL
;
16624 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16626 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16633 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16639 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16640 PyObject
*pyobj
= NULL
;
16644 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16646 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16653 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16659 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16660 PyObject
*pyobj
= NULL
;
16664 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16666 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16673 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16679 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16680 PyObject
*pyobj
= NULL
;
16684 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16686 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16693 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16694 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16699 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16700 PyObject
*pyobj
= NULL
;
16704 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16706 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16713 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16719 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16720 PyObject
*pyobj
= NULL
;
16724 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16726 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16733 static int _wrap_ART_GO_UP_set(PyObject
*) {
16734 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16739 static PyObject
*_wrap_ART_GO_UP_get(void) {
16740 PyObject
*pyobj
= NULL
;
16744 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16746 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16753 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16754 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16759 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16760 PyObject
*pyobj
= NULL
;
16764 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16766 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16773 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16779 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16780 PyObject
*pyobj
= NULL
;
16784 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16786 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16793 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16794 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16799 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16800 PyObject
*pyobj
= NULL
;
16804 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16806 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16813 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16814 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16819 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16820 PyObject
*pyobj
= NULL
;
16824 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16826 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16833 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16834 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16839 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16840 PyObject
*pyobj
= NULL
;
16844 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16846 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16853 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16854 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16859 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16860 PyObject
*pyobj
= NULL
;
16864 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16866 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16873 static int _wrap_ART_PRINT_set(PyObject
*) {
16874 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16879 static PyObject
*_wrap_ART_PRINT_get(void) {
16880 PyObject
*pyobj
= NULL
;
16884 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16886 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16893 static int _wrap_ART_HELP_set(PyObject
*) {
16894 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16899 static PyObject
*_wrap_ART_HELP_get(void) {
16900 PyObject
*pyobj
= NULL
;
16904 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16906 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16913 static int _wrap_ART_TIP_set(PyObject
*) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16919 static PyObject
*_wrap_ART_TIP_get(void) {
16920 PyObject
*pyobj
= NULL
;
16924 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16926 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16933 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16934 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16939 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16940 PyObject
*pyobj
= NULL
;
16944 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16946 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16953 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16954 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16959 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16960 PyObject
*pyobj
= NULL
;
16964 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16966 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16973 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16974 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16979 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16980 PyObject
*pyobj
= NULL
;
16984 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16986 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16993 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16994 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16999 static PyObject
*_wrap_ART_HARDDISK_get(void) {
17000 PyObject
*pyobj
= NULL
;
17004 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17006 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
17013 static int _wrap_ART_FLOPPY_set(PyObject
*) {
17014 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
17019 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17020 PyObject
*pyobj
= NULL
;
17024 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17026 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17033 static int _wrap_ART_CDROM_set(PyObject
*) {
17034 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17039 static PyObject
*_wrap_ART_CDROM_get(void) {
17040 PyObject
*pyobj
= NULL
;
17044 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17046 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17053 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17054 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17059 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17060 PyObject
*pyobj
= NULL
;
17064 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17066 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17073 static int _wrap_ART_FOLDER_set(PyObject
*) {
17074 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17079 static PyObject
*_wrap_ART_FOLDER_get(void) {
17080 PyObject
*pyobj
= NULL
;
17084 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17086 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17093 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17094 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17099 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17100 PyObject
*pyobj
= NULL
;
17104 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17106 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17113 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17114 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17119 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17120 PyObject
*pyobj
= NULL
;
17124 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17126 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17133 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17134 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17139 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17140 PyObject
*pyobj
= NULL
;
17144 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17146 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17153 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17154 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17159 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17160 PyObject
*pyobj
= NULL
;
17164 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17166 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17173 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17174 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17179 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17180 PyObject
*pyobj
= NULL
;
17184 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17186 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17193 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17194 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17199 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17200 PyObject
*pyobj
= NULL
;
17204 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17206 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17213 static int _wrap_ART_ERROR_set(PyObject
*) {
17214 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17219 static PyObject
*_wrap_ART_ERROR_get(void) {
17220 PyObject
*pyobj
= NULL
;
17224 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17226 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17233 static int _wrap_ART_QUESTION_set(PyObject
*) {
17234 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17239 static PyObject
*_wrap_ART_QUESTION_get(void) {
17240 PyObject
*pyobj
= NULL
;
17244 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17246 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17253 static int _wrap_ART_WARNING_set(PyObject
*) {
17254 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17259 static PyObject
*_wrap_ART_WARNING_get(void) {
17260 PyObject
*pyobj
= NULL
;
17264 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17266 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17273 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17274 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17279 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17280 PyObject
*pyobj
= NULL
;
17284 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17286 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17293 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17294 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17299 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17300 PyObject
*pyobj
= NULL
;
17304 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17306 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17313 static int _wrap_ART_COPY_set(PyObject
*) {
17314 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17319 static PyObject
*_wrap_ART_COPY_get(void) {
17320 PyObject
*pyobj
= NULL
;
17324 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17326 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17333 static int _wrap_ART_CUT_set(PyObject
*) {
17334 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17339 static PyObject
*_wrap_ART_CUT_get(void) {
17340 PyObject
*pyobj
= NULL
;
17344 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17346 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17353 static int _wrap_ART_PASTE_set(PyObject
*) {
17354 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17359 static PyObject
*_wrap_ART_PASTE_get(void) {
17360 PyObject
*pyobj
= NULL
;
17364 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17366 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17373 static int _wrap_ART_DELETE_set(PyObject
*) {
17374 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17379 static PyObject
*_wrap_ART_DELETE_get(void) {
17380 PyObject
*pyobj
= NULL
;
17384 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17386 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17393 static int _wrap_ART_NEW_set(PyObject
*) {
17394 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17399 static PyObject
*_wrap_ART_NEW_get(void) {
17400 PyObject
*pyobj
= NULL
;
17404 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17406 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17413 static int _wrap_ART_UNDO_set(PyObject
*) {
17414 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17419 static PyObject
*_wrap_ART_UNDO_get(void) {
17420 PyObject
*pyobj
= NULL
;
17424 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17426 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17433 static int _wrap_ART_REDO_set(PyObject
*) {
17434 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17439 static PyObject
*_wrap_ART_REDO_get(void) {
17440 PyObject
*pyobj
= NULL
;
17444 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17446 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17453 static int _wrap_ART_QUIT_set(PyObject
*) {
17454 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17459 static PyObject
*_wrap_ART_QUIT_get(void) {
17460 PyObject
*pyobj
= NULL
;
17464 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17466 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17473 static int _wrap_ART_FIND_set(PyObject
*) {
17474 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17479 static PyObject
*_wrap_ART_FIND_get(void) {
17480 PyObject
*pyobj
= NULL
;
17484 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17486 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17493 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17494 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17499 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17500 PyObject
*pyobj
= NULL
;
17504 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17506 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17513 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
= NULL
;
17515 wxPyArtProvider
*result
;
17516 char *kwnames
[] = {
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17522 if (!wxPyCheckForApp()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17536 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
= NULL
;
17538 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17546 if (SWIG_arg_fail(1)) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
= NULL
;
17563 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17564 PyObject
*arg2
= (PyObject
*) 0 ;
17565 PyObject
*arg3
= (PyObject
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 PyObject
* obj2
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "self",(char *) "_class", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= NULL
;
17594 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "provider", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 wxPyArtProvider::PushProvider(arg1
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
= NULL
;
17620 char *kwnames
[] = {
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (bool)wxPyArtProvider::PopProvider();
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17641 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
= NULL
;
17643 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "provider", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17652 if (SWIG_arg_fail(1)) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17669 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
= NULL
;
17671 wxString
*arg1
= 0 ;
17672 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17674 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17675 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17677 bool temp1
= false ;
17678 bool temp2
= false ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "id",(char *) "client",(char *) "size", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17689 arg1
= wxString_in_helper(obj0
);
17690 if (arg1
== NULL
) SWIG_fail
;
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17703 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17707 if (!wxPyCheckForApp()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 wxBitmap
* resultptr
;
17716 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17741 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
= NULL
;
17743 wxString
*arg1
= 0 ;
17744 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17745 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17746 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17747 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17749 bool temp1
= false ;
17750 bool temp2
= false ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 PyObject
* obj2
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "id",(char *) "client",(char *) "size", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17761 arg1
= wxString_in_helper(obj0
);
17762 if (arg1
== NULL
) SWIG_fail
;
17767 arg2
= wxString_in_helper(obj1
);
17768 if (arg2
== NULL
) SWIG_fail
;
17775 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17779 if (!wxPyCheckForApp()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 wxIcon
* resultptr
;
17788 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17813 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
= NULL
;
17815 wxString
*arg1
= 0 ;
17816 bool arg2
= (bool) false ;
17818 bool temp1
= false ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "client",(char *) "platform_dependent", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17827 arg1
= wxString_in_helper(obj0
);
17828 if (arg1
== NULL
) SWIG_fail
;
17833 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17834 if (SWIG_arg_fail(2)) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 wxSize
* resultptr
;
17846 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17863 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
= NULL
;
17865 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17873 if (SWIG_arg_fail(1)) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 wxPyArtProvider_Destroy(arg1
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17891 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17893 return Py_BuildValue((char *)"");
17895 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
= NULL
;
17897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17905 if (SWIG_arg_fail(1)) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 Py_INCREF(Py_None
); resultobj
= Py_None
;
17920 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
= NULL
;
17922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17923 wxConfigBase
*result
;
17924 PyObject
* obj0
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "config", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17931 if (SWIG_arg_fail(1)) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17946 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
= NULL
;
17948 bool arg1
= (bool) true ;
17949 wxConfigBase
*result
;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "createOnDemand", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17958 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17959 if (SWIG_arg_fail(1)) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17976 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= NULL
;
17978 wxConfigBase
*result
;
17979 char *kwnames
[] = {
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (wxConfigBase
*)wxConfigBase::Create();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17998 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= NULL
;
18000 char *kwnames
[] = {
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 wxConfigBase::DontCreateOnDemand();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 Py_INCREF(Py_None
); resultobj
= Py_None
;
18019 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
= NULL
;
18021 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18022 wxString
*arg2
= 0 ;
18023 bool temp2
= false ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "path", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail
;
18034 arg2
= wxString_in_helper(obj1
);
18035 if (arg2
== NULL
) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->SetPath((wxString
const &)*arg2
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
= NULL
;
18062 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18076 result
= (wxString
*) &_result_ref
;
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18095 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
= NULL
;
18097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18099 PyObject
* obj0
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18106 if (SWIG_arg_fail(1)) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= result
;
18121 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
= NULL
;
18123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "index", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18134 if (SWIG_arg_fail(1)) SWIG_fail
;
18136 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18137 if (SWIG_arg_fail(2)) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= result
;
18153 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
= NULL
;
18155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18164 if (SWIG_arg_fail(1)) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= result
;
18179 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
= NULL
;
18181 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "index", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18192 if (SWIG_arg_fail(1)) SWIG_fail
;
18194 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18195 if (SWIG_arg_fail(2)) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= result
;
18211 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
= NULL
;
18213 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18214 bool arg2
= (bool) false ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "recursive", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail
;
18227 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18228 if (SWIG_arg_fail(2)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18247 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
= NULL
;
18249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18250 bool arg2
= (bool) false ;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "recursive", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18260 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18264 if (SWIG_arg_fail(2)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18283 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
= NULL
;
18285 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18286 wxString
*arg2
= 0 ;
18288 bool temp2
= false ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self",(char *) "name", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 arg2
= wxString_in_helper(obj1
);
18300 if (arg2
== NULL
) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18327 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
= NULL
;
18329 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18330 wxString
*arg2
= 0 ;
18332 bool temp2
= false ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "name", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 arg2
= wxString_in_helper(obj1
);
18344 if (arg2
== NULL
) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18371 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
= NULL
;
18373 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18374 wxString
*arg2
= 0 ;
18376 bool temp2
= false ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self",(char *) "name", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18385 if (SWIG_arg_fail(1)) SWIG_fail
;
18387 arg2
= wxString_in_helper(obj1
);
18388 if (arg2
== NULL
) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18415 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
= NULL
;
18417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18418 wxString
*arg2
= 0 ;
18419 wxConfigBase::EntryType result
;
18420 bool temp2
= false ;
18421 PyObject
* obj0
= 0 ;
18422 PyObject
* obj1
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self",(char *) "name", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 arg2
= wxString_in_helper(obj1
);
18432 if (arg2
== NULL
) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= SWIG_From_int((result
));
18457 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
= NULL
;
18459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18460 wxString
*arg2
= 0 ;
18461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18464 bool temp2
= false ;
18465 bool temp3
= false ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 PyObject
* obj2
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 arg2
= wxString_in_helper(obj1
);
18478 if (arg2
== NULL
) SWIG_fail
;
18483 arg3
= wxString_in_helper(obj2
);
18484 if (arg3
== NULL
) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18524 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= NULL
;
18526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18527 wxString
*arg2
= 0 ;
18528 long arg3
= (long) 0 ;
18530 bool temp2
= false ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 PyObject
* obj2
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 arg2
= wxString_in_helper(obj1
);
18543 if (arg2
== NULL
) SWIG_fail
;
18548 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18549 if (SWIG_arg_fail(3)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_From_long(static_cast<long >(result
));
18576 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
= NULL
;
18578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18579 wxString
*arg2
= 0 ;
18580 double arg3
= (double) 0.0 ;
18582 bool temp2
= false ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 PyObject
* obj2
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18594 arg2
= wxString_in_helper(obj1
);
18595 if (arg2
== NULL
) SWIG_fail
;
18600 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18601 if (SWIG_arg_fail(3)) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_From_double(static_cast<double >(result
));
18628 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= NULL
;
18630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18631 wxString
*arg2
= 0 ;
18632 bool arg3
= (bool) false ;
18634 bool temp2
= false ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 PyObject
* obj2
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18644 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 arg2
= wxString_in_helper(obj1
);
18647 if (arg2
== NULL
) SWIG_fail
;
18652 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18653 if (SWIG_arg_fail(3)) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18680 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
= NULL
;
18682 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18683 wxString
*arg2
= 0 ;
18684 wxString
*arg3
= 0 ;
18686 bool temp2
= false ;
18687 bool temp3
= false ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 PyObject
* obj2
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self",(char *) "key",(char *) "value", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail
;
18699 arg2
= wxString_in_helper(obj1
);
18700 if (arg2
== NULL
) SWIG_fail
;
18704 arg3
= wxString_in_helper(obj2
);
18705 if (arg3
== NULL
) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18740 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
= NULL
;
18742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18743 wxString
*arg2
= 0 ;
18746 bool temp2
= false ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 PyObject
* obj2
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "key",(char *) "value", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 arg2
= wxString_in_helper(obj1
);
18759 if (arg2
== NULL
) SWIG_fail
;
18763 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18764 if (SWIG_arg_fail(3)) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18790 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= NULL
;
18792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18793 wxString
*arg2
= 0 ;
18796 bool temp2
= false ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "key",(char *) "value", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 arg2
= wxString_in_helper(obj1
);
18809 if (arg2
== NULL
) SWIG_fail
;
18813 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18814 if (SWIG_arg_fail(3)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18840 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
= NULL
;
18842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18843 wxString
*arg2
= 0 ;
18846 bool temp2
= false ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self",(char *) "key",(char *) "value", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail
;
18858 arg2
= wxString_in_helper(obj1
);
18859 if (arg2
== NULL
) SWIG_fail
;
18863 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18864 if (SWIG_arg_fail(3)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18890 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
= NULL
;
18892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18893 bool arg2
= (bool) false ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "currentOnly", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18907 if (SWIG_arg_fail(2)) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (bool)(arg1
)->Flush(arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18926 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
= NULL
;
18928 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18929 wxString
*arg2
= 0 ;
18930 wxString
*arg3
= 0 ;
18932 bool temp2
= false ;
18933 bool temp3
= false ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 PyObject
* obj2
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18945 arg2
= wxString_in_helper(obj1
);
18946 if (arg2
== NULL
) SWIG_fail
;
18950 arg3
= wxString_in_helper(obj2
);
18951 if (arg3
== NULL
) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
= NULL
;
18988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18989 wxString
*arg2
= 0 ;
18990 wxString
*arg3
= 0 ;
18992 bool temp2
= false ;
18993 bool temp3
= false ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 PyObject
* obj2
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "oldName",(char *) "newName", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19003 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 arg2
= wxString_in_helper(obj1
);
19006 if (arg2
== NULL
) SWIG_fail
;
19010 arg3
= wxString_in_helper(obj2
);
19011 if (arg3
== NULL
) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
= NULL
;
19048 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19049 wxString
*arg2
= 0 ;
19050 bool arg3
= (bool) true ;
19052 bool temp2
= false ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 PyObject
* obj2
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19064 arg2
= wxString_in_helper(obj1
);
19065 if (arg2
== NULL
) SWIG_fail
;
19070 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19071 if (SWIG_arg_fail(3)) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= NULL
;
19100 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19101 wxString
*arg2
= 0 ;
19103 bool temp2
= false ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "key", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 arg2
= wxString_in_helper(obj1
);
19115 if (arg2
== NULL
) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19142 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
= NULL
;
19144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19153 if (SWIG_arg_fail(1)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (bool)(arg1
)->DeleteAll();
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19170 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
= NULL
;
19172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19173 bool arg2
= (bool) true ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "doIt", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19182 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19186 if (SWIG_arg_fail(2)) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->SetExpandEnvVars(arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
= NULL
;
19205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19231 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
= NULL
;
19233 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19234 bool arg2
= (bool) true ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "doIt", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19243 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19247 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->SetRecordDefaults(arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
= NULL
;
19266 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19292 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= NULL
;
19294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19295 wxString
*arg2
= 0 ;
19297 bool temp2
= false ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "str", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 arg2
= wxString_in_helper(obj1
);
19309 if (arg2
== NULL
) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19340 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= NULL
;
19342 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19372 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= NULL
;
19374 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19404 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
= NULL
;
19406 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19407 wxString
*arg2
= 0 ;
19408 bool temp2
= false ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "appName", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19417 if (SWIG_arg_fail(1)) SWIG_fail
;
19419 arg2
= wxString_in_helper(obj1
);
19420 if (arg2
== NULL
) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->SetAppName((wxString
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
= NULL
;
19447 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19448 wxString
*arg2
= 0 ;
19449 bool temp2
= false ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "vendorName", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(1)) SWIG_fail
;
19460 arg2
= wxString_in_helper(obj1
);
19461 if (arg2
== NULL
) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= NULL
;
19488 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "style", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19498 if (SWIG_arg_fail(1)) SWIG_fail
;
19500 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19501 if (SWIG_arg_fail(2)) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 (arg1
)->SetStyle(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 Py_INCREF(Py_None
); resultobj
= Py_None
;
19517 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= NULL
;
19519 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_From_long(static_cast<long >(result
));
19545 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19548 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19550 return Py_BuildValue((char *)"");
19552 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= NULL
;
19554 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19555 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19556 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19557 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19562 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19564 bool temp1
= false ;
19565 bool temp2
= false ;
19566 bool temp3
= false ;
19567 bool temp4
= false ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 PyObject
* obj3
= 0 ;
19572 PyObject
* obj4
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19580 arg1
= wxString_in_helper(obj0
);
19581 if (arg1
== NULL
) SWIG_fail
;
19587 arg2
= wxString_in_helper(obj1
);
19588 if (arg2
== NULL
) SWIG_fail
;
19594 arg3
= wxString_in_helper(obj2
);
19595 if (arg3
== NULL
) SWIG_fail
;
19601 arg4
= wxString_in_helper(obj3
);
19602 if (arg4
== NULL
) SWIG_fail
;
19608 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19609 if (SWIG_arg_fail(5)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19658 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
= NULL
;
19660 wxConfig
*arg1
= (wxConfig
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 Py_INCREF(Py_None
); resultobj
= Py_None
;
19683 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19686 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19688 return Py_BuildValue((char *)"");
19690 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= NULL
;
19692 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19693 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19694 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19695 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19700 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19701 wxFileConfig
*result
;
19702 bool temp1
= false ;
19703 bool temp2
= false ;
19704 bool temp3
= false ;
19705 bool temp4
= false ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 PyObject
* obj2
= 0 ;
19709 PyObject
* obj3
= 0 ;
19710 PyObject
* obj4
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19718 arg1
= wxString_in_helper(obj0
);
19719 if (arg1
== NULL
) SWIG_fail
;
19725 arg2
= wxString_in_helper(obj1
);
19726 if (arg2
== NULL
) SWIG_fail
;
19732 arg3
= wxString_in_helper(obj2
);
19733 if (arg3
== NULL
) SWIG_fail
;
19739 arg4
= wxString_in_helper(obj3
);
19740 if (arg4
== NULL
) SWIG_fail
;
19746 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19747 if (SWIG_arg_fail(5)) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19796 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= NULL
;
19798 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19824 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19826 return Py_BuildValue((char *)"");
19828 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= NULL
;
19830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19831 wxString
*arg2
= 0 ;
19832 wxConfigPathChanger
*result
;
19833 bool temp2
= false ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "config",(char *) "entry", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 arg2
= wxString_in_helper(obj1
);
19845 if (arg2
== NULL
) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19870 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= NULL
;
19872 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 Py_INCREF(Py_None
); resultobj
= Py_None
;
19895 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= NULL
;
19897 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19911 result
= (wxString
*) &_result_ref
;
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19930 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19933 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19935 return Py_BuildValue((char *)"");
19937 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
= NULL
;
19939 wxString
*arg1
= 0 ;
19941 bool temp1
= false ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "sz", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19949 arg1
= wxString_in_helper(obj0
);
19950 if (arg1
== NULL
) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19981 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19982 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19987 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19988 PyObject
*pyobj
= NULL
;
19992 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19994 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
20001 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
20002 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
20007 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
20008 PyObject
*pyobj
= NULL
;
20012 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20014 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20021 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= NULL
;
20023 wxDateTime::Country arg1
;
20024 PyObject
* obj0
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "country", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20031 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20032 if (SWIG_arg_fail(1)) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 wxDateTime::SetCountry(arg1
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
= NULL
;
20050 wxDateTime::Country result
;
20051 char *kwnames
[] = {
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_From_int((result
));
20070 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= NULL
;
20072 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "country", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20082 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20102 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
= NULL
;
20104 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "cal", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20114 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_From_int(static_cast<int >(result
));
20134 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
= NULL
;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "year", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20145 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20146 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_From_int(static_cast<int >(result
));
20164 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
= NULL
;
20166 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20167 wxDateTime::Month result
;
20168 PyObject
* obj0
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "cal", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20176 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_From_int((result
));
20194 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= NULL
;
20196 int arg1
= (int) wxDateTime::Inv_Year
;
20197 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "year",(char *) "cal", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20209 if (SWIG_arg_fail(1)) SWIG_fail
;
20214 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20215 if (SWIG_arg_fail(2)) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20234 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= NULL
;
20236 int arg1
= (int) wxDateTime::Inv_Year
;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "year", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20246 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20247 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (int)wxDateTime::GetCentury(arg1
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_From_int(static_cast<int >(result
));
20266 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= NULL
;
20269 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "year",(char *) "cal", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20279 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20284 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20285 if (SWIG_arg_fail(2)) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_From_int(static_cast<int >(result
));
20304 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= NULL
;
20306 wxDateTime::Month arg1
;
20307 int arg2
= (int) wxDateTime::Inv_Year
;
20308 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 PyObject
* obj2
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "month",(char *) "year",(char *) "cal", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20319 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20320 if (SWIG_arg_fail(1)) SWIG_fail
;
20324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20325 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20331 if (SWIG_arg_fail(3)) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= SWIG_From_int(static_cast<int >(result
));
20350 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
= NULL
;
20352 wxDateTime::Month arg1
;
20353 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "month",(char *) "flags", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20369 if (SWIG_arg_fail(2)) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20392 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= NULL
;
20394 wxDateTime::WeekDay arg1
;
20395 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "weekday",(char *) "flags", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20405 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20410 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20411 if (SWIG_arg_fail(2)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20434 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= NULL
;
20437 char *kwnames
[] = {
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= result
;
20456 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
= NULL
;
20458 int arg1
= (int) wxDateTime::Inv_Year
;
20459 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "year",(char *) "country", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20477 if (SWIG_arg_fail(2)) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20496 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
= NULL
;
20498 int arg1
= (int) wxDateTime::Inv_Year
;
20499 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "year",(char *) "country", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20511 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20517 if (SWIG_arg_fail(2)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 wxDateTime
* resultptr
;
20529 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20538 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
= NULL
;
20540 int arg1
= (int) wxDateTime::Inv_Year
;
20541 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "year",(char *) "country", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20553 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20559 if (SWIG_arg_fail(2)) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 wxDateTime
* resultptr
;
20571 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20580 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
= NULL
;
20583 char *kwnames
[] = {
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= wxDateTime::Now();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 wxDateTime
* resultptr
;
20597 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20606 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= NULL
;
20609 char *kwnames
[] = {
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= wxDateTime::UNow();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 wxDateTime
* resultptr
;
20623 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20632 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
= NULL
;
20635 char *kwnames
[] = {
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= wxDateTime::Today();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 wxDateTime
* resultptr
;
20649 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20658 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= NULL
;
20660 wxDateTime
*result
;
20661 char *kwnames
[] = {
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (wxDateTime
*)new wxDateTime();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20680 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= NULL
;
20683 wxDateTime
*result
;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "timet", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20691 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (wxDateTime
*)new wxDateTime(arg1
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20708 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
= NULL
;
20711 wxDateTime
*result
;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "jdn", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20719 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20720 if (SWIG_arg_fail(1)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxDateTime
*)new wxDateTime(arg1
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20736 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= NULL
;
20739 int arg2
= (int) 0 ;
20740 int arg3
= (int) 0 ;
20741 int arg4
= (int) 0 ;
20742 wxDateTime
*result
;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 PyObject
* obj2
= 0 ;
20746 PyObject
* obj3
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20753 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20758 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20759 if (SWIG_arg_fail(2)) SWIG_fail
;
20764 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20765 if (SWIG_arg_fail(3)) SWIG_fail
;
20770 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20771 if (SWIG_arg_fail(4)) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20788 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
= NULL
;
20791 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20792 int arg3
= (int) wxDateTime::Inv_Year
;
20793 int arg4
= (int) 0 ;
20794 int arg5
= (int) 0 ;
20795 int arg6
= (int) 0 ;
20796 int arg7
= (int) 0 ;
20797 wxDateTime
*result
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 PyObject
* obj3
= 0 ;
20802 PyObject
* obj4
= 0 ;
20803 PyObject
* obj5
= 0 ;
20804 PyObject
* obj6
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20811 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20812 if (SWIG_arg_fail(1)) SWIG_fail
;
20816 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20817 if (SWIG_arg_fail(2)) SWIG_fail
;
20822 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20823 if (SWIG_arg_fail(3)) SWIG_fail
;
20828 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20829 if (SWIG_arg_fail(4)) SWIG_fail
;
20834 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20835 if (SWIG_arg_fail(5)) SWIG_fail
;
20840 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20841 if (SWIG_arg_fail(6)) SWIG_fail
;
20846 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20847 if (SWIG_arg_fail(7)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20864 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
= NULL
;
20866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20874 if (SWIG_arg_fail(1)) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= NULL
;
20891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20892 wxDateTime
*result
;
20893 PyObject
* obj0
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20900 if (SWIG_arg_fail(1)) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20905 result
= (wxDateTime
*) &_result_ref
;
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20918 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
= NULL
;
20920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20922 wxDateTime
*result
;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self",(char *) "timet", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20931 if (SWIG_arg_fail(1)) SWIG_fail
;
20933 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20934 if (SWIG_arg_fail(2)) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20940 result
= (wxDateTime
*) &_result_ref
;
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20953 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
= NULL
;
20955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20957 wxDateTime
*result
;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "jdn", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20969 if (SWIG_arg_fail(2)) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20975 result
= (wxDateTime
*) &_result_ref
;
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20988 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
= NULL
;
20990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20992 int arg3
= (int) 0 ;
20993 int arg4
= (int) 0 ;
20994 int arg5
= (int) 0 ;
20995 wxDateTime
*result
;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 PyObject
* obj2
= 0 ;
20999 PyObject
* obj3
= 0 ;
21000 PyObject
* obj4
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21010 if (SWIG_arg_fail(2)) SWIG_fail
;
21014 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21015 if (SWIG_arg_fail(3)) SWIG_fail
;
21020 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21021 if (SWIG_arg_fail(4)) SWIG_fail
;
21026 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21027 if (SWIG_arg_fail(5)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21034 result
= (wxDateTime
*) &_result_ref
;
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21047 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= NULL
;
21049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21051 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21052 int arg4
= (int) wxDateTime::Inv_Year
;
21053 int arg5
= (int) 0 ;
21054 int arg6
= (int) 0 ;
21055 int arg7
= (int) 0 ;
21056 int arg8
= (int) 0 ;
21057 wxDateTime
*result
;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 PyObject
* obj3
= 0 ;
21062 PyObject
* obj4
= 0 ;
21063 PyObject
* obj5
= 0 ;
21064 PyObject
* obj6
= 0 ;
21065 PyObject
* obj7
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21072 if (SWIG_arg_fail(1)) SWIG_fail
;
21074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21075 if (SWIG_arg_fail(2)) SWIG_fail
;
21079 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21080 if (SWIG_arg_fail(3)) SWIG_fail
;
21085 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21086 if (SWIG_arg_fail(4)) SWIG_fail
;
21091 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21092 if (SWIG_arg_fail(5)) SWIG_fail
;
21097 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21098 if (SWIG_arg_fail(6)) SWIG_fail
;
21103 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21104 if (SWIG_arg_fail(7)) SWIG_fail
;
21109 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21110 if (SWIG_arg_fail(8)) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21117 result
= (wxDateTime
*) &_result_ref
;
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21130 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
= NULL
;
21132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 wxDateTime
*result
;
21134 PyObject
* obj0
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21141 if (SWIG_arg_fail(1)) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21146 result
= (wxDateTime
*) &_result_ref
;
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21159 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= NULL
;
21161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21163 wxDateTime
*result
;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "year", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21172 if (SWIG_arg_fail(1)) SWIG_fail
;
21174 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21175 if (SWIG_arg_fail(2)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21181 result
= (wxDateTime
*) &_result_ref
;
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21194 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= NULL
;
21196 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21197 wxDateTime::Month arg2
;
21198 wxDateTime
*result
;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self",(char *) "month", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail
;
21209 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21210 if (SWIG_arg_fail(2)) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21216 result
= (wxDateTime
*) &_result_ref
;
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21229 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= NULL
;
21231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21233 wxDateTime
*result
;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "day", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail
;
21244 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21245 if (SWIG_arg_fail(2)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21251 result
= (wxDateTime
*) &_result_ref
;
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21264 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
= NULL
;
21266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21268 wxDateTime
*result
;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "hour", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21277 if (SWIG_arg_fail(1)) SWIG_fail
;
21279 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21280 if (SWIG_arg_fail(2)) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21286 result
= (wxDateTime
*) &_result_ref
;
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21299 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= NULL
;
21301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21303 wxDateTime
*result
;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self",(char *) "minute", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail
;
21314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21315 if (SWIG_arg_fail(2)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21321 result
= (wxDateTime
*) &_result_ref
;
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21334 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= NULL
;
21336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21338 wxDateTime
*result
;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "second", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail
;
21349 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21350 if (SWIG_arg_fail(2)) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21356 result
= (wxDateTime
*) &_result_ref
;
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21369 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
= NULL
;
21371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21373 wxDateTime
*result
;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "millisecond", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21384 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21385 if (SWIG_arg_fail(2)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21391 result
= (wxDateTime
*) &_result_ref
;
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21404 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
= NULL
;
21406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21407 wxDateTime::WeekDay arg2
;
21408 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21409 wxDateTime
*result
;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 PyObject
* obj2
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21419 if (SWIG_arg_fail(1)) SWIG_fail
;
21421 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21422 if (SWIG_arg_fail(2)) SWIG_fail
;
21426 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21427 if (SWIG_arg_fail(3)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21434 result
= (wxDateTime
*) &_result_ref
;
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21447 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
= NULL
;
21449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21450 wxDateTime::WeekDay arg2
;
21451 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21465 if (SWIG_arg_fail(2)) SWIG_fail
;
21469 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21470 if (SWIG_arg_fail(3)) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 wxDateTime
* resultptr
;
21482 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21491 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
= NULL
;
21493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21494 wxDateTime::WeekDay arg2
;
21495 wxDateTime
*result
;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "weekday", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail
;
21506 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21507 if (SWIG_arg_fail(2)) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21513 result
= (wxDateTime
*) &_result_ref
;
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21526 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= NULL
;
21528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21529 wxDateTime::WeekDay arg2
;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "weekday", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21541 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21542 if (SWIG_arg_fail(2)) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (arg1
)->GetNextWeekDay(arg2
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 wxDateTime
* resultptr
;
21553 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21562 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= NULL
;
21564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21565 wxDateTime::WeekDay arg2
;
21566 wxDateTime
*result
;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self",(char *) "weekday", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21575 if (SWIG_arg_fail(1)) SWIG_fail
;
21577 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21578 if (SWIG_arg_fail(2)) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21584 result
= (wxDateTime
*) &_result_ref
;
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21597 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= NULL
;
21599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21600 wxDateTime::WeekDay arg2
;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "weekday", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21613 if (SWIG_arg_fail(2)) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (arg1
)->GetPrevWeekDay(arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 wxDateTime
* resultptr
;
21624 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21633 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= NULL
;
21635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21636 wxDateTime::WeekDay arg2
;
21637 int arg3
= (int) 1 ;
21638 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21639 int arg5
= (int) wxDateTime::Inv_Year
;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 PyObject
* obj2
= 0 ;
21644 PyObject
* obj3
= 0 ;
21645 PyObject
* obj4
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21652 if (SWIG_arg_fail(1)) SWIG_fail
;
21654 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21655 if (SWIG_arg_fail(2)) SWIG_fail
;
21659 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21660 if (SWIG_arg_fail(3)) SWIG_fail
;
21665 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21666 if (SWIG_arg_fail(4)) SWIG_fail
;
21671 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21672 if (SWIG_arg_fail(5)) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= NULL
;
21693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21694 wxDateTime::WeekDay arg2
;
21695 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21696 int arg4
= (int) wxDateTime::Inv_Year
;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21708 if (SWIG_arg_fail(1)) SWIG_fail
;
21710 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21711 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21716 if (SWIG_arg_fail(3)) SWIG_fail
;
21721 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21722 if (SWIG_arg_fail(4)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21741 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= NULL
;
21743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21744 wxDateTime::WeekDay arg2
;
21745 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21746 int arg4
= (int) wxDateTime::Inv_Year
;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 PyObject
* obj3
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21761 if (SWIG_arg_fail(2)) SWIG_fail
;
21765 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21766 if (SWIG_arg_fail(3)) SWIG_fail
;
21771 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21772 if (SWIG_arg_fail(4)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 wxDateTime
* resultptr
;
21784 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21793 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
= NULL
;
21795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21797 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21798 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 PyObject
* obj3
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21810 if (SWIG_arg_fail(1)) SWIG_fail
;
21812 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21813 if (SWIG_arg_fail(2)) SWIG_fail
;
21817 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21818 if (SWIG_arg_fail(3)) SWIG_fail
;
21823 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21824 if (SWIG_arg_fail(4)) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
= NULL
;
21845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21847 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21848 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 PyObject
* obj3
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail
;
21862 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21863 if (SWIG_arg_fail(2)) SWIG_fail
;
21867 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21868 if (SWIG_arg_fail(3)) SWIG_fail
;
21873 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21874 if (SWIG_arg_fail(4)) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21885 wxDateTime
* resultptr
;
21886 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21895 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
= NULL
;
21899 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21910 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21915 if (SWIG_arg_fail(2)) SWIG_fail
;
21919 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21920 if (SWIG_arg_fail(3)) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 wxDateTime
* resultptr
;
21932 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21941 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
= NULL
;
21943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21944 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21945 int arg3
= (int) wxDateTime::Inv_Year
;
21946 wxDateTime
*result
;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 PyObject
* obj2
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "month",(char *) "year", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21960 if (SWIG_arg_fail(2)) SWIG_fail
;
21965 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21966 if (SWIG_arg_fail(3)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21973 result
= (wxDateTime
*) &_result_ref
;
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21986 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
= NULL
;
21988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21989 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21990 int arg3
= (int) wxDateTime::Inv_Year
;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "month",(char *) "year", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22001 if (SWIG_arg_fail(1)) SWIG_fail
;
22004 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
22005 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 arg3
= static_cast<int >(SWIG_As_int(obj2
));
22011 if (SWIG_arg_fail(3)) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 wxDateTime
* resultptr
;
22023 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22032 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
= NULL
;
22034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22036 wxDateTime
*result
;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "yday", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(1)) SWIG_fail
;
22047 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22048 if (SWIG_arg_fail(2)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22054 result
= (wxDateTime
*) &_result_ref
;
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22067 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
= NULL
;
22069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "yday", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail
;
22082 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22083 if (SWIG_arg_fail(2)) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (arg1
)->GetYearDay(arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 wxDateTime
* resultptr
;
22094 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22103 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
= NULL
;
22105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (double)(arg1
)->GetJulianDayNumber();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_From_double(static_cast<double >(result
));
22131 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
= NULL
;
22133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (double)(arg1
)->GetJDN();
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_From_double(static_cast<double >(result
));
22159 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
= NULL
;
22161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22170 if (SWIG_arg_fail(1)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= SWIG_From_double(static_cast<double >(result
));
22187 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
= NULL
;
22189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22191 PyObject
* obj0
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22198 if (SWIG_arg_fail(1)) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (double)(arg1
)->GetMJD();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_From_double(static_cast<double >(result
));
22215 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
= NULL
;
22217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (double)(arg1
)->GetRataDie();
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_From_double(static_cast<double >(result
));
22243 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
= NULL
;
22245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22246 wxDateTime::TimeZone
*arg2
= 0 ;
22247 bool arg3
= (bool) false ;
22249 bool temp2
= false ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 PyObject
* obj2
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail
;
22261 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22266 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22267 if (SWIG_arg_fail(3)) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxDateTime
* resultptr
;
22279 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22283 if (temp2
) delete arg2
;
22288 if (temp2
) delete arg2
;
22294 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= NULL
;
22296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22297 wxDateTime::TimeZone
*arg2
= 0 ;
22298 bool arg3
= (bool) false ;
22299 wxDateTime
*result
;
22300 bool temp2
= false ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 PyObject
* obj2
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail
;
22312 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22317 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22318 if (SWIG_arg_fail(3)) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22325 result
= (wxDateTime
*) &_result_ref
;
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22333 if (temp2
) delete arg2
;
22338 if (temp2
) delete arg2
;
22344 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
= NULL
;
22346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22347 wxDateTime::TimeZone
*arg2
= 0 ;
22348 bool arg3
= (bool) false ;
22350 bool temp2
= false ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 PyObject
* obj2
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22367 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22368 if (SWIG_arg_fail(3)) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 wxDateTime
* resultptr
;
22380 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22384 if (temp2
) delete arg2
;
22389 if (temp2
) delete arg2
;
22395 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
= NULL
;
22397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22398 wxDateTime::TimeZone
*arg2
= 0 ;
22399 bool arg3
= (bool) false ;
22400 wxDateTime
*result
;
22401 bool temp2
= false ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 PyObject
* obj2
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22418 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22419 if (SWIG_arg_fail(3)) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22426 result
= (wxDateTime
*) &_result_ref
;
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22434 if (temp2
) delete arg2
;
22439 if (temp2
) delete arg2
;
22445 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
= NULL
;
22447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22448 bool arg2
= (bool) false ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self",(char *) "noDST", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail
;
22461 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22462 if (SWIG_arg_fail(2)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22473 wxDateTime
* resultptr
;
22474 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22483 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
= NULL
;
22485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22486 bool arg2
= (bool) false ;
22487 wxDateTime
*result
;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "noDST", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22496 if (SWIG_arg_fail(1)) SWIG_fail
;
22499 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22500 if (SWIG_arg_fail(2)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22507 result
= (wxDateTime
*) &_result_ref
;
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22520 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
= NULL
;
22522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22523 bool arg2
= (bool) false ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "noDST", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 wxDateTime
* resultptr
;
22549 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22558 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
= NULL
;
22560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22561 bool arg2
= (bool) false ;
22562 wxDateTime
*result
;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "noDST", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22571 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22582 result
= (wxDateTime
*) &_result_ref
;
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22595 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
= NULL
;
22597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22598 bool arg2
= (bool) false ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "noDST", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22608 if (SWIG_arg_fail(1)) SWIG_fail
;
22611 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22612 if (SWIG_arg_fail(2)) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22623 wxDateTime
* resultptr
;
22624 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22633 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
= NULL
;
22635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22636 bool arg2
= (bool) false ;
22637 wxDateTime
*result
;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self",(char *) "noDST", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail
;
22649 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22650 if (SWIG_arg_fail(2)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22657 result
= (wxDateTime
*) &_result_ref
;
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22670 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
= NULL
;
22672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22673 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "country", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail
;
22686 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22687 if (SWIG_arg_fail(2)) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (int)(arg1
)->IsDST(arg2
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_From_int(static_cast<int >(result
));
22706 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
= NULL
;
22708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22717 if (SWIG_arg_fail(1)) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22734 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
= NULL
;
22736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22762 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
= NULL
;
22764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22765 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22766 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22768 bool temp2
= false ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "tz", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(1)) SWIG_fail
;
22780 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= SWIG_From_int(static_cast<int >(result
));
22795 if (temp2
) delete arg2
;
22800 if (temp2
) delete arg2
;
22806 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
= NULL
;
22808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22809 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22810 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22811 wxDateTime::Month result
;
22812 bool temp2
= false ;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 char *kwnames
[] = {
22816 (char *) "self",(char *) "tz", NULL
22819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22821 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_From_int((result
));
22837 if (temp2
) delete arg2
;
22842 if (temp2
) delete arg2
;
22848 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= NULL
;
22850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22851 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22852 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22854 bool temp2
= false ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "tz", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_From_int(static_cast<int >(result
));
22881 if (temp2
) delete arg2
;
22886 if (temp2
) delete arg2
;
22892 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
= NULL
;
22894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22895 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22896 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22897 wxDateTime::WeekDay result
;
22898 bool temp2
= false ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "tz", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= SWIG_From_int((result
));
22923 if (temp2
) delete arg2
;
22928 if (temp2
) delete arg2
;
22934 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
= NULL
;
22936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22937 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22938 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22940 bool temp2
= false ;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "tz", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22949 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_From_int(static_cast<int >(result
));
22967 if (temp2
) delete arg2
;
22972 if (temp2
) delete arg2
;
22978 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
= NULL
;
22980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22981 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22982 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22984 bool temp2
= false ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "tz", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22993 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_From_int(static_cast<int >(result
));
23011 if (temp2
) delete arg2
;
23016 if (temp2
) delete arg2
;
23022 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
= NULL
;
23024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23025 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23026 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23028 bool temp2
= false ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "tz", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail
;
23040 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_From_int(static_cast<int >(result
));
23055 if (temp2
) delete arg2
;
23060 if (temp2
) delete arg2
;
23066 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
= NULL
;
23068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23069 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23070 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23072 bool temp2
= false ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self",(char *) "tz", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23081 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_From_int(static_cast<int >(result
));
23099 if (temp2
) delete arg2
;
23104 if (temp2
) delete arg2
;
23110 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
= NULL
;
23112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23113 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23114 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23116 bool temp2
= false ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self",(char *) "tz", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23125 if (SWIG_arg_fail(1)) SWIG_fail
;
23128 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_From_int(static_cast<int >(result
));
23143 if (temp2
) delete arg2
;
23148 if (temp2
) delete arg2
;
23154 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
= NULL
;
23156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23157 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23158 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23159 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23161 bool temp3
= false ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 PyObject
* obj2
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self",(char *) "flags",(char *) "tz", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23174 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23175 if (SWIG_arg_fail(2)) SWIG_fail
;
23180 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_From_int(static_cast<int >(result
));
23195 if (temp3
) delete arg3
;
23200 if (temp3
) delete arg3
;
23206 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
= NULL
;
23208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23209 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23210 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23211 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23213 bool temp3
= false ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 PyObject
* obj2
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self",(char *) "flags",(char *) "tz", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail
;
23226 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23227 if (SWIG_arg_fail(2)) SWIG_fail
;
23232 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_From_int(static_cast<int >(result
));
23247 if (temp3
) delete arg3
;
23252 if (temp3
) delete arg3
;
23258 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
= NULL
;
23260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23261 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "country", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail
;
23274 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23275 if (SWIG_arg_fail(2)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
= NULL
;
23296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23297 wxDateTime
*arg2
= 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "datetime", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(2)) SWIG_fail
;
23311 if (arg2
== NULL
) {
23312 SWIG_null_ref("wxDateTime");
23314 if (SWIG_arg_fail(2)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23332 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
= NULL
;
23334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23335 wxDateTime
*arg2
= 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self",(char *) "datetime", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23345 if (SWIG_arg_fail(1)) SWIG_fail
;
23347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(2)) SWIG_fail
;
23349 if (arg2
== NULL
) {
23350 SWIG_null_ref("wxDateTime");
23352 if (SWIG_arg_fail(2)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23370 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= NULL
;
23372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23373 wxDateTime
*arg2
= 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "datetime", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23387 if (arg2
== NULL
) {
23388 SWIG_null_ref("wxDateTime");
23390 if (SWIG_arg_fail(2)) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23408 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
= NULL
;
23410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23411 wxDateTime
*arg2
= 0 ;
23412 wxDateTime
*arg3
= 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 PyObject
* obj2
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self",(char *) "t1",(char *) "t2", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(2)) SWIG_fail
;
23427 if (arg2
== NULL
) {
23428 SWIG_null_ref("wxDateTime");
23430 if (SWIG_arg_fail(2)) SWIG_fail
;
23433 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23434 if (SWIG_arg_fail(3)) SWIG_fail
;
23435 if (arg3
== NULL
) {
23436 SWIG_null_ref("wxDateTime");
23438 if (SWIG_arg_fail(3)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23456 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
= NULL
;
23458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23459 wxDateTime
*arg2
= 0 ;
23460 wxDateTime
*arg3
= 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 PyObject
* obj2
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self",(char *) "t1",(char *) "t2", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23471 if (SWIG_arg_fail(1)) SWIG_fail
;
23473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23474 if (SWIG_arg_fail(2)) SWIG_fail
;
23475 if (arg2
== NULL
) {
23476 SWIG_null_ref("wxDateTime");
23478 if (SWIG_arg_fail(2)) SWIG_fail
;
23481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(3)) SWIG_fail
;
23483 if (arg3
== NULL
) {
23484 SWIG_null_ref("wxDateTime");
23486 if (SWIG_arg_fail(3)) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23504 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
= NULL
;
23506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23507 wxDateTime
*arg2
= 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "dt", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23517 if (SWIG_arg_fail(1)) SWIG_fail
;
23519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23520 if (SWIG_arg_fail(2)) SWIG_fail
;
23521 if (arg2
== NULL
) {
23522 SWIG_null_ref("wxDateTime");
23524 if (SWIG_arg_fail(2)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23542 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
= NULL
;
23544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23545 wxDateTime
*arg2
= 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self",(char *) "dt", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23555 if (SWIG_arg_fail(1)) SWIG_fail
;
23557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23558 if (SWIG_arg_fail(2)) SWIG_fail
;
23559 if (arg2
== NULL
) {
23560 SWIG_null_ref("wxDateTime");
23562 if (SWIG_arg_fail(2)) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23580 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
= NULL
;
23582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23583 wxDateTime
*arg2
= 0 ;
23584 wxTimeSpan
*arg3
= 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 PyObject
* obj2
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "dt",(char *) "ts", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23595 if (SWIG_arg_fail(1)) SWIG_fail
;
23597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(2)) SWIG_fail
;
23599 if (arg2
== NULL
) {
23600 SWIG_null_ref("wxDateTime");
23602 if (SWIG_arg_fail(2)) SWIG_fail
;
23605 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23606 if (SWIG_arg_fail(3)) SWIG_fail
;
23607 if (arg3
== NULL
) {
23608 SWIG_null_ref("wxTimeSpan");
23610 if (SWIG_arg_fail(3)) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
= NULL
;
23630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23631 wxTimeSpan
*arg2
= 0 ;
23632 wxDateTime
*result
;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self",(char *) "diff", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail
;
23643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23644 if (SWIG_arg_fail(2)) SWIG_fail
;
23645 if (arg2
== NULL
) {
23646 SWIG_null_ref("wxTimeSpan");
23648 if (SWIG_arg_fail(2)) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23654 result
= (wxDateTime
*) &_result_ref
;
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23667 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= NULL
;
23669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23670 wxDateSpan
*arg2
= 0 ;
23671 wxDateTime
*result
;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self",(char *) "diff", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail
;
23682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23683 if (SWIG_arg_fail(2)) SWIG_fail
;
23684 if (arg2
== NULL
) {
23685 SWIG_null_ref("wxDateSpan");
23687 if (SWIG_arg_fail(2)) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23693 result
= (wxDateTime
*) &_result_ref
;
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23706 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
= NULL
;
23708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23709 wxTimeSpan
*arg2
= 0 ;
23710 wxDateTime
*result
;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 char *kwnames
[] = {
23714 (char *) "self",(char *) "diff", NULL
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23719 if (SWIG_arg_fail(1)) SWIG_fail
;
23721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23722 if (SWIG_arg_fail(2)) SWIG_fail
;
23723 if (arg2
== NULL
) {
23724 SWIG_null_ref("wxTimeSpan");
23726 if (SWIG_arg_fail(2)) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23732 result
= (wxDateTime
*) &_result_ref
;
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23745 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
= NULL
;
23747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23748 wxDateSpan
*arg2
= 0 ;
23749 wxDateTime
*result
;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self",(char *) "diff", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail
;
23760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23761 if (SWIG_arg_fail(2)) SWIG_fail
;
23762 if (arg2
== NULL
) {
23763 SWIG_null_ref("wxDateSpan");
23765 if (SWIG_arg_fail(2)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23771 result
= (wxDateTime
*) &_result_ref
;
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23784 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= NULL
;
23786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23787 wxDateTime
*arg2
= 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "dt", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23800 if (SWIG_arg_fail(2)) SWIG_fail
;
23801 if (arg2
== NULL
) {
23802 SWIG_null_ref("wxDateTime");
23804 if (SWIG_arg_fail(2)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 wxTimeSpan
* resultptr
;
23815 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23824 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23825 PyObject
*resultobj
= NULL
;
23826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23827 wxTimeSpan
*arg2
= 0 ;
23828 wxDateTime
*result
;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23832 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23837 if (SWIG_arg_fail(2)) SWIG_fail
;
23838 if (arg2
== NULL
) {
23839 SWIG_null_ref("wxTimeSpan");
23841 if (SWIG_arg_fail(2)) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23847 result
= (wxDateTime
*) &_result_ref
;
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23860 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23861 PyObject
*resultobj
= NULL
;
23862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23863 wxDateSpan
*arg2
= 0 ;
23864 wxDateTime
*result
;
23865 PyObject
* obj0
= 0 ;
23866 PyObject
* obj1
= 0 ;
23868 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23870 if (SWIG_arg_fail(1)) SWIG_fail
;
23872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23873 if (SWIG_arg_fail(2)) SWIG_fail
;
23874 if (arg2
== NULL
) {
23875 SWIG_null_ref("wxDateSpan");
23877 if (SWIG_arg_fail(2)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23883 result
= (wxDateTime
*) &_result_ref
;
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23896 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23901 argc
= PyObject_Length(args
);
23902 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23903 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23919 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23927 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23935 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23945 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23953 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23958 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23963 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23964 PyObject
*resultobj
= NULL
;
23965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23966 wxTimeSpan
*arg2
= 0 ;
23967 wxDateTime
*result
;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23971 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23973 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(2)) SWIG_fail
;
23977 if (arg2
== NULL
) {
23978 SWIG_null_ref("wxTimeSpan");
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23986 result
= (wxDateTime
*) &_result_ref
;
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23999 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
24000 PyObject
*resultobj
= NULL
;
24001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24002 wxDateSpan
*arg2
= 0 ;
24003 wxDateTime
*result
;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24007 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
24008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24009 if (SWIG_arg_fail(1)) SWIG_fail
;
24011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24012 if (SWIG_arg_fail(2)) SWIG_fail
;
24013 if (arg2
== NULL
) {
24014 SWIG_null_ref("wxDateSpan");
24016 if (SWIG_arg_fail(2)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24022 result
= (wxDateTime
*) &_result_ref
;
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24035 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24040 argc
= PyObject_Length(args
);
24041 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24042 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24066 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24084 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24092 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24097 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24102 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24103 PyObject
*resultobj
= NULL
;
24104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24105 wxTimeSpan
*arg2
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24110 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24112 if (SWIG_arg_fail(1)) SWIG_fail
;
24114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24115 if (SWIG_arg_fail(2)) SWIG_fail
;
24116 if (arg2
== NULL
) {
24117 SWIG_null_ref("wxTimeSpan");
24119 if (SWIG_arg_fail(2)) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 wxDateTime
* resultptr
;
24130 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24139 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24140 PyObject
*resultobj
= NULL
;
24141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24142 wxDateSpan
*arg2
= 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24147 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail
;
24151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(2)) SWIG_fail
;
24153 if (arg2
== NULL
) {
24154 SWIG_null_ref("wxDateSpan");
24156 if (SWIG_arg_fail(2)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 wxDateTime
* resultptr
;
24167 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24176 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24181 argc
= PyObject_Length(args
);
24182 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24183 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24199 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24207 return _wrap_DateTime___add____SWIG_0(self
,args
);
24215 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24225 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24233 return _wrap_DateTime___add____SWIG_1(self
,args
);
24238 Py_INCREF(Py_NotImplemented
);
24239 return Py_NotImplemented
;
24243 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24244 PyObject
*resultobj
= NULL
;
24245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24246 wxDateTime
*arg2
= 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24251 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(2)) SWIG_fail
;
24257 if (arg2
== NULL
) {
24258 SWIG_null_ref("wxDateTime");
24260 if (SWIG_arg_fail(2)) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 wxTimeSpan
* resultptr
;
24271 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24280 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24281 PyObject
*resultobj
= NULL
;
24282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24283 wxTimeSpan
*arg2
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24288 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(2)) SWIG_fail
;
24294 if (arg2
== NULL
) {
24295 SWIG_null_ref("wxTimeSpan");
24297 if (SWIG_arg_fail(2)) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 wxDateTime
* resultptr
;
24308 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24317 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24318 PyObject
*resultobj
= NULL
;
24319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24320 wxDateSpan
*arg2
= 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24325 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24327 if (SWIG_arg_fail(1)) SWIG_fail
;
24329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24330 if (SWIG_arg_fail(2)) SWIG_fail
;
24331 if (arg2
== NULL
) {
24332 SWIG_null_ref("wxDateSpan");
24334 if (SWIG_arg_fail(2)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 wxDateTime
* resultptr
;
24345 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24354 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24359 argc
= PyObject_Length(args
);
24360 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24361 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24367 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24377 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24385 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24393 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24403 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24411 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24419 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24429 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24437 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24442 Py_INCREF(Py_NotImplemented
);
24443 return Py_NotImplemented
;
24447 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
= NULL
;
24449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24450 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self",(char *) "other", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24460 if (SWIG_arg_fail(1)) SWIG_fail
;
24461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24462 if (SWIG_arg_fail(2)) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24479 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
= NULL
;
24481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24482 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "other", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24492 if (SWIG_arg_fail(1)) SWIG_fail
;
24493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24494 if (SWIG_arg_fail(2)) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24511 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= NULL
;
24513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24514 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "other", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail
;
24525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24526 if (SWIG_arg_fail(2)) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24543 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
= NULL
;
24545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24546 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "other", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(1)) SWIG_fail
;
24557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24558 if (SWIG_arg_fail(2)) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= NULL
;
24577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24578 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "other", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24590 if (SWIG_arg_fail(2)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24607 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
= NULL
;
24609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24610 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self",(char *) "other", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24620 if (SWIG_arg_fail(1)) SWIG_fail
;
24621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24622 if (SWIG_arg_fail(2)) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24639 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
= NULL
;
24641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24642 wxString
*arg2
= 0 ;
24644 bool temp2
= false ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "date", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail
;
24655 arg2
= wxString_in_helper(obj1
);
24656 if (arg2
== NULL
) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= SWIG_From_int(static_cast<int >(result
));
24683 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= NULL
;
24685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24686 wxString
*arg2
= 0 ;
24687 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24689 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24690 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24692 bool temp2
= false ;
24693 bool temp3
= false ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 PyObject
* obj2
= 0 ;
24697 PyObject
* obj3
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24704 if (SWIG_arg_fail(1)) SWIG_fail
;
24706 arg2
= wxString_in_helper(obj1
);
24707 if (arg2
== NULL
) SWIG_fail
;
24712 arg3
= wxString_in_helper(obj2
);
24713 if (arg3
== NULL
) SWIG_fail
;
24719 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(4)) SWIG_fail
;
24721 if (arg4
== NULL
) {
24722 SWIG_null_ref("wxDateTime");
24724 if (SWIG_arg_fail(4)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_From_int(static_cast<int >(result
));
24759 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
= NULL
;
24761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24762 wxString
*arg2
= 0 ;
24764 bool temp2
= false ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "datetime", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24773 if (SWIG_arg_fail(1)) SWIG_fail
;
24775 arg2
= wxString_in_helper(obj1
);
24776 if (arg2
== NULL
) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= SWIG_From_int(static_cast<int >(result
));
24803 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
= NULL
;
24805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24806 wxString
*arg2
= 0 ;
24808 bool temp2
= false ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "date", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24817 if (SWIG_arg_fail(1)) SWIG_fail
;
24819 arg2
= wxString_in_helper(obj1
);
24820 if (arg2
== NULL
) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_From_int(static_cast<int >(result
));
24847 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
= NULL
;
24849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24850 wxString
*arg2
= 0 ;
24852 bool temp2
= false ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "time", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 arg2
= wxString_in_helper(obj1
);
24864 if (arg2
== NULL
) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_From_int(static_cast<int >(result
));
24891 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= NULL
;
24893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24894 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24895 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24896 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24897 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24899 bool temp2
= false ;
24900 bool temp3
= false ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 PyObject
* obj2
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "format",(char *) "tz", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 arg2
= wxString_in_helper(obj1
);
24914 if (arg2
== NULL
) SWIG_fail
;
24920 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24943 if (temp3
) delete arg3
;
24952 if (temp3
) delete arg3
;
24958 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
= NULL
;
24960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24990 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
= NULL
;
24992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= ((wxDateTime
const *)arg1
)->FormatTime();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25022 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
= NULL
;
25024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25054 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= NULL
;
25056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25086 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25089 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25091 return Py_BuildValue((char *)"");
25093 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= NULL
;
25097 PyObject
* obj0
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "sec", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25104 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25105 if (SWIG_arg_fail(1)) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= wxTimeSpan::Seconds(arg1
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 wxTimeSpan
* resultptr
;
25116 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25125 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
= NULL
;
25128 char *kwnames
[] = {
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= wxTimeSpan::Second();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 wxTimeSpan
* resultptr
;
25142 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25151 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= NULL
;
25155 PyObject
* obj0
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "min", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25162 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25163 if (SWIG_arg_fail(1)) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= wxTimeSpan::Minutes(arg1
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 wxTimeSpan
* resultptr
;
25174 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25183 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
= NULL
;
25186 char *kwnames
[] = {
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= wxTimeSpan::Minute();
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 wxTimeSpan
* resultptr
;
25200 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25209 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= NULL
;
25213 PyObject
* obj0
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "hours", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25220 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25221 if (SWIG_arg_fail(1)) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= wxTimeSpan::Hours(arg1
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25231 wxTimeSpan
* resultptr
;
25232 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25241 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= NULL
;
25244 char *kwnames
[] = {
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= wxTimeSpan::Hour();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 wxTimeSpan
* resultptr
;
25258 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25267 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= NULL
;
25271 PyObject
* obj0
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "days", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25278 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25279 if (SWIG_arg_fail(1)) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 result
= wxTimeSpan::Days(arg1
);
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25289 wxTimeSpan
* resultptr
;
25290 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25299 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= NULL
;
25302 char *kwnames
[] = {
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= wxTimeSpan::Day();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 wxTimeSpan
* resultptr
;
25316 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25325 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
= NULL
;
25329 PyObject
* obj0
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "days", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25336 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25337 if (SWIG_arg_fail(1)) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= wxTimeSpan::Weeks(arg1
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 wxTimeSpan
* resultptr
;
25348 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25357 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
= NULL
;
25360 char *kwnames
[] = {
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= wxTimeSpan::Week();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 wxTimeSpan
* resultptr
;
25374 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25383 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
= NULL
;
25385 long arg1
= (long) 0 ;
25386 long arg2
= (long) 0 ;
25387 long arg3
= (long) 0 ;
25388 long arg4
= (long) 0 ;
25389 wxTimeSpan
*result
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 PyObject
* obj3
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25401 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25402 if (SWIG_arg_fail(1)) SWIG_fail
;
25407 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25408 if (SWIG_arg_fail(2)) SWIG_fail
;
25413 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25414 if (SWIG_arg_fail(3)) SWIG_fail
;
25419 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25420 if (SWIG_arg_fail(4)) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25437 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
= NULL
;
25439 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25447 if (SWIG_arg_fail(1)) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 Py_INCREF(Py_None
); resultobj
= Py_None
;
25462 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
= NULL
;
25464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25465 wxTimeSpan
*arg2
= 0 ;
25466 wxTimeSpan
*result
;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "diff", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25475 if (SWIG_arg_fail(1)) SWIG_fail
;
25477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(2)) SWIG_fail
;
25479 if (arg2
== NULL
) {
25480 SWIG_null_ref("wxTimeSpan");
25482 if (SWIG_arg_fail(2)) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25488 result
= (wxTimeSpan
*) &_result_ref
;
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25501 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
= NULL
;
25503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25504 wxTimeSpan
*arg2
= 0 ;
25505 wxTimeSpan
*result
;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self",(char *) "diff", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25514 if (SWIG_arg_fail(1)) SWIG_fail
;
25516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25517 if (SWIG_arg_fail(2)) SWIG_fail
;
25518 if (arg2
== NULL
) {
25519 SWIG_null_ref("wxTimeSpan");
25521 if (SWIG_arg_fail(2)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25527 result
= (wxTimeSpan
*) &_result_ref
;
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25540 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
= NULL
;
25542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25544 wxTimeSpan
*result
;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self",(char *) "n", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25553 if (SWIG_arg_fail(1)) SWIG_fail
;
25555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25556 if (SWIG_arg_fail(2)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25562 result
= (wxTimeSpan
*) &_result_ref
;
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25575 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
= NULL
;
25577 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25578 wxTimeSpan
*result
;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25591 result
= (wxTimeSpan
*) &_result_ref
;
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25604 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
= NULL
;
25606 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25615 if (SWIG_arg_fail(1)) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 wxTimeSpan
* resultptr
;
25625 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25634 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= NULL
;
25636 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25637 wxTimeSpan
*arg2
= 0 ;
25638 wxTimeSpan
*result
;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "diff", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25647 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25650 if (SWIG_arg_fail(2)) SWIG_fail
;
25651 if (arg2
== NULL
) {
25652 SWIG_null_ref("wxTimeSpan");
25654 if (SWIG_arg_fail(2)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25660 result
= (wxTimeSpan
*) &_result_ref
;
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25673 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= NULL
;
25675 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25676 wxTimeSpan
*arg2
= 0 ;
25677 wxTimeSpan
*result
;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self",(char *) "diff", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25686 if (SWIG_arg_fail(1)) SWIG_fail
;
25688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25689 if (SWIG_arg_fail(2)) SWIG_fail
;
25690 if (arg2
== NULL
) {
25691 SWIG_null_ref("wxTimeSpan");
25693 if (SWIG_arg_fail(2)) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25699 result
= (wxTimeSpan
*) &_result_ref
;
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25712 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
= NULL
;
25714 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25716 wxTimeSpan
*result
;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "n", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25725 if (SWIG_arg_fail(1)) SWIG_fail
;
25727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25728 if (SWIG_arg_fail(2)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25734 result
= (wxTimeSpan
*) &_result_ref
;
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25747 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
= NULL
;
25749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25750 wxTimeSpan
*result
;
25751 PyObject
* obj0
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25758 if (SWIG_arg_fail(1)) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25763 result
= (wxTimeSpan
*) &_result_ref
;
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25776 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= NULL
;
25778 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25779 wxTimeSpan
*arg2
= 0 ;
25781 PyObject
* obj0
= 0 ;
25782 PyObject
* obj1
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "other", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25789 if (SWIG_arg_fail(1)) SWIG_fail
;
25791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25792 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 if (arg2
== NULL
) {
25794 SWIG_null_ref("wxTimeSpan");
25796 if (SWIG_arg_fail(2)) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 wxTimeSpan
* resultptr
;
25807 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25816 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
= NULL
;
25818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25819 wxTimeSpan
*arg2
= 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "other", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25829 if (SWIG_arg_fail(1)) SWIG_fail
;
25831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(2)) SWIG_fail
;
25833 if (arg2
== NULL
) {
25834 SWIG_null_ref("wxTimeSpan");
25836 if (SWIG_arg_fail(2)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 wxTimeSpan
* resultptr
;
25847 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25856 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= NULL
;
25858 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "n", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25872 if (SWIG_arg_fail(2)) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= wxTimeSpan___mul__(arg1
,arg2
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 wxTimeSpan
* resultptr
;
25883 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25892 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
= NULL
;
25894 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "n", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25905 if (SWIG_arg_fail(1)) SWIG_fail
;
25907 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25908 if (SWIG_arg_fail(2)) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 wxTimeSpan
* resultptr
;
25919 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25928 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
= NULL
;
25930 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25931 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25933 PyObject
* obj0
= 0 ;
25934 PyObject
* obj1
= 0 ;
25935 char *kwnames
[] = {
25936 (char *) "self",(char *) "other", NULL
25939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(1)) SWIG_fail
;
25942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25943 if (SWIG_arg_fail(2)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25960 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
= NULL
;
25962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25963 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self",(char *) "other", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(1)) SWIG_fail
;
25974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(2)) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25992 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= NULL
;
25994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25995 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self",(char *) "other", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
26004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26005 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26007 if (SWIG_arg_fail(2)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26024 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= NULL
;
26026 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26027 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "other", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail
;
26038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26039 if (SWIG_arg_fail(2)) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26056 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
= NULL
;
26058 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26059 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "other", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(1)) SWIG_fail
;
26070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(2)) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26088 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
= NULL
;
26090 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26091 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "other", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(1)) SWIG_fail
;
26102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(2)) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26120 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
= NULL
;
26122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26148 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
= NULL
;
26150 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26176 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
= NULL
;
26178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26187 if (SWIG_arg_fail(1)) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26204 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
= NULL
;
26206 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26207 wxTimeSpan
*arg2
= 0 ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self",(char *) "ts", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail
;
26219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26220 if (SWIG_arg_fail(2)) SWIG_fail
;
26221 if (arg2
== NULL
) {
26222 SWIG_null_ref("wxTimeSpan");
26224 if (SWIG_arg_fail(2)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26242 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
= NULL
;
26244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26245 wxTimeSpan
*arg2
= 0 ;
26247 PyObject
* obj0
= 0 ;
26248 PyObject
* obj1
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self",(char *) "ts", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26255 if (SWIG_arg_fail(1)) SWIG_fail
;
26257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26258 if (SWIG_arg_fail(2)) SWIG_fail
;
26259 if (arg2
== NULL
) {
26260 SWIG_null_ref("wxTimeSpan");
26262 if (SWIG_arg_fail(2)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26280 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
= NULL
;
26282 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26283 wxTimeSpan
*arg2
= 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self",(char *) "t", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail
;
26295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(2)) SWIG_fail
;
26297 if (arg2
== NULL
) {
26298 SWIG_null_ref("wxTimeSpan");
26300 if (SWIG_arg_fail(2)) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26318 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
= NULL
;
26320 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26329 if (SWIG_arg_fail(1)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_From_int(static_cast<int >(result
));
26346 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
= NULL
;
26348 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_From_int(static_cast<int >(result
));
26374 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= NULL
;
26376 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 char *kwnames
[] = {
26380 (char *) "self", NULL
26383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26385 if (SWIG_arg_fail(1)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_From_int(static_cast<int >(result
));
26402 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
= NULL
;
26404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_From_int(static_cast<int >(result
));
26430 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= NULL
;
26432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26441 if (SWIG_arg_fail(1)) SWIG_fail
;
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26450 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26451 hi
= PyLong_FromLong( (&result
)->GetHi() );
26452 lo
= PyLong_FromLong( (&result
)->GetLo() );
26453 shifter
= PyLong_FromLong(32);
26454 shifted
= PyNumber_Lshift(hi
, shifter
);
26455 resultobj
= PyNumber_Or(shifted
, lo
);
26458 Py_DECREF(shifter
);
26459 Py_DECREF(shifted
);
26467 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
= NULL
;
26469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26487 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26488 hi
= PyLong_FromLong( (&result
)->GetHi() );
26489 lo
= PyLong_FromLong( (&result
)->GetLo() );
26490 shifter
= PyLong_FromLong(32);
26491 shifted
= PyNumber_Lshift(hi
, shifter
);
26492 resultobj
= PyNumber_Or(shifted
, lo
);
26495 Py_DECREF(shifter
);
26496 Py_DECREF(shifted
);
26504 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= NULL
;
26506 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26507 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26510 bool temp2
= false ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "format", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26519 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 arg2
= wxString_in_helper(obj1
);
26523 if (arg2
== NULL
) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26555 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26558 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26560 return Py_BuildValue((char *)"");
26562 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= NULL
;
26564 int arg1
= (int) 0 ;
26565 int arg2
= (int) 0 ;
26566 int arg3
= (int) 0 ;
26567 int arg4
= (int) 0 ;
26568 wxDateSpan
*result
;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 PyObject
* obj2
= 0 ;
26572 PyObject
* obj3
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26580 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26581 if (SWIG_arg_fail(1)) SWIG_fail
;
26586 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26587 if (SWIG_arg_fail(2)) SWIG_fail
;
26592 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26593 if (SWIG_arg_fail(3)) SWIG_fail
;
26598 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26599 if (SWIG_arg_fail(4)) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26616 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
= NULL
;
26618 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26626 if (SWIG_arg_fail(1)) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 Py_INCREF(Py_None
); resultobj
= Py_None
;
26641 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
= NULL
;
26645 PyObject
* obj0
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "days", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26652 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26653 if (SWIG_arg_fail(1)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= wxDateSpan::Days(arg1
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26663 wxDateSpan
* resultptr
;
26664 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26673 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
= NULL
;
26676 char *kwnames
[] = {
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= wxDateSpan::Day();
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26689 wxDateSpan
* resultptr
;
26690 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26699 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= NULL
;
26703 PyObject
* obj0
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "weeks", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26710 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26711 if (SWIG_arg_fail(1)) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= wxDateSpan::Weeks(arg1
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 wxDateSpan
* resultptr
;
26722 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26731 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= NULL
;
26734 char *kwnames
[] = {
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= wxDateSpan::Week();
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 wxDateSpan
* resultptr
;
26748 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26757 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
= NULL
;
26761 PyObject
* obj0
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "mon", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26768 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26769 if (SWIG_arg_fail(1)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= wxDateSpan::Months(arg1
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26779 wxDateSpan
* resultptr
;
26780 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26789 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
= NULL
;
26792 char *kwnames
[] = {
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= wxDateSpan::Month();
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26805 wxDateSpan
* resultptr
;
26806 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26815 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
= NULL
;
26819 PyObject
* obj0
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "years", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26826 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26827 if (SWIG_arg_fail(1)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= wxDateSpan::Years(arg1
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 wxDateSpan
* resultptr
;
26838 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26847 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
= NULL
;
26850 char *kwnames
[] = {
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= wxDateSpan::Year();
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 wxDateSpan
* resultptr
;
26864 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26873 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= NULL
;
26875 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26877 wxDateSpan
*result
;
26878 PyObject
* obj0
= 0 ;
26879 PyObject
* obj1
= 0 ;
26880 char *kwnames
[] = {
26881 (char *) "self",(char *) "n", NULL
26884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26886 if (SWIG_arg_fail(1)) SWIG_fail
;
26888 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26889 if (SWIG_arg_fail(2)) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26895 result
= (wxDateSpan
*) &_result_ref
;
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26908 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= NULL
;
26910 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26912 wxDateSpan
*result
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "n", NULL
26919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26921 if (SWIG_arg_fail(1)) SWIG_fail
;
26923 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26924 if (SWIG_arg_fail(2)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26930 result
= (wxDateSpan
*) &_result_ref
;
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26943 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
= NULL
;
26945 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26947 wxDateSpan
*result
;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "n", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26956 if (SWIG_arg_fail(1)) SWIG_fail
;
26958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26959 if (SWIG_arg_fail(2)) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26965 result
= (wxDateSpan
*) &_result_ref
;
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26978 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= NULL
;
26980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26982 wxDateSpan
*result
;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 char *kwnames
[] = {
26986 (char *) "self",(char *) "n", NULL
26989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail
;
26993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26994 if (SWIG_arg_fail(2)) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
27000 result
= (wxDateSpan
*) &_result_ref
;
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27013 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
= NULL
;
27015 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27024 if (SWIG_arg_fail(1)) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_From_int(static_cast<int >(result
));
27041 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
= NULL
;
27043 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27052 if (SWIG_arg_fail(1)) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= SWIG_From_int(static_cast<int >(result
));
27069 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= NULL
;
27071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27080 if (SWIG_arg_fail(1)) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_From_int(static_cast<int >(result
));
27097 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
= NULL
;
27099 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27108 if (SWIG_arg_fail(1)) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_From_int(static_cast<int >(result
));
27125 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
= NULL
;
27127 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_From_int(static_cast<int >(result
));
27153 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= NULL
;
27155 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27156 wxDateSpan
*arg2
= 0 ;
27157 wxDateSpan
*result
;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "other", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail
;
27168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(2)) SWIG_fail
;
27170 if (arg2
== NULL
) {
27171 SWIG_null_ref("wxDateSpan");
27173 if (SWIG_arg_fail(2)) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27179 result
= (wxDateSpan
*) &_result_ref
;
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27192 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
= NULL
;
27194 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27195 wxDateSpan
*arg2
= 0 ;
27196 wxDateSpan
*result
;
27197 PyObject
* obj0
= 0 ;
27198 PyObject
* obj1
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "other", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27208 if (SWIG_arg_fail(2)) SWIG_fail
;
27209 if (arg2
== NULL
) {
27210 SWIG_null_ref("wxDateSpan");
27212 if (SWIG_arg_fail(2)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27218 result
= (wxDateSpan
*) &_result_ref
;
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27231 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
= NULL
;
27233 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27234 wxDateSpan
*result
;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27247 result
= (wxDateSpan
*) &_result_ref
;
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27260 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
= NULL
;
27262 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27264 wxDateSpan
*result
;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "factor", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27275 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27276 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27282 result
= (wxDateSpan
*) &_result_ref
;
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27295 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
= NULL
;
27297 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27298 wxDateSpan
*arg2
= 0 ;
27299 wxDateSpan
*result
;
27300 PyObject
* obj0
= 0 ;
27301 PyObject
* obj1
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self",(char *) "other", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27308 if (SWIG_arg_fail(1)) SWIG_fail
;
27310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27311 if (SWIG_arg_fail(2)) SWIG_fail
;
27312 if (arg2
== NULL
) {
27313 SWIG_null_ref("wxDateSpan");
27315 if (SWIG_arg_fail(2)) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27321 result
= (wxDateSpan
*) &_result_ref
;
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27334 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
= NULL
;
27336 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27337 wxDateSpan
*arg2
= 0 ;
27338 wxDateSpan
*result
;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "other", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27347 if (SWIG_arg_fail(1)) SWIG_fail
;
27349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27350 if (SWIG_arg_fail(2)) SWIG_fail
;
27351 if (arg2
== NULL
) {
27352 SWIG_null_ref("wxDateSpan");
27354 if (SWIG_arg_fail(2)) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27360 result
= (wxDateSpan
*) &_result_ref
;
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27373 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= NULL
;
27375 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27376 wxDateSpan
*result
;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27384 if (SWIG_arg_fail(1)) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27389 result
= (wxDateSpan
*) &_result_ref
;
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27402 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
= NULL
;
27404 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27406 wxDateSpan
*result
;
27407 PyObject
* obj0
= 0 ;
27408 PyObject
* obj1
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "factor", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27415 if (SWIG_arg_fail(1)) SWIG_fail
;
27417 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27418 if (SWIG_arg_fail(2)) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27424 result
= (wxDateSpan
*) &_result_ref
;
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27437 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
= NULL
;
27439 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27440 wxDateSpan
*arg2
= 0 ;
27442 PyObject
* obj0
= 0 ;
27443 PyObject
* obj1
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self",(char *) "other", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27450 if (SWIG_arg_fail(1)) SWIG_fail
;
27452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27453 if (SWIG_arg_fail(2)) SWIG_fail
;
27454 if (arg2
== NULL
) {
27455 SWIG_null_ref("wxDateSpan");
27457 if (SWIG_arg_fail(2)) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 wxDateSpan
* resultptr
;
27468 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27477 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= NULL
;
27479 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27480 wxDateSpan
*arg2
= 0 ;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "other", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27490 if (SWIG_arg_fail(1)) SWIG_fail
;
27492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27493 if (SWIG_arg_fail(2)) SWIG_fail
;
27494 if (arg2
== NULL
) {
27495 SWIG_null_ref("wxDateSpan");
27497 if (SWIG_arg_fail(2)) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27507 wxDateSpan
* resultptr
;
27508 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27517 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
= NULL
;
27519 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "n", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27533 if (SWIG_arg_fail(2)) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= wxDateSpan___mul__(arg1
,arg2
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 wxDateSpan
* resultptr
;
27544 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27553 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
= NULL
;
27555 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "n", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27566 if (SWIG_arg_fail(1)) SWIG_fail
;
27568 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27569 if (SWIG_arg_fail(2)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= wxDateSpan___rmul__(arg1
,arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27579 wxDateSpan
* resultptr
;
27580 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27589 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
= NULL
;
27591 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27592 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "other", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27602 if (SWIG_arg_fail(1)) SWIG_fail
;
27603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27604 if (SWIG_arg_fail(2)) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27621 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
= NULL
;
27623 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27624 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "other", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27636 if (SWIG_arg_fail(2)) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27653 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27656 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27658 return Py_BuildValue((char *)"");
27660 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
= NULL
;
27663 char *kwnames
[] = {
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (long)wxGetLocalTime();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_From_long(static_cast<long >(result
));
27684 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= NULL
;
27687 char *kwnames
[] = {
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (long)wxGetUTCTime();
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_From_long(static_cast<long >(result
));
27708 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
= NULL
;
27711 char *kwnames
[] = {
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= (long)wxGetCurrentTime();
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= SWIG_From_long(static_cast<long >(result
));
27732 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
= NULL
;
27735 char *kwnames
[] = {
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= wxGetLocalTimeMillis();
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27749 hi
= PyLong_FromLong( (&result
)->GetHi() );
27750 lo
= PyLong_FromLong( (&result
)->GetLo() );
27751 shifter
= PyLong_FromLong(32);
27752 shifted
= PyNumber_Lshift(hi
, shifter
);
27753 resultobj
= PyNumber_Or(shifted
, lo
);
27756 Py_DECREF(shifter
);
27757 Py_DECREF(shifted
);
27765 static int _wrap_DefaultDateTime_set(PyObject
*) {
27766 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27771 static PyObject
*_wrap_DefaultDateTime_get(void) {
27772 PyObject
*pyobj
= NULL
;
27774 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27779 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
= NULL
;
27781 wxDataFormatId arg1
;
27782 wxDataFormat
*result
;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "type", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27790 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27791 if (SWIG_arg_fail(1)) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27807 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
= NULL
;
27809 wxString
*arg1
= 0 ;
27810 wxDataFormat
*result
;
27811 bool temp1
= false ;
27812 PyObject
* obj0
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "format", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27819 arg1
= wxString_in_helper(obj0
);
27820 if (arg1
== NULL
) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27845 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
= NULL
;
27847 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27848 PyObject
* obj0
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27855 if (SWIG_arg_fail(1)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27871 PyObject
*resultobj
= NULL
;
27872 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27873 wxDataFormatId arg2
;
27875 PyObject
* obj0
= 0 ;
27876 PyObject
* obj1
= 0 ;
27878 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27880 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27883 if (SWIG_arg_fail(2)) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27901 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27902 PyObject
*resultobj
= NULL
;
27903 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27904 wxDataFormatId arg2
;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27909 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27911 if (SWIG_arg_fail(1)) SWIG_fail
;
27913 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27914 if (SWIG_arg_fail(2)) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27932 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27933 PyObject
*resultobj
= NULL
;
27934 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27935 wxDataFormat
*arg2
= 0 ;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27940 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27942 if (SWIG_arg_fail(1)) SWIG_fail
;
27944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27945 if (SWIG_arg_fail(2)) SWIG_fail
;
27946 if (arg2
== NULL
) {
27947 SWIG_null_ref("wxDataFormat");
27949 if (SWIG_arg_fail(2)) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27967 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27972 argc
= PyObject_Length(args
);
27973 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27998 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
28006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28014 _v
= SWIG_Check_int(argv
[1]);
28016 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28021 Py_INCREF(Py_NotImplemented
);
28022 return Py_NotImplemented
;
28026 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28027 PyObject
*resultobj
= NULL
;
28028 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28029 wxDataFormat
*arg2
= 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28034 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(1)) SWIG_fail
;
28038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28039 if (SWIG_arg_fail(2)) SWIG_fail
;
28040 if (arg2
== NULL
) {
28041 SWIG_null_ref("wxDataFormat");
28043 if (SWIG_arg_fail(2)) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28061 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28066 argc
= PyObject_Length(args
);
28067 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28068 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28084 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28092 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28100 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28108 _v
= SWIG_Check_int(argv
[1]);
28110 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28115 Py_INCREF(Py_NotImplemented
);
28116 return Py_NotImplemented
;
28120 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= NULL
;
28122 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28123 wxDataFormatId arg2
;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "format", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28132 if (SWIG_arg_fail(1)) SWIG_fail
;
28134 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28135 if (SWIG_arg_fail(2)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 (arg1
)->SetType(arg2
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 Py_INCREF(Py_None
); resultobj
= Py_None
;
28151 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
= NULL
;
28153 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28154 wxDataFormatId result
;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28162 if (SWIG_arg_fail(1)) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_From_int((result
));
28177 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
= NULL
;
28179 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28181 PyObject
* obj0
= 0 ;
28182 char *kwnames
[] = {
28183 (char *) "self", NULL
28186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28188 if (SWIG_arg_fail(1)) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= ((wxDataFormat
const *)arg1
)->GetId();
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28209 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
= NULL
;
28211 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28212 wxString
*arg2
= 0 ;
28213 bool temp2
= false ;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self",(char *) "format", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail
;
28224 arg2
= wxString_in_helper(obj1
);
28225 if (arg2
== NULL
) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->SetId((wxString
const &)*arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 Py_INCREF(Py_None
); resultobj
= Py_None
;
28250 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28253 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28255 return Py_BuildValue((char *)"");
28257 static int _wrap_FormatInvalid_set(PyObject
*) {
28258 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28263 static PyObject
*_wrap_FormatInvalid_get(void) {
28264 PyObject
*pyobj
= NULL
;
28266 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28271 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
= NULL
;
28273 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28281 if (SWIG_arg_fail(1)) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 Py_INCREF(Py_None
); resultobj
= Py_None
;
28296 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= NULL
;
28298 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28299 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28300 SwigValueWrapper
<wxDataFormat
> result
;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self",(char *) "dir", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28313 if (SWIG_arg_fail(2)) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28324 wxDataFormat
* resultptr
;
28325 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28334 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28335 PyObject
*resultobj
= NULL
;
28336 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28337 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self",(char *) "dir", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28347 if (SWIG_arg_fail(1)) SWIG_fail
;
28350 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28351 if (SWIG_arg_fail(2)) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28370 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
= NULL
;
28372 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28373 wxDataFormat
*arg2
= 0 ;
28374 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28376 PyObject
* obj0
= 0 ;
28377 PyObject
* obj1
= 0 ;
28378 PyObject
* obj2
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self",(char *) "format",(char *) "dir", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28385 if (SWIG_arg_fail(1)) SWIG_fail
;
28387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(2)) SWIG_fail
;
28389 if (arg2
== NULL
) {
28390 SWIG_null_ref("wxDataFormat");
28392 if (SWIG_arg_fail(2)) SWIG_fail
;
28396 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28397 if (SWIG_arg_fail(3)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28416 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
= NULL
;
28418 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28419 wxDataFormat
*arg2
= 0 ;
28421 PyObject
* obj0
= 0 ;
28422 PyObject
* obj1
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self",(char *) "format", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28429 if (SWIG_arg_fail(1)) SWIG_fail
;
28431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28432 if (SWIG_arg_fail(2)) SWIG_fail
;
28433 if (arg2
== NULL
) {
28434 SWIG_null_ref("wxDataFormat");
28436 if (SWIG_arg_fail(2)) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28454 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= NULL
;
28456 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28457 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "dir", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28470 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28471 if (SWIG_arg_fail(2)) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= result
;
28488 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= NULL
;
28490 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28491 wxDataFormat
*arg2
= 0 ;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self",(char *) "format", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28501 if (SWIG_arg_fail(1)) SWIG_fail
;
28503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(2)) SWIG_fail
;
28505 if (arg2
== NULL
) {
28506 SWIG_null_ref("wxDataFormat");
28508 if (SWIG_arg_fail(2)) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= result
;
28524 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
= NULL
;
28526 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28527 wxDataFormat
*arg2
= 0 ;
28528 PyObject
*arg3
= (PyObject
*) 0 ;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 PyObject
* obj2
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self",(char *) "format",(char *) "data", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28539 if (SWIG_arg_fail(1)) SWIG_fail
;
28541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28542 if (SWIG_arg_fail(2)) SWIG_fail
;
28543 if (arg2
== NULL
) {
28544 SWIG_null_ref("wxDataFormat");
28546 if (SWIG_arg_fail(2)) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28565 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28568 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28570 return Py_BuildValue((char *)"");
28572 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
= NULL
;
28574 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28575 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28576 wxDataObjectSimple
*result
;
28577 PyObject
* obj0
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "format", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(1)) SWIG_fail
;
28587 if (arg1
== NULL
) {
28588 SWIG_null_ref("wxDataFormat");
28590 if (SWIG_arg_fail(1)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28607 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
= NULL
;
28609 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28610 wxDataFormat
*result
;
28611 PyObject
* obj0
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28618 if (SWIG_arg_fail(1)) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28623 result
= (wxDataFormat
*) &_result_ref
;
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28636 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
= NULL
;
28638 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28639 wxDataFormat
*arg2
= 0 ;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self",(char *) "format", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28651 if (SWIG_arg_fail(2)) SWIG_fail
;
28652 if (arg2
== NULL
) {
28653 SWIG_null_ref("wxDataFormat");
28655 if (SWIG_arg_fail(2)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
= NULL
;
28673 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28699 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
= NULL
;
28701 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= result
;
28725 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
= NULL
;
28727 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28728 PyObject
*arg2
= (PyObject
*) 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self",(char *) "data", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28738 if (SWIG_arg_fail(1)) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28756 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28759 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28761 return Py_BuildValue((char *)"");
28763 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
= NULL
;
28765 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28766 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28767 wxPyDataObjectSimple
*result
;
28768 PyObject
* obj0
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "format", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28778 if (arg1
== NULL
) {
28779 SWIG_null_ref("wxDataFormat");
28781 if (SWIG_arg_fail(1)) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28798 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
= NULL
;
28800 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28801 PyObject
*arg2
= (PyObject
*) 0 ;
28802 PyObject
*arg3
= (PyObject
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "self",(char *) "_class", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 Py_INCREF(Py_None
); resultobj
= Py_None
;
28829 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28832 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28834 return Py_BuildValue((char *)"");
28836 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= NULL
;
28838 wxDataObjectComposite
*result
;
28839 char *kwnames
[] = {
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28858 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
= NULL
;
28860 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28861 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28862 bool arg3
= (bool) false ;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 PyObject
* obj2
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28872 if (SWIG_arg_fail(1)) SWIG_fail
;
28873 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28874 if (SWIG_arg_fail(2)) SWIG_fail
;
28877 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28878 if (SWIG_arg_fail(3)) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->Add(arg2
,arg3
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28895 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28898 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28900 return Py_BuildValue((char *)"");
28902 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
= NULL
;
28904 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28905 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28906 wxTextDataObject
*result
;
28907 bool temp1
= false ;
28908 PyObject
* obj0
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "text", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28916 arg1
= wxString_in_helper(obj0
);
28917 if (arg1
== NULL
) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28943 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
= NULL
;
28945 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28947 PyObject
* obj0
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28954 if (SWIG_arg_fail(1)) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (size_t)(arg1
)->GetTextLength();
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28971 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
= NULL
;
28973 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28975 PyObject
* obj0
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28982 if (SWIG_arg_fail(1)) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (arg1
)->GetText();
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29003 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= NULL
;
29005 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
29006 wxString
*arg2
= 0 ;
29007 bool temp2
= false ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "self",(char *) "text", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
29015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail
;
29018 arg2
= wxString_in_helper(obj1
);
29019 if (arg2
== NULL
) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->SetText((wxString
const &)*arg2
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29044 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29047 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29049 return Py_BuildValue((char *)"");
29051 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
= NULL
;
29053 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29054 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29055 wxPyTextDataObject
*result
;
29056 bool temp1
= false ;
29057 PyObject
* obj0
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "text", NULL
29062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29065 arg1
= wxString_in_helper(obj0
);
29066 if (arg1
== NULL
) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29092 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
= NULL
;
29094 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29095 PyObject
*arg2
= (PyObject
*) 0 ;
29096 PyObject
*arg3
= (PyObject
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "self",(char *) "_class", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(1)) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 Py_INCREF(Py_None
); resultobj
= Py_None
;
29123 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29126 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29128 return Py_BuildValue((char *)"");
29130 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= NULL
;
29132 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29133 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29134 wxBitmapDataObject
*result
;
29135 PyObject
* obj0
= 0 ;
29136 char *kwnames
[] = {
29137 (char *) "bitmap", NULL
29140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29144 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 if (arg1
== NULL
) {
29146 SWIG_null_ref("wxBitmap");
29148 if (SWIG_arg_fail(1)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29165 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
= NULL
;
29167 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29169 PyObject
* obj0
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "self", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29176 if (SWIG_arg_fail(1)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 wxBitmap
* resultptr
;
29186 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29195 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= NULL
;
29197 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29198 wxBitmap
*arg2
= 0 ;
29199 PyObject
* obj0
= 0 ;
29200 PyObject
* obj1
= 0 ;
29201 char *kwnames
[] = {
29202 (char *) "self",(char *) "bitmap", NULL
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29207 if (SWIG_arg_fail(1)) SWIG_fail
;
29209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29210 if (SWIG_arg_fail(2)) SWIG_fail
;
29211 if (arg2
== NULL
) {
29212 SWIG_null_ref("wxBitmap");
29214 if (SWIG_arg_fail(2)) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 Py_INCREF(Py_None
); resultobj
= Py_None
;
29230 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29233 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29235 return Py_BuildValue((char *)"");
29237 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29238 PyObject
*resultobj
= NULL
;
29239 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29240 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29241 wxPyBitmapDataObject
*result
;
29242 PyObject
* obj0
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "bitmap", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29251 if (SWIG_arg_fail(1)) SWIG_fail
;
29252 if (arg1
== NULL
) {
29253 SWIG_null_ref("wxBitmap");
29255 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29272 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
= NULL
;
29274 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29275 PyObject
*arg2
= (PyObject
*) 0 ;
29276 PyObject
*arg3
= (PyObject
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "self",(char *) "_class", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 Py_INCREF(Py_None
); resultobj
= Py_None
;
29303 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29306 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29308 return Py_BuildValue((char *)"");
29310 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
= NULL
;
29312 wxFileDataObject
*result
;
29313 char *kwnames
[] = {
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 result
= (wxFileDataObject
*)new wxFileDataObject();
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29332 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
= NULL
;
29334 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29335 wxArrayString
*result
;
29336 PyObject
* obj0
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "self", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29343 if (SWIG_arg_fail(1)) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29348 result
= (wxArrayString
*) &_result_ref
;
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= wxArrayString2PyList_helper(*result
);
29363 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= NULL
;
29365 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29366 wxString
*arg2
= 0 ;
29367 bool temp2
= false ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self",(char *) "filename", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29376 if (SWIG_arg_fail(1)) SWIG_fail
;
29378 arg2
= wxString_in_helper(obj1
);
29379 if (arg2
== NULL
) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 (arg1
)->AddFile((wxString
const &)*arg2
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29389 Py_INCREF(Py_None
); resultobj
= Py_None
;
29404 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29407 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29409 return Py_BuildValue((char *)"");
29411 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29412 PyObject
*resultobj
= NULL
;
29413 wxDataFormat
*arg1
= 0 ;
29414 wxCustomDataObject
*result
;
29415 PyObject
* obj0
= 0 ;
29417 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29420 if (SWIG_arg_fail(1)) SWIG_fail
;
29421 if (arg1
== NULL
) {
29422 SWIG_null_ref("wxDataFormat");
29424 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29440 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29441 PyObject
*resultobj
= NULL
;
29442 wxString
*arg1
= 0 ;
29443 wxCustomDataObject
*result
;
29444 bool temp1
= false ;
29445 PyObject
* obj0
= 0 ;
29447 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29449 arg1
= wxString_in_helper(obj0
);
29450 if (arg1
== NULL
) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29475 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29476 PyObject
*resultobj
= NULL
;
29477 wxCustomDataObject
*result
;
29479 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29494 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29499 argc
= PyObject_Length(args
);
29500 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29501 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29504 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29509 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29512 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29527 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29531 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29536 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
= NULL
;
29538 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29539 PyObject
*arg2
= (PyObject
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self",(char *) "data", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29549 if (SWIG_arg_fail(1)) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29567 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
= NULL
;
29569 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 char *kwnames
[] = {
29573 (char *) "self", NULL
29576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29578 if (SWIG_arg_fail(1)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (size_t)(arg1
)->GetSize();
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29595 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
= NULL
;
29597 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29599 PyObject
* obj0
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29606 if (SWIG_arg_fail(1)) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= result
;
29621 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29624 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29626 return Py_BuildValue((char *)"");
29628 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= NULL
;
29630 wxURLDataObject
*result
;
29631 char *kwnames
[] = {
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (wxURLDataObject
*)new wxURLDataObject();
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29650 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= NULL
;
29652 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29654 PyObject
* obj0
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (arg1
)->GetURL();
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29682 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
= NULL
;
29684 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29685 wxString
*arg2
= 0 ;
29686 bool temp2
= false ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 char *kwnames
[] = {
29690 (char *) "self",(char *) "url", NULL
29693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29695 if (SWIG_arg_fail(1)) SWIG_fail
;
29697 arg2
= wxString_in_helper(obj1
);
29698 if (arg2
== NULL
) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 (arg1
)->SetURL((wxString
const &)*arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 Py_INCREF(Py_None
); resultobj
= Py_None
;
29723 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29726 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29728 return Py_BuildValue((char *)"");
29730 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
= NULL
;
29732 wxMetafileDataObject
*result
;
29733 char *kwnames
[] = {
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29752 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29755 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29757 return Py_BuildValue((char *)"");
29759 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= NULL
;
29761 wxDragResult arg1
;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "res", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29770 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (bool)wxIsDragResultOk(arg1
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29789 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
= NULL
;
29791 wxWindow
*arg1
= (wxWindow
*) 0 ;
29792 wxIcon
const &arg2_defvalue
= wxNullIcon
;
29793 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
29794 wxIcon
const &arg3_defvalue
= wxNullIcon
;
29795 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
29796 wxIcon
const &arg4_defvalue
= wxNullIcon
;
29797 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
29798 wxPyDropSource
*result
;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 PyObject
* obj2
= 0 ;
29802 PyObject
* obj3
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29809 if (SWIG_arg_fail(1)) SWIG_fail
;
29812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29813 if (SWIG_arg_fail(2)) SWIG_fail
;
29814 if (arg2
== NULL
) {
29815 SWIG_null_ref("wxIcon");
29817 if (SWIG_arg_fail(2)) SWIG_fail
;
29822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(3)) SWIG_fail
;
29824 if (arg3
== NULL
) {
29825 SWIG_null_ref("wxIcon");
29827 if (SWIG_arg_fail(3)) SWIG_fail
;
29832 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
29833 if (SWIG_arg_fail(4)) SWIG_fail
;
29834 if (arg4
== NULL
) {
29835 SWIG_null_ref("wxIcon");
29837 if (SWIG_arg_fail(4)) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29854 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
= NULL
;
29856 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29857 PyObject
*arg2
= (PyObject
*) 0 ;
29858 PyObject
*arg3
= (PyObject
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29874 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29875 if (SWIG_arg_fail(4)) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 Py_INCREF(Py_None
); resultobj
= Py_None
;
29891 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= NULL
;
29893 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 Py_INCREF(Py_None
); resultobj
= Py_None
;
29916 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
= NULL
;
29918 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29919 wxDataObject
*arg2
= 0 ;
29920 PyObject
* obj0
= 0 ;
29921 PyObject
* obj1
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self",(char *) "data", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(1)) SWIG_fail
;
29930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(2)) SWIG_fail
;
29932 if (arg2
== NULL
) {
29933 SWIG_null_ref("wxDataObject");
29935 if (SWIG_arg_fail(2)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 (arg1
)->SetData(*arg2
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29951 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
= NULL
;
29953 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29954 wxDataObject
*result
;
29955 PyObject
* obj0
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29962 if (SWIG_arg_fail(1)) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29977 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
= NULL
;
29979 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29980 wxDragResult arg2
;
29981 wxCursor
*arg3
= 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 PyObject
* obj2
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "res",(char *) "cursor", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29991 if (SWIG_arg_fail(1)) SWIG_fail
;
29993 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29994 if (SWIG_arg_fail(2)) SWIG_fail
;
29997 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29998 if (SWIG_arg_fail(3)) SWIG_fail
;
29999 if (arg3
== NULL
) {
30000 SWIG_null_ref("wxCursor");
30002 if (SWIG_arg_fail(3)) SWIG_fail
;
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 Py_INCREF(Py_None
); resultobj
= Py_None
;
30018 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
= NULL
;
30020 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30021 int arg2
= (int) wxDrag_CopyOnly
;
30022 wxDragResult result
;
30023 PyObject
* obj0
= 0 ;
30024 PyObject
* obj1
= 0 ;
30025 char *kwnames
[] = {
30026 (char *) "self",(char *) "flags", NULL
30029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail
;
30034 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30035 if (SWIG_arg_fail(2)) SWIG_fail
;
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= SWIG_From_int((result
));
30052 static PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
= NULL
;
30054 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30055 wxDragResult arg2
;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self",(char *) "effect", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(1)) SWIG_fail
;
30067 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30068 if (SWIG_arg_fail(2)) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 result
= (bool)(arg1
)->GiveFeedback(arg2
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30086 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30089 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30091 return Py_BuildValue((char *)"");
30093 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
= NULL
;
30095 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30096 wxPyDropTarget
*result
;
30097 PyObject
* obj0
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "dataObject", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30105 if (SWIG_arg_fail(1)) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30121 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
= NULL
;
30123 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30124 PyObject
*arg2
= (PyObject
*) 0 ;
30125 PyObject
*arg3
= (PyObject
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 char *kwnames
[] = {
30130 (char *) "self",(char *) "self",(char *) "_class", NULL
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30135 if (SWIG_arg_fail(1)) SWIG_fail
;
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 Py_INCREF(Py_None
); resultobj
= Py_None
;
30152 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
= NULL
;
30154 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30155 PyObject
* obj0
= 0 ;
30156 char *kwnames
[] = {
30157 (char *) "self", NULL
30160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30162 if (SWIG_arg_fail(1)) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 Py_INCREF(Py_None
); resultobj
= Py_None
;
30177 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
= NULL
;
30179 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30180 wxDataObject
*result
;
30181 PyObject
* obj0
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30203 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
= NULL
;
30205 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30206 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "dataObject", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail
;
30216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30217 if (SWIG_arg_fail(2)) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetDataObject(arg2
);
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_DropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= NULL
;
30234 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30237 wxDragResult arg4
;
30238 wxDragResult result
;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 PyObject
* obj2
= 0 ;
30242 PyObject
* obj3
= 0 ;
30243 char *kwnames
[] = {
30244 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30249 if (SWIG_arg_fail(1)) SWIG_fail
;
30251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30252 if (SWIG_arg_fail(2)) SWIG_fail
;
30255 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30256 if (SWIG_arg_fail(3)) SWIG_fail
;
30259 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30260 if (SWIG_arg_fail(4)) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_From_int((result
));
30276 static PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
= NULL
;
30278 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30281 wxDragResult arg4
;
30282 wxDragResult result
;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 PyObject
* obj2
= 0 ;
30286 PyObject
* obj3
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30295 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30296 if (SWIG_arg_fail(2)) SWIG_fail
;
30299 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30300 if (SWIG_arg_fail(3)) SWIG_fail
;
30303 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30304 if (SWIG_arg_fail(4)) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_From_int((result
));
30320 static PyObject
*_wrap_DropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= NULL
;
30322 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self", NULL
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30330 if (SWIG_arg_fail(1)) SWIG_fail
;
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30338 Py_INCREF(Py_None
); resultobj
= Py_None
;
30345 static PyObject
*_wrap_DropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30346 PyObject
*resultobj
= NULL
;
30347 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30351 PyObject
* obj0
= 0 ;
30352 PyObject
* obj1
= 0 ;
30353 PyObject
* obj2
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self",(char *) "x",(char *) "y", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30360 if (SWIG_arg_fail(1)) SWIG_fail
;
30362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30363 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30367 if (SWIG_arg_fail(3)) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30385 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
= NULL
;
30387 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self", NULL
30394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30396 if (SWIG_arg_fail(1)) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (bool)(arg1
)->GetData();
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30413 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= NULL
;
30415 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30416 wxDragResult arg2
;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "action", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30425 if (SWIG_arg_fail(1)) SWIG_fail
;
30427 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30428 if (SWIG_arg_fail(2)) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 (arg1
)->SetDefaultAction(arg2
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 Py_INCREF(Py_None
); resultobj
= Py_None
;
30444 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
= NULL
;
30446 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30447 wxDragResult result
;
30448 PyObject
* obj0
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= SWIG_From_int((result
));
30470 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30473 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30475 return Py_BuildValue((char *)"");
30477 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
= NULL
;
30479 wxPyTextDropTarget
*result
;
30480 char *kwnames
[] = {
30484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30499 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
= NULL
;
30501 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30502 PyObject
*arg2
= (PyObject
*) 0 ;
30503 PyObject
*arg3
= (PyObject
*) 0 ;
30504 PyObject
* obj0
= 0 ;
30505 PyObject
* obj1
= 0 ;
30506 PyObject
* obj2
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "self",(char *) "_class", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
= NULL
;
30532 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30535 wxString
*arg4
= 0 ;
30537 bool temp4
= false ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 PyObject
* obj3
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30548 if (SWIG_arg_fail(1)) SWIG_fail
;
30550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30551 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30555 if (SWIG_arg_fail(3)) SWIG_fail
;
30558 arg4
= wxString_in_helper(obj3
);
30559 if (arg4
== NULL
) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30586 static PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= NULL
;
30588 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30591 wxDragResult arg4
;
30592 wxDragResult result
;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 PyObject
* obj2
= 0 ;
30596 PyObject
* obj3
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail
;
30605 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30606 if (SWIG_arg_fail(2)) SWIG_fail
;
30609 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30610 if (SWIG_arg_fail(3)) SWIG_fail
;
30613 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30614 if (SWIG_arg_fail(4)) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_From_int((result
));
30630 static PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
= NULL
;
30632 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30635 wxDragResult arg4
;
30636 wxDragResult result
;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 PyObject
* obj2
= 0 ;
30640 PyObject
* obj3
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(1)) SWIG_fail
;
30649 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30650 if (SWIG_arg_fail(2)) SWIG_fail
;
30653 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30654 if (SWIG_arg_fail(3)) SWIG_fail
;
30657 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30658 if (SWIG_arg_fail(4)) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_From_int((result
));
30674 static PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
= NULL
;
30676 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
30683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30684 if (SWIG_arg_fail(1)) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 Py_INCREF(Py_None
); resultobj
= Py_None
;
30699 static PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
= NULL
;
30701 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30705 PyObject
* obj0
= 0 ;
30706 PyObject
* obj1
= 0 ;
30707 PyObject
* obj2
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "x",(char *) "y", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30720 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30721 if (SWIG_arg_fail(3)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30739 static PyObject
*_wrap_TextDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
= NULL
;
30741 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30744 wxDragResult arg4
;
30745 wxDragResult result
;
30746 PyObject
* obj0
= 0 ;
30747 PyObject
* obj1
= 0 ;
30748 PyObject
* obj2
= 0 ;
30749 PyObject
* obj3
= 0 ;
30750 char *kwnames
[] = {
30751 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(1)) SWIG_fail
;
30758 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30759 if (SWIG_arg_fail(2)) SWIG_fail
;
30762 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30763 if (SWIG_arg_fail(3)) SWIG_fail
;
30766 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30767 if (SWIG_arg_fail(4)) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_From_int((result
));
30783 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30786 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30788 return Py_BuildValue((char *)"");
30790 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
= NULL
;
30792 wxPyFileDropTarget
*result
;
30793 char *kwnames
[] = {
30797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30812 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
= NULL
;
30814 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30815 PyObject
*arg2
= (PyObject
*) 0 ;
30816 PyObject
*arg3
= (PyObject
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self",(char *) "self",(char *) "_class", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail
;
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 Py_INCREF(Py_None
); resultobj
= Py_None
;
30843 static PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
= NULL
;
30845 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30848 wxArrayString
*arg4
= 0 ;
30850 bool temp4
= false ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 PyObject
* obj2
= 0 ;
30854 PyObject
* obj3
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30861 if (SWIG_arg_fail(1)) SWIG_fail
;
30863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30864 if (SWIG_arg_fail(2)) SWIG_fail
;
30867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30868 if (SWIG_arg_fail(3)) SWIG_fail
;
30871 if (! PySequence_Check(obj3
)) {
30872 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
30875 arg4
= new wxArrayString
;
30877 int i
, len
=PySequence_Length(obj3
);
30878 for (i
=0; i
<len
; i
++) {
30879 PyObject
* item
= PySequence_GetItem(obj3
, i
);
30880 wxString
* s
= wxString_in_helper(item
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30898 if (temp4
) delete arg4
;
30903 if (temp4
) delete arg4
;
30909 static PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
= NULL
;
30911 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30914 wxDragResult arg4
;
30915 wxDragResult result
;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 PyObject
* obj2
= 0 ;
30919 PyObject
* obj3
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail
;
30928 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30929 if (SWIG_arg_fail(2)) SWIG_fail
;
30932 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30933 if (SWIG_arg_fail(3)) SWIG_fail
;
30936 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30937 if (SWIG_arg_fail(4)) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= SWIG_From_int((result
));
30953 static PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30954 PyObject
*resultobj
= NULL
;
30955 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30958 wxDragResult arg4
;
30959 wxDragResult result
;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 PyObject
* obj2
= 0 ;
30963 PyObject
* obj3
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30970 if (SWIG_arg_fail(1)) SWIG_fail
;
30972 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30973 if (SWIG_arg_fail(2)) SWIG_fail
;
30976 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30977 if (SWIG_arg_fail(3)) SWIG_fail
;
30980 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30981 if (SWIG_arg_fail(4)) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_From_int((result
));
30997 static PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
= NULL
;
30999 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_OnLeave",kwnames
,&obj0
)) goto fail
;
31006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
= NULL
;
31024 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 PyObject
* obj1
= 0 ;
31030 PyObject
* obj2
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "x",(char *) "y", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31040 if (SWIG_arg_fail(2)) SWIG_fail
;
31043 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31044 if (SWIG_arg_fail(3)) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31062 static PyObject
*_wrap_FileDropTarget_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= NULL
;
31064 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
31067 wxDragResult arg4
;
31068 wxDragResult result
;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 PyObject
* obj2
= 0 ;
31072 PyObject
* obj3
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31079 if (SWIG_arg_fail(1)) SWIG_fail
;
31081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31082 if (SWIG_arg_fail(2)) SWIG_fail
;
31085 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31086 if (SWIG_arg_fail(3)) SWIG_fail
;
31089 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31090 if (SWIG_arg_fail(4)) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= SWIG_From_int((result
));
31106 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31109 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31111 return Py_BuildValue((char *)"");
31113 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
= NULL
;
31115 wxClipboard
*result
;
31116 char *kwnames
[] = {
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (wxClipboard
*)new wxClipboard();
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31135 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
= NULL
;
31137 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31138 PyObject
* obj0
= 0 ;
31139 char *kwnames
[] = {
31140 (char *) "self", NULL
31143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31145 if (SWIG_arg_fail(1)) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 Py_INCREF(Py_None
); resultobj
= Py_None
;
31160 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
= NULL
;
31162 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 char *kwnames
[] = {
31166 (char *) "self", NULL
31169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31171 if (SWIG_arg_fail(1)) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (bool)(arg1
)->Open();
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31188 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
= NULL
;
31190 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31191 PyObject
* obj0
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "self", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31198 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 Py_INCREF(Py_None
); resultobj
= Py_None
;
31213 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= NULL
;
31215 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31224 if (SWIG_arg_fail(1)) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31241 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= NULL
;
31243 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31244 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31246 PyObject
* obj0
= 0 ;
31247 PyObject
* obj1
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self",(char *) "data", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail
;
31255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31256 if (SWIG_arg_fail(2)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (bool)(arg1
)->AddData(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31273 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31274 PyObject
*resultobj
= NULL
;
31275 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31276 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self",(char *) "data", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail
;
31287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31288 if (SWIG_arg_fail(2)) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= (bool)(arg1
)->SetData(arg2
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31305 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
= NULL
;
31307 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31308 wxDataFormat
*arg2
= 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 char *kwnames
[] = {
31313 (char *) "self",(char *) "format", NULL
31316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31318 if (SWIG_arg_fail(1)) SWIG_fail
;
31320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31321 if (SWIG_arg_fail(2)) SWIG_fail
;
31322 if (arg2
== NULL
) {
31323 SWIG_null_ref("wxDataFormat");
31325 if (SWIG_arg_fail(2)) SWIG_fail
;
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31343 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= NULL
;
31345 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31346 wxDataObject
*arg2
= 0 ;
31348 PyObject
* obj0
= 0 ;
31349 PyObject
* obj1
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self",(char *) "data", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail
;
31358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31359 if (SWIG_arg_fail(2)) SWIG_fail
;
31360 if (arg2
== NULL
) {
31361 SWIG_null_ref("wxDataObject");
31363 if (SWIG_arg_fail(2)) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 result
= (bool)(arg1
)->GetData(*arg2
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= NULL
;
31383 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31384 PyObject
* obj0
= 0 ;
31385 char *kwnames
[] = {
31386 (char *) "self", NULL
31389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31391 if (SWIG_arg_fail(1)) SWIG_fail
;
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 Py_INCREF(Py_None
); resultobj
= Py_None
;
31406 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
= NULL
;
31408 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31410 PyObject
* obj0
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31417 if (SWIG_arg_fail(1)) SWIG_fail
;
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 result
= (bool)(arg1
)->Flush();
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31434 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
= NULL
;
31436 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31437 bool arg2
= (bool) true ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self",(char *) "primary", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(1)) SWIG_fail
;
31449 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31450 if (SWIG_arg_fail(2)) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 (arg1
)->UsePrimarySelection(arg2
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 Py_INCREF(Py_None
); resultobj
= Py_None
;
31467 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31468 PyObject
*resultobj
= NULL
;
31469 wxClipboard
*result
;
31470 char *kwnames
[] = {
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (wxClipboard
*)wxClipboard::Get();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31489 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31492 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31494 return Py_BuildValue((char *)"");
31496 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
= NULL
;
31498 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31499 wxClipboardLocker
*result
;
31500 PyObject
* obj0
= 0 ;
31501 char *kwnames
[] = {
31502 (char *) "clipboard", NULL
31505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31524 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
= NULL
;
31526 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31527 PyObject
* obj0
= 0 ;
31528 char *kwnames
[] = {
31529 (char *) "self", NULL
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31534 if (SWIG_arg_fail(1)) SWIG_fail
;
31536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 Py_INCREF(Py_None
); resultobj
= Py_None
;
31549 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
= NULL
;
31551 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31553 PyObject
* obj0
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31577 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31580 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31582 return Py_BuildValue((char *)"");
31584 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31585 PyObject
*resultobj
= NULL
;
31586 int arg1
= (int) 0 ;
31587 int arg2
= (int) 0 ;
31588 int arg3
= (int) 0 ;
31589 int arg4
= (int) 0 ;
31590 wxVideoMode
*result
;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 PyObject
* obj2
= 0 ;
31594 PyObject
* obj3
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31602 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31603 if (SWIG_arg_fail(1)) SWIG_fail
;
31608 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31609 if (SWIG_arg_fail(2)) SWIG_fail
;
31614 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31615 if (SWIG_arg_fail(3)) SWIG_fail
;
31620 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31621 if (SWIG_arg_fail(4)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31638 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
= NULL
;
31640 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31641 PyObject
* obj0
= 0 ;
31642 char *kwnames
[] = {
31643 (char *) "self", NULL
31646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31648 if (SWIG_arg_fail(1)) SWIG_fail
;
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31656 Py_INCREF(Py_None
); resultobj
= Py_None
;
31663 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31664 PyObject
*resultobj
= NULL
;
31665 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31666 wxVideoMode
*arg2
= 0 ;
31668 PyObject
* obj0
= 0 ;
31669 PyObject
* obj1
= 0 ;
31670 char *kwnames
[] = {
31671 (char *) "self",(char *) "other", NULL
31674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31676 if (SWIG_arg_fail(1)) SWIG_fail
;
31678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31679 if (SWIG_arg_fail(2)) SWIG_fail
;
31680 if (arg2
== NULL
) {
31681 SWIG_null_ref("wxVideoMode");
31683 if (SWIG_arg_fail(2)) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31701 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31702 PyObject
*resultobj
= NULL
;
31703 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31705 PyObject
* obj0
= 0 ;
31706 char *kwnames
[] = {
31707 (char *) "self", NULL
31710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31712 if (SWIG_arg_fail(1)) SWIG_fail
;
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31717 wxPyEndAllowThreads(__tstate
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31721 resultobj
= SWIG_From_int(static_cast<int >(result
));
31729 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
= NULL
;
31731 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 char *kwnames
[] = {
31735 (char *) "self", NULL
31738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31740 if (SWIG_arg_fail(1)) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= SWIG_From_int(static_cast<int >(result
));
31757 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
= NULL
;
31759 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31761 PyObject
* obj0
= 0 ;
31762 char *kwnames
[] = {
31763 (char *) "self", NULL
31766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31768 if (SWIG_arg_fail(1)) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_From_int(static_cast<int >(result
));
31785 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= NULL
;
31787 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 char *kwnames
[] = {
31791 (char *) "self", NULL
31794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31796 if (SWIG_arg_fail(1)) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31813 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= NULL
;
31815 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31816 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 char *kwnames
[] = {
31821 (char *) "self",(char *) "other", NULL
31824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31826 if (SWIG_arg_fail(1)) SWIG_fail
;
31827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31828 if (SWIG_arg_fail(2)) SWIG_fail
;
31830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31831 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31833 wxPyEndAllowThreads(__tstate
);
31834 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31845 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
= NULL
;
31847 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31848 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31850 PyObject
* obj0
= 0 ;
31851 PyObject
* obj1
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self",(char *) "other", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31858 if (SWIG_arg_fail(1)) SWIG_fail
;
31859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31860 if (SWIG_arg_fail(2)) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31877 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
= NULL
;
31879 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 char *kwnames
[] = {
31884 (char *) "self",(char *) "w", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31889 if (SWIG_arg_fail(1)) SWIG_fail
;
31891 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31892 if (SWIG_arg_fail(2)) SWIG_fail
;
31894 if (arg1
) (arg1
)->w
= arg2
;
31896 Py_INCREF(Py_None
); resultobj
= Py_None
;
31903 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= NULL
;
31905 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31907 PyObject
* obj0
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail
;
31915 result
= (int) ((arg1
)->w
);
31918 resultobj
= SWIG_From_int(static_cast<int >(result
));
31926 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
= NULL
;
31928 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self",(char *) "h", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail
;
31940 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31941 if (SWIG_arg_fail(2)) SWIG_fail
;
31943 if (arg1
) (arg1
)->h
= arg2
;
31945 Py_INCREF(Py_None
); resultobj
= Py_None
;
31952 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
= NULL
;
31954 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail
;
31964 result
= (int) ((arg1
)->h
);
31967 resultobj
= SWIG_From_int(static_cast<int >(result
));
31975 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31976 PyObject
*resultobj
= NULL
;
31977 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31979 PyObject
* obj0
= 0 ;
31980 PyObject
* obj1
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self",(char *) "bpp", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31989 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31990 if (SWIG_arg_fail(2)) SWIG_fail
;
31992 if (arg1
) (arg1
)->bpp
= arg2
;
31994 Py_INCREF(Py_None
); resultobj
= Py_None
;
32001 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
= NULL
;
32003 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32005 PyObject
* obj0
= 0 ;
32006 char *kwnames
[] = {
32007 (char *) "self", NULL
32010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
32011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32012 if (SWIG_arg_fail(1)) SWIG_fail
;
32013 result
= (int) ((arg1
)->bpp
);
32016 resultobj
= SWIG_From_int(static_cast<int >(result
));
32024 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32025 PyObject
*resultobj
= NULL
;
32026 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32028 PyObject
* obj0
= 0 ;
32029 PyObject
* obj1
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self",(char *) "refresh", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
32035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32036 if (SWIG_arg_fail(1)) SWIG_fail
;
32038 arg2
= static_cast<int >(SWIG_As_int(obj1
));
32039 if (SWIG_arg_fail(2)) SWIG_fail
;
32041 if (arg1
) (arg1
)->refresh
= arg2
;
32043 Py_INCREF(Py_None
); resultobj
= Py_None
;
32050 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= NULL
;
32052 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
32054 PyObject
* obj0
= 0 ;
32055 char *kwnames
[] = {
32056 (char *) "self", NULL
32059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
32060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32061 if (SWIG_arg_fail(1)) SWIG_fail
;
32062 result
= (int) ((arg1
)->refresh
);
32065 resultobj
= SWIG_From_int(static_cast<int >(result
));
32073 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
32075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32076 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32078 return Py_BuildValue((char *)"");
32080 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32081 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32086 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32087 PyObject
*pyobj
= NULL
;
32089 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32094 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
= NULL
;
32096 size_t arg1
= (size_t) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "index", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32106 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32107 if (SWIG_arg_fail(1)) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (wxDisplay
*)new wxDisplay(arg1
);
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32124 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32125 PyObject
*resultobj
= NULL
;
32126 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32134 if (SWIG_arg_fail(1)) SWIG_fail
;
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32142 Py_INCREF(Py_None
); resultobj
= Py_None
;
32149 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
= NULL
;
32152 char *kwnames
[] = {
32156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= (size_t)wxDisplay::GetCount();
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32173 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
= NULL
;
32175 wxPoint
*arg1
= 0 ;
32178 PyObject
* obj0
= 0 ;
32179 char *kwnames
[] = {
32180 (char *) "pt", NULL
32183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32186 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= SWIG_From_int(static_cast<int >(result
));
32204 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
= NULL
;
32206 wxWindow
*arg1
= (wxWindow
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 char *kwnames
[] = {
32210 (char *) "window", NULL
32213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32215 if (SWIG_arg_fail(1)) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (int)wxDisplay_GetFromWindow(arg1
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_From_int(static_cast<int >(result
));
32232 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
= NULL
;
32234 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32236 PyObject
* obj0
= 0 ;
32237 char *kwnames
[] = {
32238 (char *) "self", NULL
32241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32243 if (SWIG_arg_fail(1)) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32260 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= NULL
;
32262 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32264 PyObject
* obj0
= 0 ;
32265 char *kwnames
[] = {
32266 (char *) "self", NULL
32269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32271 if (SWIG_arg_fail(1)) SWIG_fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32280 wxRect
* resultptr
;
32281 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32290 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
= NULL
;
32292 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32294 PyObject
* obj0
= 0 ;
32295 char *kwnames
[] = {
32296 (char *) "self", NULL
32299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32301 if (SWIG_arg_fail(1)) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= ((wxDisplay
const *)arg1
)->GetName();
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32322 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
= NULL
;
32324 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32326 PyObject
* obj0
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "self", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32350 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
= NULL
;
32352 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32353 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32354 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 char *kwnames
[] = {
32359 (char *) "self",(char *) "mode", NULL
32362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail
;
32367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32368 if (SWIG_arg_fail(2)) SWIG_fail
;
32369 if (arg2
== NULL
) {
32370 SWIG_null_ref("wxVideoMode");
32372 if (SWIG_arg_fail(2)) SWIG_fail
;
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32379 wxPyEndAllowThreads(__tstate
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= result
;
32389 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
= NULL
;
32391 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32392 wxVideoMode result
;
32393 PyObject
* obj0
= 0 ;
32394 char *kwnames
[] = {
32395 (char *) "self", NULL
32398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32400 if (SWIG_arg_fail(1)) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32409 wxVideoMode
* resultptr
;
32410 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32419 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= NULL
;
32421 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32422 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32423 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32425 PyObject
* obj0
= 0 ;
32426 PyObject
* obj1
= 0 ;
32427 char *kwnames
[] = {
32428 (char *) "self",(char *) "mode", NULL
32431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32433 if (SWIG_arg_fail(1)) SWIG_fail
;
32436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32437 if (SWIG_arg_fail(2)) SWIG_fail
;
32438 if (arg2
== NULL
) {
32439 SWIG_null_ref("wxVideoMode");
32441 if (SWIG_arg_fail(2)) SWIG_fail
;
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32460 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
= NULL
;
32462 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32463 PyObject
* obj0
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "self", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32470 if (SWIG_arg_fail(1)) SWIG_fail
;
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 (arg1
)->ResetMode();
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 Py_INCREF(Py_None
); resultobj
= Py_None
;
32485 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32488 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32490 return Py_BuildValue((char *)"");
32492 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
= NULL
;
32494 wxStandardPaths
*result
;
32495 char *kwnames
[] = {
32499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32514 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= NULL
;
32516 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32546 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
= NULL
;
32548 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32557 if (SWIG_arg_fail(1)) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32578 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32579 PyObject
*resultobj
= NULL
;
32580 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32582 PyObject
* obj0
= 0 ;
32583 char *kwnames
[] = {
32584 (char *) "self", NULL
32587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32589 if (SWIG_arg_fail(1)) SWIG_fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32610 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
= NULL
;
32612 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32614 PyObject
* obj0
= 0 ;
32615 char *kwnames
[] = {
32616 (char *) "self", NULL
32619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32621 if (SWIG_arg_fail(1)) SWIG_fail
;
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32642 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
= NULL
;
32644 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32646 PyObject
* obj0
= 0 ;
32647 char *kwnames
[] = {
32648 (char *) "self", NULL
32651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32653 if (SWIG_arg_fail(1)) SWIG_fail
;
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32674 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
= NULL
;
32676 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32685 if (SWIG_arg_fail(1)) SWIG_fail
;
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32690 wxPyEndAllowThreads(__tstate
);
32691 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32706 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32707 PyObject
*resultobj
= NULL
;
32708 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32710 PyObject
* obj0
= 0 ;
32711 char *kwnames
[] = {
32712 (char *) "self", NULL
32715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32717 if (SWIG_arg_fail(1)) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32738 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
= NULL
;
32740 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32741 wxString
*arg2
= 0 ;
32742 bool temp2
= false ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "prefix", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 arg2
= wxString_in_helper(obj1
);
32754 if (arg2
== NULL
) SWIG_fail
;
32758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32759 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32764 Py_INCREF(Py_None
); resultobj
= Py_None
;
32779 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= NULL
;
32781 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32783 PyObject
* obj0
= 0 ;
32784 char *kwnames
[] = {
32785 (char *) "self", NULL
32788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32790 if (SWIG_arg_fail(1)) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32811 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32814 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32816 return Py_BuildValue((char *)"");
32818 static PyMethodDef SwigMethods
[] = {
32819 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32826 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32834 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32916 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32923 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32932 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32951 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32954 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32957 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32960 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32966 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32980 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32986 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32992 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32995 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
33010 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
33013 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
33014 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
33017 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
33045 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
33047 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
33049 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
33051 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
33058 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
33064 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
33068 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33082 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33086 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33089 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33106 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33114 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33161 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33179 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33189 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33205 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33221 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33235 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33246 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33289 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33292 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33295 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33299 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33398 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33399 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33400 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33401 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33418 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33463 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33497 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33505 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33506 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33511 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33520 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33527 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33530 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33531 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33533 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33536 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33538 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33539 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33540 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33541 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33543 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33544 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33545 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33546 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33548 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33550 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33551 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33552 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33553 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33554 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33555 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33557 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33559 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33560 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33561 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33562 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33563 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33566 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33567 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33568 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33571 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33573 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33575 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33576 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33577 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"DropTarget_OnLeave", (PyCFunction
) _wrap_DropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33582 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33583 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33584 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33585 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33586 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33587 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33588 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33589 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33590 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33591 { (char *)"TextDropTarget_OnLeave", (PyCFunction
) _wrap_TextDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33592 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33593 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33594 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33595 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33596 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33597 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33598 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33599 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33600 { (char *)"FileDropTarget_OnLeave", (PyCFunction
) _wrap_FileDropTarget_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33601 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33602 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33603 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33604 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33605 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33606 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33607 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33608 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33609 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33610 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33611 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33612 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33613 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33614 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33615 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33616 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33617 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33618 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33619 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33620 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33621 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33622 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33623 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33624 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33625 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33626 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33627 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33628 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33629 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33630 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33631 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33632 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33633 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33634 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33635 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33636 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33637 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33638 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33639 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33640 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33641 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33642 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33643 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33644 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33645 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33646 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33647 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33648 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33649 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33650 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33651 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33652 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33653 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33654 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33655 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33656 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33657 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33658 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33659 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33660 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33661 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33662 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33663 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33664 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33665 { NULL
, NULL
, 0, NULL
}
33669 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33671 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33674 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33675 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33677 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33678 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33680 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33681 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33683 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33684 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33686 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33687 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33689 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33690 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33692 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33693 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33695 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33698 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33699 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33701 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33704 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33705 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33707 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33708 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33710 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33713 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33714 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33716 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33717 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33719 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33720 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33722 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33723 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33725 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33726 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33728 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33729 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33731 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33734 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33735 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33737 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33738 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33740 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33743 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33744 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33746 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33747 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33749 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33750 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33752 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33753 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33755 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33756 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33758 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33759 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33761 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33762 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33764 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33765 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33767 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33768 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33770 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33771 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33773 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33774 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33776 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33779 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33780 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33782 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33783 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33785 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33786 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33788 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33789 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33791 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33792 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33794 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33795 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33797 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33798 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33800 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33801 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33803 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33804 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33806 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33807 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33809 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33810 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33812 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33813 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33815 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33816 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33818 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33819 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33821 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33822 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33824 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33825 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33827 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33828 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33830 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33831 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33833 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33834 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33836 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33837 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33839 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33840 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33842 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33843 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33845 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33846 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33848 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33849 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33851 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33852 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33854 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33855 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33857 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33860 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33861 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33863 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33866 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33867 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33869 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33870 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33872 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33873 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33875 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33876 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33878 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33879 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33881 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33882 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33884 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33885 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33887 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33888 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33890 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33891 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33893 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33894 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33896 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33897 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33899 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33902 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33903 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33905 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33906 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33908 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33909 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33911 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33912 return (void *)((wxObject
*) ((wxSizer
*) x
));
33914 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33915 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33917 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33918 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33920 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33923 static void *_p_wxEventTo_p_wxObject(void *x
) {
33924 return (void *)((wxObject
*) ((wxEvent
*) x
));
33926 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33927 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33929 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33930 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33932 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33933 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33935 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33936 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33938 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33939 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33941 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33942 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33944 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33945 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33947 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33948 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33950 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33951 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33953 static void *_p_wxControlTo_p_wxObject(void *x
) {
33954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33956 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33957 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33959 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33960 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33962 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33963 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33965 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33966 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33968 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33969 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33971 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33972 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33974 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33977 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33978 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33980 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33981 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33983 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33984 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33986 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33989 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33990 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33992 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33995 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33996 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33998 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33999 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34001 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34002 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34004 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34005 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34007 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34008 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34010 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34011 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34013 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34016 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34019 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34022 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34025 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34028 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34029 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34031 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34032 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34034 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34035 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34037 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34038 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34040 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34041 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34043 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34044 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34046 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34047 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34049 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34050 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34052 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34053 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34055 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34056 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34058 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34059 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34061 static void *_p_wxImageTo_p_wxObject(void *x
) {
34062 return (void *)((wxObject
*) ((wxImage
*) x
));
34064 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
34065 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
34067 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
34068 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
34070 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
34071 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
34073 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34076 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34077 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34079 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34080 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34082 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34083 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34085 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34086 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34088 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34091 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34092 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34094 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34095 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34097 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34100 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34101 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34103 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34104 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34106 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34107 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34109 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34110 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34112 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34113 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34115 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34116 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34118 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34121 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34122 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34124 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34125 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34127 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34128 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34130 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34133 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34134 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34136 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34139 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34142 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34143 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34145 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34148 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34149 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34151 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34152 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34154 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34155 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34157 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34158 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34160 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34161 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34163 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34164 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34166 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34167 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34169 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34170 return (void *)((wxWindow
*) ((wxControl
*) x
));
34172 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34173 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34175 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34176 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34178 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34179 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34181 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34182 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34184 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34185 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34186 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34187 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34188 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34189 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34190 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34191 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34192 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34193 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34194 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34195 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34196 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34197 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34198 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34199 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34200 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34201 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34202 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34203 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34204 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34205 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34206 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34207 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34208 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34209 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34210 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34211 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34212 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34213 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34214 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34215 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34216 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34217 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34218 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34219 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34220 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34221 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34222 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34223 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34224 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34225 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34226 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34227 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34228 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34229 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34230 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34231 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34232 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34233 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34234 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34235 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34236 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34237 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34238 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34239 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34240 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34241 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34242 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34243 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34244 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34245 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34246 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34247 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34248 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34249 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34250 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34251 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34252 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34253 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34254 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34255 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34256 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34257 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34258 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34259 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34260 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34275 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34276 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34277 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34278 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34279 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34280 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34281 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34282 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34283 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34284 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34285 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34286 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34287 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34288 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34289 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34290 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34291 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34292 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34293 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34294 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34295 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34296 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34297 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34298 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34299 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34300 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34301 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34302 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34303 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34304 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34305 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34306 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34307 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34308 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34309 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34310 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34311 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34312 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34313 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34314 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34315 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34316 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34317 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34318 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34319 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34320 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34321 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34322 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34323 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34324 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34325 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34326 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34327 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34328 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34329 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34330 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34331 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34332 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34333 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34334 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34335 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34336 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34337 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34338 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34339 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34340 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34341 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34342 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34343 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34344 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34345 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34346 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34347 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34348 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34349 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34350 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34351 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34352 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34353 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34354 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34355 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34357 static swig_type_info
*swig_type_initial
[] = {
34359 &_swigt__p_form_ops_t
,
34361 &_swigt__p_unsigned_char
,
34362 &_swigt__p_unsigned_int
,
34363 &_swigt__p_unsigned_long
,
34365 &_swigt__p_wxANIHandler
,
34366 &_swigt__p_wxAcceleratorTable
,
34367 &_swigt__p_wxActivateEvent
,
34368 &_swigt__p_wxArrayString
,
34369 &_swigt__p_wxBMPHandler
,
34370 &_swigt__p_wxBitmap
,
34371 &_swigt__p_wxBitmapDataObject
,
34372 &_swigt__p_wxBoxSizer
,
34373 &_swigt__p_wxBusyCursor
,
34374 &_swigt__p_wxBusyInfo
,
34375 &_swigt__p_wxCURHandler
,
34376 &_swigt__p_wxCaret
,
34378 &_swigt__p_wxChildFocusEvent
,
34379 &_swigt__p_wxClipboard
,
34380 &_swigt__p_wxClipboardLocker
,
34381 &_swigt__p_wxCloseEvent
,
34382 &_swigt__p_wxColour
,
34383 &_swigt__p_wxCommandEvent
,
34384 &_swigt__p_wxConfig
,
34385 &_swigt__p_wxConfigBase
,
34386 &_swigt__p_wxConfigPathChanger
,
34387 &_swigt__p_wxContextMenuEvent
,
34388 &_swigt__p_wxControl
,
34389 &_swigt__p_wxControlWithItems
,
34390 &_swigt__p_wxCursor
,
34391 &_swigt__p_wxCustomDataObject
,
34393 &_swigt__p_wxDataFormat
,
34394 &_swigt__p_wxDataObject
,
34395 &_swigt__p_wxDataObjectComposite
,
34396 &_swigt__p_wxDataObjectSimple
,
34397 &_swigt__p_wxDateEvent
,
34398 &_swigt__p_wxDateSpan
,
34399 &_swigt__p_wxDateTime
,
34400 &_swigt__p_wxDateTime__TimeZone
,
34401 &_swigt__p_wxDisplay
,
34402 &_swigt__p_wxDisplayChangedEvent
,
34403 &_swigt__p_wxDropFilesEvent
,
34404 &_swigt__p_wxDuplexMode
,
34405 &_swigt__p_wxEraseEvent
,
34406 &_swigt__p_wxEvent
,
34407 &_swigt__p_wxEvtHandler
,
34408 &_swigt__p_wxFSFile
,
34409 &_swigt__p_wxFileConfig
,
34410 &_swigt__p_wxFileDataObject
,
34411 &_swigt__p_wxFileHistory
,
34412 &_swigt__p_wxFileSystem
,
34413 &_swigt__p_wxFileType
,
34414 &_swigt__p_wxFileTypeInfo
,
34415 &_swigt__p_wxFlexGridSizer
,
34416 &_swigt__p_wxFocusEvent
,
34418 &_swigt__p_wxFrame
,
34419 &_swigt__p_wxGBSizerItem
,
34420 &_swigt__p_wxGIFHandler
,
34421 &_swigt__p_wxGridBagSizer
,
34422 &_swigt__p_wxGridSizer
,
34423 &_swigt__p_wxICOHandler
,
34425 &_swigt__p_wxIconizeEvent
,
34426 &_swigt__p_wxIdleEvent
,
34427 &_swigt__p_wxImage
,
34428 &_swigt__p_wxImageHandler
,
34429 &_swigt__p_wxIndividualLayoutConstraint
,
34430 &_swigt__p_wxInitDialogEvent
,
34431 &_swigt__p_wxJPEGHandler
,
34432 &_swigt__p_wxJoystick
,
34433 &_swigt__p_wxJoystickEvent
,
34434 &_swigt__p_wxKeyEvent
,
34435 &_swigt__p_wxKillError
,
34436 &_swigt__p_wxLayoutConstraints
,
34438 &_swigt__p_wxLogBuffer
,
34439 &_swigt__p_wxLogChain
,
34440 &_swigt__p_wxLogGui
,
34441 &_swigt__p_wxLogNull
,
34442 &_swigt__p_wxLogStderr
,
34443 &_swigt__p_wxLogTextCtrl
,
34444 &_swigt__p_wxLogWindow
,
34445 &_swigt__p_wxMaximizeEvent
,
34446 &_swigt__p_wxMemorySize
,
34448 &_swigt__p_wxMenuBar
,
34449 &_swigt__p_wxMenuEvent
,
34450 &_swigt__p_wxMenuItem
,
34451 &_swigt__p_wxMetafileDataObject
,
34452 &_swigt__p_wxMimeTypesManager
,
34453 &_swigt__p_wxMouseCaptureChangedEvent
,
34454 &_swigt__p_wxMouseEvent
,
34455 &_swigt__p_wxMouseState
,
34456 &_swigt__p_wxMoveEvent
,
34457 &_swigt__p_wxMutexGuiLocker
,
34458 &_swigt__p_wxNavigationKeyEvent
,
34459 &_swigt__p_wxNcPaintEvent
,
34460 &_swigt__p_wxNotifyEvent
,
34461 &_swigt__p_wxObject
,
34462 &_swigt__p_wxOutputStream
,
34463 &_swigt__p_wxPCXHandler
,
34464 &_swigt__p_wxPNGHandler
,
34465 &_swigt__p_wxPNMHandler
,
34466 &_swigt__p_wxPaintEvent
,
34467 &_swigt__p_wxPaletteChangedEvent
,
34468 &_swigt__p_wxPaperSize
,
34469 &_swigt__p_wxPoint
,
34470 &_swigt__p_wxProcessEvent
,
34471 &_swigt__p_wxPyApp
,
34472 &_swigt__p_wxPyArtProvider
,
34473 &_swigt__p_wxPyBitmapDataObject
,
34474 &_swigt__p_wxPyCommandEvent
,
34475 &_swigt__p_wxPyDataObjectSimple
,
34476 &_swigt__p_wxPyDropSource
,
34477 &_swigt__p_wxPyDropTarget
,
34478 &_swigt__p_wxPyEvent
,
34479 &_swigt__p_wxPyFileDropTarget
,
34480 &_swigt__p_wxPyImageHandler
,
34481 &_swigt__p_wxPyLog
,
34482 &_swigt__p_wxPyProcess
,
34483 &_swigt__p_wxPySizer
,
34484 &_swigt__p_wxPyTextDataObject
,
34485 &_swigt__p_wxPyTextDropTarget
,
34486 &_swigt__p_wxPyTimer
,
34487 &_swigt__p_wxPyTipProvider
,
34488 &_swigt__p_wxPyValidator
,
34489 &_swigt__p_wxQueryNewPaletteEvent
,
34491 &_swigt__p_wxScrollEvent
,
34492 &_swigt__p_wxScrollWinEvent
,
34493 &_swigt__p_wxSetCursorEvent
,
34494 &_swigt__p_wxShowEvent
,
34495 &_swigt__p_wxSingleInstanceChecker
,
34497 &_swigt__p_wxSizeEvent
,
34498 &_swigt__p_wxSizer
,
34499 &_swigt__p_wxSizerItem
,
34500 &_swigt__p_wxSound
,
34501 &_swigt__p_wxStandardPaths
,
34502 &_swigt__p_wxStaticBoxSizer
,
34503 &_swigt__p_wxStdDialogButtonSizer
,
34504 &_swigt__p_wxStopWatch
,
34505 &_swigt__p_wxString
,
34506 &_swigt__p_wxSysColourChangedEvent
,
34507 &_swigt__p_wxSystemOptions
,
34508 &_swigt__p_wxSystemSettings
,
34509 &_swigt__p_wxTIFFHandler
,
34510 &_swigt__p_wxTextCtrl
,
34511 &_swigt__p_wxTextDataObject
,
34512 &_swigt__p_wxTimeSpan
,
34513 &_swigt__p_wxTimer
,
34514 &_swigt__p_wxTimerEvent
,
34515 &_swigt__p_wxTimerRunner
,
34516 &_swigt__p_wxTipProvider
,
34517 &_swigt__p_wxToolTip
,
34518 &_swigt__p_wxURLDataObject
,
34519 &_swigt__p_wxUpdateUIEvent
,
34520 &_swigt__p_wxValidator
,
34521 &_swigt__p_wxVideoMode
,
34522 &_swigt__p_wxWindow
,
34523 &_swigt__p_wxWindowCreateEvent
,
34524 &_swigt__p_wxWindowDestroyEvent
,
34525 &_swigt__p_wxWindowDisabler
,
34526 &_swigt__p_wxXPMHandler
,
34527 &_swigt__ptrdiff_t
,
34528 &_swigt__std__ptrdiff_t
,
34529 &_swigt__unsigned_int
,
34532 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34533 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34534 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34535 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34536 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34537 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34538 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34539 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34540 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34541 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}};
34542 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34543 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34544 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34545 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34546 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34547 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34548 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34549 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34550 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}};
34551 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34552 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34553 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34554 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34555 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34556 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}};
34557 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34558 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}};
34559 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34560 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34561 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34562 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34563 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34564 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34565 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34566 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34567 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34568 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34569 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34570 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34571 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34572 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34573 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34574 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34575 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34576 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34577 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34578 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34579 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34580 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34581 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34582 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34583 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34584 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34585 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34586 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34587 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34588 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34589 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34590 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34591 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34592 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34593 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34597 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34598 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34599 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34600 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}};
34601 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34602 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34603 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34605 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34606 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34607 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}};
34608 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34609 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34610 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34611 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34612 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34615 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34616 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34617 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34618 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34619 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}};
34620 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34621 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34624 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34625 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34629 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34631 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34632 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34633 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34634 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34635 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34636 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34637 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34638 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34639 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34640 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34641 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34642 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34643 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34644 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34645 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34646 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34647 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34648 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34649 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34650 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34651 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34652 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34653 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34654 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34655 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34656 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34657 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34658 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34659 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34660 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34661 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34662 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34663 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}};
34664 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34665 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34666 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34667 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34668 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34669 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34670 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34671 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34672 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}};
34673 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34674 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34675 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34676 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34677 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34678 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34679 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34680 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34681 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34682 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34683 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34684 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34685 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34686 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34687 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34688 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34689 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34690 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}};
34691 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34692 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34693 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34694 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34695 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}};
34696 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34697 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34698 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34699 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}};
34700 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34701 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34702 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34703 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34705 static swig_cast_info
*swig_cast_initial
[] = {
34707 _swigc__p_form_ops_t
,
34709 _swigc__p_unsigned_char
,
34710 _swigc__p_unsigned_int
,
34711 _swigc__p_unsigned_long
,
34713 _swigc__p_wxANIHandler
,
34714 _swigc__p_wxAcceleratorTable
,
34715 _swigc__p_wxActivateEvent
,
34716 _swigc__p_wxArrayString
,
34717 _swigc__p_wxBMPHandler
,
34718 _swigc__p_wxBitmap
,
34719 _swigc__p_wxBitmapDataObject
,
34720 _swigc__p_wxBoxSizer
,
34721 _swigc__p_wxBusyCursor
,
34722 _swigc__p_wxBusyInfo
,
34723 _swigc__p_wxCURHandler
,
34726 _swigc__p_wxChildFocusEvent
,
34727 _swigc__p_wxClipboard
,
34728 _swigc__p_wxClipboardLocker
,
34729 _swigc__p_wxCloseEvent
,
34730 _swigc__p_wxColour
,
34731 _swigc__p_wxCommandEvent
,
34732 _swigc__p_wxConfig
,
34733 _swigc__p_wxConfigBase
,
34734 _swigc__p_wxConfigPathChanger
,
34735 _swigc__p_wxContextMenuEvent
,
34736 _swigc__p_wxControl
,
34737 _swigc__p_wxControlWithItems
,
34738 _swigc__p_wxCursor
,
34739 _swigc__p_wxCustomDataObject
,
34741 _swigc__p_wxDataFormat
,
34742 _swigc__p_wxDataObject
,
34743 _swigc__p_wxDataObjectComposite
,
34744 _swigc__p_wxDataObjectSimple
,
34745 _swigc__p_wxDateEvent
,
34746 _swigc__p_wxDateSpan
,
34747 _swigc__p_wxDateTime
,
34748 _swigc__p_wxDateTime__TimeZone
,
34749 _swigc__p_wxDisplay
,
34750 _swigc__p_wxDisplayChangedEvent
,
34751 _swigc__p_wxDropFilesEvent
,
34752 _swigc__p_wxDuplexMode
,
34753 _swigc__p_wxEraseEvent
,
34755 _swigc__p_wxEvtHandler
,
34756 _swigc__p_wxFSFile
,
34757 _swigc__p_wxFileConfig
,
34758 _swigc__p_wxFileDataObject
,
34759 _swigc__p_wxFileHistory
,
34760 _swigc__p_wxFileSystem
,
34761 _swigc__p_wxFileType
,
34762 _swigc__p_wxFileTypeInfo
,
34763 _swigc__p_wxFlexGridSizer
,
34764 _swigc__p_wxFocusEvent
,
34767 _swigc__p_wxGBSizerItem
,
34768 _swigc__p_wxGIFHandler
,
34769 _swigc__p_wxGridBagSizer
,
34770 _swigc__p_wxGridSizer
,
34771 _swigc__p_wxICOHandler
,
34773 _swigc__p_wxIconizeEvent
,
34774 _swigc__p_wxIdleEvent
,
34776 _swigc__p_wxImageHandler
,
34777 _swigc__p_wxIndividualLayoutConstraint
,
34778 _swigc__p_wxInitDialogEvent
,
34779 _swigc__p_wxJPEGHandler
,
34780 _swigc__p_wxJoystick
,
34781 _swigc__p_wxJoystickEvent
,
34782 _swigc__p_wxKeyEvent
,
34783 _swigc__p_wxKillError
,
34784 _swigc__p_wxLayoutConstraints
,
34786 _swigc__p_wxLogBuffer
,
34787 _swigc__p_wxLogChain
,
34788 _swigc__p_wxLogGui
,
34789 _swigc__p_wxLogNull
,
34790 _swigc__p_wxLogStderr
,
34791 _swigc__p_wxLogTextCtrl
,
34792 _swigc__p_wxLogWindow
,
34793 _swigc__p_wxMaximizeEvent
,
34794 _swigc__p_wxMemorySize
,
34796 _swigc__p_wxMenuBar
,
34797 _swigc__p_wxMenuEvent
,
34798 _swigc__p_wxMenuItem
,
34799 _swigc__p_wxMetafileDataObject
,
34800 _swigc__p_wxMimeTypesManager
,
34801 _swigc__p_wxMouseCaptureChangedEvent
,
34802 _swigc__p_wxMouseEvent
,
34803 _swigc__p_wxMouseState
,
34804 _swigc__p_wxMoveEvent
,
34805 _swigc__p_wxMutexGuiLocker
,
34806 _swigc__p_wxNavigationKeyEvent
,
34807 _swigc__p_wxNcPaintEvent
,
34808 _swigc__p_wxNotifyEvent
,
34809 _swigc__p_wxObject
,
34810 _swigc__p_wxOutputStream
,
34811 _swigc__p_wxPCXHandler
,
34812 _swigc__p_wxPNGHandler
,
34813 _swigc__p_wxPNMHandler
,
34814 _swigc__p_wxPaintEvent
,
34815 _swigc__p_wxPaletteChangedEvent
,
34816 _swigc__p_wxPaperSize
,
34818 _swigc__p_wxProcessEvent
,
34820 _swigc__p_wxPyArtProvider
,
34821 _swigc__p_wxPyBitmapDataObject
,
34822 _swigc__p_wxPyCommandEvent
,
34823 _swigc__p_wxPyDataObjectSimple
,
34824 _swigc__p_wxPyDropSource
,
34825 _swigc__p_wxPyDropTarget
,
34826 _swigc__p_wxPyEvent
,
34827 _swigc__p_wxPyFileDropTarget
,
34828 _swigc__p_wxPyImageHandler
,
34830 _swigc__p_wxPyProcess
,
34831 _swigc__p_wxPySizer
,
34832 _swigc__p_wxPyTextDataObject
,
34833 _swigc__p_wxPyTextDropTarget
,
34834 _swigc__p_wxPyTimer
,
34835 _swigc__p_wxPyTipProvider
,
34836 _swigc__p_wxPyValidator
,
34837 _swigc__p_wxQueryNewPaletteEvent
,
34839 _swigc__p_wxScrollEvent
,
34840 _swigc__p_wxScrollWinEvent
,
34841 _swigc__p_wxSetCursorEvent
,
34842 _swigc__p_wxShowEvent
,
34843 _swigc__p_wxSingleInstanceChecker
,
34845 _swigc__p_wxSizeEvent
,
34847 _swigc__p_wxSizerItem
,
34849 _swigc__p_wxStandardPaths
,
34850 _swigc__p_wxStaticBoxSizer
,
34851 _swigc__p_wxStdDialogButtonSizer
,
34852 _swigc__p_wxStopWatch
,
34853 _swigc__p_wxString
,
34854 _swigc__p_wxSysColourChangedEvent
,
34855 _swigc__p_wxSystemOptions
,
34856 _swigc__p_wxSystemSettings
,
34857 _swigc__p_wxTIFFHandler
,
34858 _swigc__p_wxTextCtrl
,
34859 _swigc__p_wxTextDataObject
,
34860 _swigc__p_wxTimeSpan
,
34862 _swigc__p_wxTimerEvent
,
34863 _swigc__p_wxTimerRunner
,
34864 _swigc__p_wxTipProvider
,
34865 _swigc__p_wxToolTip
,
34866 _swigc__p_wxURLDataObject
,
34867 _swigc__p_wxUpdateUIEvent
,
34868 _swigc__p_wxValidator
,
34869 _swigc__p_wxVideoMode
,
34870 _swigc__p_wxWindow
,
34871 _swigc__p_wxWindowCreateEvent
,
34872 _swigc__p_wxWindowDestroyEvent
,
34873 _swigc__p_wxWindowDisabler
,
34874 _swigc__p_wxXPMHandler
,
34876 _swigc__std__ptrdiff_t
,
34877 _swigc__unsigned_int
,
34881 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34883 static swig_const_info swig_const_table
[] = {
34884 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34885 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34886 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34887 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34888 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34889 {0, 0, 0, 0.0, 0, 0}};
34894 /*************************************************************************
34895 * Type initialization:
34896 * This problem is tough by the requirement that no dynamic
34897 * memory is used. Also, since swig_type_info structures store pointers to
34898 * swig_cast_info structures and swig_cast_info structures store pointers back
34899 * to swig_type_info structures, we need some lookup code at initialization.
34900 * The idea is that swig generates all the structures that are needed.
34901 * The runtime then collects these partially filled structures.
34902 * The SWIG_InitializeModule function takes these initial arrays out of
34903 * swig_module, and does all the lookup, filling in the swig_module.types
34904 * array with the correct data and linking the correct swig_cast_info
34905 * structures together.
34907 * The generated swig_type_info structures are assigned staticly to an initial
34908 * array. We just loop though that array, and handle each type individually.
34909 * First we lookup if this type has been already loaded, and if so, use the
34910 * loaded structure instead of the generated one. Then we have to fill in the
34911 * cast linked list. The cast data is initially stored in something like a
34912 * two-dimensional array. Each row corresponds to a type (there are the same
34913 * number of rows as there are in the swig_type_initial array). Each entry in
34914 * a column is one of the swig_cast_info structures for that type.
34915 * The cast_initial array is actually an array of arrays, because each row has
34916 * a variable number of columns. So to actually build the cast linked list,
34917 * we find the array of casts associated with the type, and loop through it
34918 * adding the casts to the list. The one last trick we need to do is making
34919 * sure the type pointer in the swig_cast_info struct is correct.
34921 * First off, we lookup the cast->type name to see if it is already loaded.
34922 * There are three cases to handle:
34923 * 1) If the cast->type has already been loaded AND the type we are adding
34924 * casting info to has not been loaded (it is in this module), THEN we
34925 * replace the cast->type pointer with the type pointer that has already
34927 * 2) If BOTH types (the one we are adding casting info to, and the
34928 * cast->type) are loaded, THEN the cast info has already been loaded by
34929 * the previous module so we just ignore it.
34930 * 3) Finally, if cast->type has not already been loaded, then we add that
34931 * swig_cast_info to the linked list (because the cast->type) pointer will
34943 #define SWIGRUNTIME_DEBUG
34947 SWIG_InitializeModule(void *clientdata
) {
34949 swig_module_info
*module_head
;
34950 static int init_run
= 0;
34952 clientdata
= clientdata
;
34954 if (init_run
) return;
34957 /* Initialize the swig_module */
34958 swig_module
.type_initial
= swig_type_initial
;
34959 swig_module
.cast_initial
= swig_cast_initial
;
34961 /* Try and load any already created modules */
34962 module_head
= SWIG_GetModule(clientdata
);
34964 swig_module
.next
= module_head
->next
;
34965 module_head
->next
= &swig_module
;
34967 /* This is the first module loaded */
34968 swig_module
.next
= &swig_module
;
34969 SWIG_SetModule(clientdata
, &swig_module
);
34972 /* Now work on filling in swig_module.types */
34973 #ifdef SWIGRUNTIME_DEBUG
34974 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34976 for (i
= 0; i
< swig_module
.size
; ++i
) {
34977 swig_type_info
*type
= 0;
34978 swig_type_info
*ret
;
34979 swig_cast_info
*cast
;
34981 #ifdef SWIGRUNTIME_DEBUG
34982 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34985 /* if there is another module already loaded */
34986 if (swig_module
.next
!= &swig_module
) {
34987 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34990 /* Overwrite clientdata field */
34991 #ifdef SWIGRUNTIME_DEBUG
34992 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34994 if (swig_module
.type_initial
[i
]->clientdata
) {
34995 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34996 #ifdef SWIGRUNTIME_DEBUG
34997 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
35001 type
= swig_module
.type_initial
[i
];
35004 /* Insert casting types */
35005 cast
= swig_module
.cast_initial
[i
];
35006 while (cast
->type
) {
35007 /* Don't need to add information already in the list */
35009 #ifdef SWIGRUNTIME_DEBUG
35010 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35012 if (swig_module
.next
!= &swig_module
) {
35013 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35014 #ifdef SWIGRUNTIME_DEBUG
35015 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35019 if (type
== swig_module
.type_initial
[i
]) {
35020 #ifdef SWIGRUNTIME_DEBUG
35021 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35026 /* Check for casting already in the list */
35027 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35028 #ifdef SWIGRUNTIME_DEBUG
35029 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35031 if (!ocast
) ret
= 0;
35036 #ifdef SWIGRUNTIME_DEBUG
35037 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35040 type
->cast
->prev
= cast
;
35041 cast
->next
= type
->cast
;
35047 /* Set entry in modules->types array equal to the type */
35048 swig_module
.types
[i
] = type
;
35050 swig_module
.types
[i
] = 0;
35052 #ifdef SWIGRUNTIME_DEBUG
35053 printf("**** SWIG_InitializeModule: Cast List ******\n");
35054 for (i
= 0; i
< swig_module
.size
; ++i
) {
35056 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35057 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35058 while (cast
->type
) {
35059 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35063 printf("---- Total casts: %d\n",j
);
35065 printf("**** SWIG_InitializeModule: Cast List ******\n");
35069 /* This function will propagate the clientdata field of type to
35070 * any new swig_type_info structures that have been added into the list
35071 * of equivalent types. It is like calling
35072 * SWIG_TypeClientData(type, clientdata) a second time.
35075 SWIG_PropagateClientData(void) {
35077 swig_cast_info
*equiv
;
35078 static int init_run
= 0;
35080 if (init_run
) return;
35083 for (i
= 0; i
< swig_module
.size
; i
++) {
35084 if (swig_module
.types
[i
]->clientdata
) {
35085 equiv
= swig_module
.types
[i
]->cast
;
35087 if (!equiv
->converter
) {
35088 if (equiv
->type
&& !equiv
->type
->clientdata
)
35089 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35091 equiv
= equiv
->next
;
35111 /* Python-specific SWIG API */
35112 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35113 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35114 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35116 /* -----------------------------------------------------------------------------
35117 * global variable support code.
35118 * ----------------------------------------------------------------------------- */
35120 typedef struct swig_globalvar
{
35121 char *name
; /* Name of global variable */
35122 PyObject
*(*get_attr
)(void); /* Return the current value */
35123 int (*set_attr
)(PyObject
*); /* Set the value */
35124 struct swig_globalvar
*next
;
35127 typedef struct swig_varlinkobject
{
35129 swig_globalvar
*vars
;
35130 } swig_varlinkobject
;
35132 SWIGINTERN PyObject
*
35133 swig_varlink_repr(swig_varlinkobject
*v
) {
35135 return PyString_FromString("<Swig global variables>");
35139 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35140 swig_globalvar
*var
;
35142 fprintf(fp
,"Swig global variables { ");
35143 for (var
= v
->vars
; var
; var
=var
->next
) {
35144 fprintf(fp
,"%s", var
->name
);
35145 if (var
->next
) fprintf(fp
,", ");
35147 fprintf(fp
," }\n");
35151 SWIGINTERN PyObject
*
35152 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35153 swig_globalvar
*var
= v
->vars
;
35155 if (strcmp(var
->name
,n
) == 0) {
35156 return (*var
->get_attr
)();
35160 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35165 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35166 swig_globalvar
*var
= v
->vars
;
35168 if (strcmp(var
->name
,n
) == 0) {
35169 return (*var
->set_attr
)(p
);
35173 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35177 SWIGINTERN PyTypeObject
*
35178 swig_varlink_type(void) {
35179 static char varlink__doc__
[] = "Swig var link object";
35180 static PyTypeObject varlink_type
35181 #if !defined(__cplusplus)
35183 static int type_init
= 0;
35188 PyObject_HEAD_INIT(&PyType_Type
)
35189 0, /* Number of items in variable part (ob_size) */
35190 (char *)"swigvarlink", /* Type name (tp_name) */
35191 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35192 0, /* Itemsize (tp_itemsize) */
35193 0, /* Deallocator (tp_dealloc) */
35194 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35195 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35196 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35197 0, /* tp_compare */
35198 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35199 0, /* tp_as_number */
35200 0, /* tp_as_sequence */
35201 0, /* tp_as_mapping */
35205 0, /* tp_getattro */
35206 0, /* tp_setattro */
35207 0, /* tp_as_buffer */
35209 varlink__doc__
, /* tp_doc */
35210 #if PY_VERSION_HEX >= 0x02000000
35211 0, /* tp_traverse */
35214 #if PY_VERSION_HEX >= 0x02010000
35215 0, /* tp_richcompare */
35216 0, /* tp_weaklistoffset */
35218 #if PY_VERSION_HEX >= 0x02020000
35219 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35221 #if PY_VERSION_HEX >= 0x02030000
35224 #ifdef COUNT_ALLOCS
35225 0,0,0,0 /* tp_alloc -> tp_next */
35228 #if !defined(__cplusplus)
35229 varlink_type
= tmp
;
35233 return &varlink_type
;
35236 /* Create a variable linking object for use later */
35237 SWIGINTERN PyObject
*
35238 SWIG_Python_newvarlink(void) {
35239 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35243 return ((PyObject
*) result
);
35247 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35248 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35249 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35251 size_t size
= strlen(name
)+1;
35252 gv
->name
= (char *)malloc(size
);
35254 strncpy(gv
->name
,name
,size
);
35255 gv
->get_attr
= get_attr
;
35256 gv
->set_attr
= set_attr
;
35257 gv
->next
= v
->vars
;
35263 /* -----------------------------------------------------------------------------
35264 * constants/methods manipulation
35265 * ----------------------------------------------------------------------------- */
35267 /* Install Constants */
35269 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35272 for (i
= 0; constants
[i
].type
; ++i
) {
35273 switch(constants
[i
].type
) {
35275 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35277 case SWIG_PY_FLOAT
:
35278 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35280 case SWIG_PY_STRING
:
35281 if (constants
[i
].pvalue
) {
35282 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35284 Py_INCREF(Py_None
);
35288 case SWIG_PY_POINTER
:
35289 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35291 case SWIG_PY_BINARY
:
35292 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35299 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35305 /* -----------------------------------------------------------------------------*/
35306 /* Fix SwigMethods to carry the callback ptrs when needed */
35307 /* -----------------------------------------------------------------------------*/
35310 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35311 swig_const_info
*const_table
,
35312 swig_type_info
**types
,
35313 swig_type_info
**types_initial
) {
35315 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35316 char *c
= methods
[i
].ml_doc
;
35317 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35319 swig_const_info
*ci
= 0;
35320 char *name
= c
+ 10;
35321 for (j
= 0; const_table
[j
].type
; ++j
) {
35322 if (strncmp(const_table
[j
].name
, name
,
35323 strlen(const_table
[j
].name
)) == 0) {
35324 ci
= &(const_table
[j
]);
35329 size_t shift
= (ci
->ptype
) - types
;
35330 swig_type_info
*ty
= types_initial
[shift
];
35331 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35332 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35333 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35336 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35338 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35340 strncpy(buff
, "swig_ptr: ", 10);
35342 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35343 methods
[i
].ml_doc
= ndoc
;
35351 /* -----------------------------------------------------------------------------*
35352 * Initialize type list
35353 * -----------------------------------------------------------------------------*/
35359 /* -----------------------------------------------------------------------------*
35360 * Partial Init method
35361 * -----------------------------------------------------------------------------*/
35366 SWIGEXPORT
void SWIG_init(void) {
35367 static PyObject
*SWIG_globals
= 0;
35369 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35371 /* Fix SwigMethods to carry the callback ptrs when needed */
35372 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35374 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35375 d
= PyModule_GetDict(m
);
35377 SWIG_InitializeModule(0);
35378 SWIG_InstallConstants(d
,swig_const_table
);
35381 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35384 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35387 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35390 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35393 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35396 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35399 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35402 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35405 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35408 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35411 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35414 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35417 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35420 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35423 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35426 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35429 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35432 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35435 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35438 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35441 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35444 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35447 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35450 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35453 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35456 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35459 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35462 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35465 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35468 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35471 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35474 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35477 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35480 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35483 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35486 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35489 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35492 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35495 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35498 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35501 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35504 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35507 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35510 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35513 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35516 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35519 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35522 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35525 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35528 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35531 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35534 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35537 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35540 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35543 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35546 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35549 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35552 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35555 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35558 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35561 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35564 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35567 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35570 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35573 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35576 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35579 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35582 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35585 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35588 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35591 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35594 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35597 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35600 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35603 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35606 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35609 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35612 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35615 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35618 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35621 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35624 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35627 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35630 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35633 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35636 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35639 PyDict_SetItemString(d
,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT
)));
35642 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35645 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35648 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35651 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35654 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35656 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35657 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35658 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35659 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35660 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35662 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35665 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35668 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35671 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35673 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35675 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35678 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35681 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35684 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35687 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35690 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35693 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35696 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35699 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35702 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35705 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35708 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35710 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35711 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35712 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35713 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35714 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35716 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35719 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35722 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35725 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35728 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35731 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35734 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35737 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35740 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35743 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35746 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35749 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35752 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35755 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35758 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35761 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35764 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35767 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35770 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35773 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35776 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35779 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35782 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35785 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35788 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35791 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35794 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35797 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35800 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35803 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35806 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35808 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35810 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35813 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35816 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35819 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35822 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35825 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35828 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35831 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35834 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35837 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35840 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35843 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35846 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35848 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35849 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35850 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35851 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35853 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35856 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35859 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35862 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35865 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35868 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35871 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35874 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35876 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35934 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35937 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35940 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35943 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35946 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35949 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35952 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35955 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35958 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35961 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35963 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35964 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35966 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35969 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35972 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35975 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35978 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35981 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35984 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35987 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35990 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35993 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35996 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35999 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
36002 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
36005 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
36008 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
36011 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
36014 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
36017 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
36020 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
36023 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
36026 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
36029 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
36032 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
36035 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
36038 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
36041 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
36044 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
36047 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
36050 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
36053 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
36056 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
36059 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
36062 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
36065 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
36068 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
36071 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
36074 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36077 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36080 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36083 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36086 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36089 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36092 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36095 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36098 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36101 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36104 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36107 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36110 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36113 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36116 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36119 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36122 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36125 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36128 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36131 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36134 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36137 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36140 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36143 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36146 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36149 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36152 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36155 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36158 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36161 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36164 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36167 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36170 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36173 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36176 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36179 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36182 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36185 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36188 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36191 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36194 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36197 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36200 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36203 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36206 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36209 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36212 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36215 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36218 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36221 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36224 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36227 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36230 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36233 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36236 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36239 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36242 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36245 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36248 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36251 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36254 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36257 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36260 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36263 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36266 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36269 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36272 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36275 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36278 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36281 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36284 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36287 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36290 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36293 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36296 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36299 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36302 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36305 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36308 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36311 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36314 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36317 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36320 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36323 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36326 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36329 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36332 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36335 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36338 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36341 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36344 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36347 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36350 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36353 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36356 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36359 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36362 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36365 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36368 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36371 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36374 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36377 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36380 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36383 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36386 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36389 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36392 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36395 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36398 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36401 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36404 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36407 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36410 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36413 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36416 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36419 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36422 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36425 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36428 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36430 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36432 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36435 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36438 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36441 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36444 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36447 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36450 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36453 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36456 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36459 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36462 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36465 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36468 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36471 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36474 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36477 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36480 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36483 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36486 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36489 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36491 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36493 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36496 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36499 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36502 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36505 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36508 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36511 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36514 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36517 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36520 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36523 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36526 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36529 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36530 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36531 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36532 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36534 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);