1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_void swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBitmap swig_types[12]
1448 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1449 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
1450 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
1451 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
1452 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1453 #define SWIGTYPE_p_wxCaret swig_types[18]
1454 #define SWIGTYPE_p_wxChar swig_types[19]
1455 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1456 #define SWIGTYPE_p_wxClipboard swig_types[21]
1457 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1458 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
1459 #define SWIGTYPE_p_wxColour swig_types[24]
1460 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
1461 #define SWIGTYPE_p_wxConfig swig_types[26]
1462 #define SWIGTYPE_p_wxConfigBase swig_types[27]
1463 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1464 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1465 #define SWIGTYPE_p_wxControl swig_types[30]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
1467 #define SWIGTYPE_p_wxCursor swig_types[32]
1468 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1469 #define SWIGTYPE_p_wxDC swig_types[34]
1470 #define SWIGTYPE_p_wxDataFormat swig_types[35]
1471 #define SWIGTYPE_p_wxDataObject swig_types[36]
1472 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1473 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1474 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1475 #define SWIGTYPE_p_wxDateSpan swig_types[40]
1476 #define SWIGTYPE_p_wxDateTime swig_types[41]
1477 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1478 #define SWIGTYPE_p_wxDisplay swig_types[43]
1479 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1480 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1481 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
1482 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
1483 #define SWIGTYPE_p_wxEvent swig_types[48]
1484 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
1485 #define SWIGTYPE_p_wxFSFile swig_types[50]
1486 #define SWIGTYPE_p_wxFileConfig swig_types[51]
1487 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
1488 #define SWIGTYPE_p_wxFileHistory swig_types[53]
1489 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1490 #define SWIGTYPE_p_wxFileType swig_types[55]
1491 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1492 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1493 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
1494 #define SWIGTYPE_p_wxFont swig_types[59]
1495 #define SWIGTYPE_p_wxFrame swig_types[60]
1496 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1497 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
1498 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1499 #define SWIGTYPE_p_wxGridSizer swig_types[64]
1500 #define SWIGTYPE_p_wxICOHandler swig_types[65]
1501 #define SWIGTYPE_p_wxIcon swig_types[66]
1502 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1503 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
1504 #define SWIGTYPE_p_wxImage swig_types[69]
1505 #define SWIGTYPE_p_wxImageHandler swig_types[70]
1506 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1507 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1508 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509 #define SWIGTYPE_p_wxJoystick swig_types[74]
1510 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1511 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1512 #define SWIGTYPE_p_wxKillError swig_types[77]
1513 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1514 #define SWIGTYPE_p_wxLog swig_types[79]
1515 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
1516 #define SWIGTYPE_p_wxLogChain swig_types[81]
1517 #define SWIGTYPE_p_wxLogGui swig_types[82]
1518 #define SWIGTYPE_p_wxLogNull swig_types[83]
1519 #define SWIGTYPE_p_wxLogStderr swig_types[84]
1520 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1521 #define SWIGTYPE_p_wxLogWindow swig_types[86]
1522 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1523 #define SWIGTYPE_p_wxMemorySize swig_types[88]
1524 #define SWIGTYPE_p_wxMenu swig_types[89]
1525 #define SWIGTYPE_p_wxMenuBar swig_types[90]
1526 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMenuItem swig_types[92]
1528 #define SWIGTYPE_p_wxMetafile swig_types[93]
1529 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1530 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1531 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1532 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
1533 #define SWIGTYPE_p_wxMouseState swig_types[98]
1534 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
1535 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1536 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1537 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1538 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1539 #define SWIGTYPE_p_wxObject swig_types[104]
1540 #define SWIGTYPE_p_wxOutputStream swig_types[105]
1541 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
1545 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1546 #define SWIGTYPE_p_wxPaperSize swig_types[111]
1547 #define SWIGTYPE_p_wxPoint swig_types[112]
1548 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
1549 #define SWIGTYPE_p_wxPyApp swig_types[114]
1550 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1551 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1552 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1553 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1554 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
1555 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1556 #define SWIGTYPE_p_wxPyEvent swig_types[121]
1557 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1558 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1559 #define SWIGTYPE_p_wxPyLog swig_types[124]
1560 #define SWIGTYPE_p_wxPyProcess swig_types[125]
1561 #define SWIGTYPE_p_wxPySizer swig_types[126]
1562 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1563 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1564 #define SWIGTYPE_p_wxPyTimer swig_types[129]
1565 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1566 #define SWIGTYPE_p_wxPyValidator swig_types[131]
1567 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1568 #define SWIGTYPE_p_wxRect swig_types[133]
1569 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
1570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1572 #define SWIGTYPE_p_wxShowEvent swig_types[137]
1573 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1574 #define SWIGTYPE_p_wxSize swig_types[139]
1575 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
1576 #define SWIGTYPE_p_wxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxSizerItem swig_types[142]
1578 #define SWIGTYPE_p_wxSound swig_types[143]
1579 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
1580 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1581 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1582 #define SWIGTYPE_p_wxStopWatch swig_types[147]
1583 #define SWIGTYPE_p_wxString swig_types[148]
1584 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1585 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
1586 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
1587 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1588 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
1589 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
1590 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
1591 #define SWIGTYPE_p_wxTimer swig_types[156]
1592 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
1593 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
1594 #define SWIGTYPE_p_wxTipProvider swig_types[159]
1595 #define SWIGTYPE_p_wxToolTip swig_types[160]
1596 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
1597 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1598 #define SWIGTYPE_p_wxValidator swig_types[163]
1599 #define SWIGTYPE_p_wxVideoMode swig_types[164]
1600 #define SWIGTYPE_p_wxWindow swig_types[165]
1601 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1602 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1603 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1604 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
1605 #define SWIGTYPE_ptrdiff_t swig_types[170]
1606 #define SWIGTYPE_std__ptrdiff_t swig_types[171]
1607 #define SWIGTYPE_unsigned_int swig_types[172]
1608 static swig_type_info
*swig_types
[174];
1609 static swig_module_info swig_module
= {swig_types
, 173, 0, 0, 0, 0};
1610 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1611 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1613 /* -------- TYPES TABLE (END) -------- */
1616 /*-----------------------------------------------
1617 @(target):= _misc_.so
1618 ------------------------------------------------*/
1619 #define SWIG_init init_misc_
1621 #define SWIG_name "_misc_"
1623 #include "wx/wxPython/wxPython.h"
1624 #include "wx/wxPython/pyclasses.h"
1625 #include "wx/wxPython/pyistream.h"
1627 static const wxString
wxPyEmptyString(wxEmptyString
);
1631 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1632 #define SWIG_From_int PyInt_FromLong
1640 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1643 if (value
< min_value
) {
1645 PyErr_Format(PyExc_OverflowError
,
1646 "value %ld is less than '%s' minimum %ld",
1647 value
, errmsg
, min_value
);
1650 } else if (value
> max_value
) {
1652 PyErr_Format(PyExc_OverflowError
,
1653 "value %ld is greater than '%s' maximum %ld",
1654 value
, errmsg
, max_value
);
1663 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1665 if (PyNumber_Check(obj
)) {
1666 if (val
) *val
= PyInt_AsLong(obj
);
1670 SWIG_Python_TypeError("number", obj
);
1676 #if INT_MAX != LONG_MAX
1678 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1680 const char* errmsg
= val
? "int" : (char*)0;
1682 if (SWIG_AsVal_long(obj
, &v
)) {
1683 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1684 if (val
) *val
= static_cast<int >(v
);
1693 SWIG_type_error(errmsg
, obj
);
1698 SWIGINTERNINLINE
int
1699 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1701 return SWIG_AsVal_long(obj
,(long*)val
);
1706 SWIGINTERNINLINE
int
1707 SWIG_As_int(PyObject
* obj
)
1710 if (!SWIG_AsVal_int(obj
, &v
)) {
1712 this is needed to make valgrind/purify happier.
1714 memset((void*)&v
, 0, sizeof(int));
1720 SWIGINTERNINLINE
int
1721 SWIG_Check_int(PyObject
* obj
)
1723 return SWIG_AsVal_int(obj
, (int*)0);
1726 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1728 #include <wx/stockitem.h>
1730 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1731 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1732 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1734 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1735 #define SWIG_From_long PyInt_FromLong
1739 SWIGINTERNINLINE
long
1740 SWIG_As_long(PyObject
* obj
)
1743 if (!SWIG_AsVal_long(obj
, &v
)) {
1745 this is needed to make valgrind/purify happier.
1747 memset((void*)&v
, 0, sizeof(long));
1753 SWIGINTERNINLINE
int
1754 SWIG_Check_long(PyObject
* obj
)
1756 return SWIG_AsVal_long(obj
, (long*)0);
1761 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1763 if (obj
== Py_True
) {
1764 if (val
) *val
= true;
1767 if (obj
== Py_False
) {
1768 if (val
) *val
= false;
1772 if (SWIG_AsVal_int(obj
, &res
)) {
1773 if (val
) *val
= res
? true : false;
1779 SWIG_type_error("bool", obj
);
1785 SWIGINTERNINLINE
bool
1786 SWIG_As_bool(PyObject
* obj
)
1789 if (!SWIG_AsVal_bool(obj
, &v
)) {
1791 this is needed to make valgrind/purify happier.
1793 memset((void*)&v
, 0, sizeof(bool));
1799 SWIGINTERNINLINE
int
1800 SWIG_Check_bool(PyObject
* obj
)
1802 return SWIG_AsVal_bool(obj
, (bool*)0);
1806 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1812 } else if (result
== Py_None
) {
1816 if (!PyTuple_Check(result
)) {
1818 result
= PyTuple_New(1);
1819 PyTuple_SET_ITEM(result
, 0, o2
);
1821 o3
= PyTuple_New(1);
1822 PyTuple_SetItem(o3
, 0, obj
);
1824 result
= PySequence_Concat(o2
, o3
);
1834 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1837 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1838 SWIG_Python_TypeError("unsigned number", obj
);
1841 *val
= (unsigned long)v
;
1846 SWIGINTERNINLINE
unsigned long
1847 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1850 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1852 this is needed to make valgrind/purify happier.
1854 memset((void*)&v
, 0, sizeof(unsigned long));
1860 SWIGINTERNINLINE
int
1861 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1863 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1867 SWIGINTERNINLINE PyObject
*
1868 SWIG_From_unsigned_SS_long(unsigned long value
)
1870 return (value
> LONG_MAX
) ?
1871 PyLong_FromUnsignedLong(value
)
1872 : PyInt_FromLong(static_cast<long >(value
));
1876 void* wxGetXDisplay()
1879 return wxGetDisplay();
1886 wxWindow
* FindWindowAtPointer() {
1888 return wxFindWindowAtPointer(unused
);
1892 bool wxThread_IsMain() {
1893 #ifdef WXP_WITH_THREAD
1894 return wxThread::IsMain();
1900 static void wxCaret_Destroy(wxCaret
*self
){
1904 #include <wx/snglinst.h>
1908 #include <wx/msw/private.h>
1909 #include <wx/dynload.h>
1914 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1925 // This one only partially works. Appears to be an undocumented
1926 // "standard" convention that not all widgets adhear to. For
1927 // example, for some widgets backgrounds or non-client areas may
1929 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1934 // This one works much better, nearly all widgets and their
1935 // children are captured correctly[**]. Prior to the big
1936 // background erase changes that Vadim did in 2004-2005 this
1937 // method failed badly on XP with Themes activated, most native
1938 // widgets draw only partially, if at all. Without themes it
1939 // worked just like on Win2k. After those changes this method
1942 // ** For example the radio buttons in a wxRadioBox are not its
1943 // children by default, but you can capture it via the panel
1944 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1945 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1946 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1947 PRF_ERASEBKGND
| PRF_OWNED
);
1953 // This one is only defined in the latest SDK and is only
1954 // available on XP. MSDN says it is similar to sending WM_PRINT
1955 // so I expect that it will work similar to the above. Since it
1956 // is avaialble only on XP, it can't be compiled like this and
1957 // will have to be loaded dynamically.
1958 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1963 // Use PrintWindow if available, or fallback to WM_PRINT
1964 // otherwise. Unfortunately using PrintWindow is even worse than
1965 // WM_PRINT. For most native widgets nothing is drawn to the dc
1966 // at all, with or without Themes.
1967 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1968 static bool s_triedToLoad
= false;
1969 static PrintWindow_t pfnPrintWindow
= NULL
;
1970 if ( !s_triedToLoad
)
1973 s_triedToLoad
= true;
1974 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1975 if ( dllUser32
.IsLoaded() )
1977 wxLogNull nolog
; // Don't report errors here
1978 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1983 //printf("Using PrintWindow\n");
1984 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1988 //printf("Using WM_PRINT\n");
1989 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1990 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1991 PRF_ERASEBKGND
| PRF_OWNED
);
2002 #include <wx/tipdlg.h>
2005 class wxPyTipProvider
: public wxTipProvider
{
2007 wxPyTipProvider(size_t currentTip
)
2008 : wxTipProvider(currentTip
) {}
2010 DEC_PYCALLBACK_STRING__pure(GetTip
);
2011 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2015 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2016 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2019 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
2021 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2023 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2024 : wxTimer(owner
, id
)
2026 if (owner
== NULL
) SetOwner(this);
2030 void wxPyTimer::Notify() {
2032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2033 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
2034 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
2035 wxPyEndBlockThreads(blocked
);
2039 void wxPyTimer::base_Notify() {
2045 SWIGINTERN PyObject
*
2046 SWIG_FromCharPtr(const char* cptr
)
2049 size_t size
= strlen(cptr
);
2050 if (size
> INT_MAX
) {
2051 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2052 SWIG_TypeQuery("char *"), 0);
2055 return PyString_FromStringAndSize(cptr
, size
);
2057 return PyString_FromString(cptr
);
2066 SWIGINTERNINLINE
int
2067 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2068 unsigned long max_value
,
2071 if (value
> max_value
) {
2073 PyErr_Format(PyExc_OverflowError
,
2074 "value %lu is greater than '%s' minimum %lu",
2075 value
, errmsg
, max_value
);
2083 #if UINT_MAX != ULONG_MAX
2085 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2087 const char* errmsg
= val
? "unsigned int" : (char*)0;
2089 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2090 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2091 if (val
) *val
= static_cast<unsigned int >(v
);
2098 SWIG_type_error(errmsg
, obj
);
2103 SWIGINTERNINLINE
unsigned int
2104 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2106 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2111 SWIGINTERNINLINE
unsigned int
2112 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2115 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2117 this is needed to make valgrind/purify happier.
2119 memset((void*)&v
, 0, sizeof(unsigned int));
2125 SWIGINTERNINLINE
int
2126 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2128 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2131 static wxString
wxLog_TimeStamp(){
2133 wxLog::TimeStamp(&msg
);
2136 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
2137 // Make some wrappers that double any % signs so they are 'escaped'
2138 void wxPyLogFatalError(const wxString
& msg
)
2141 m
.Replace(wxT("%"), wxT("%%"));
2145 void wxPyLogError(const wxString
& msg
)
2148 m
.Replace(wxT("%"), wxT("%%"));
2152 void wxPyLogWarning(const wxString
& msg
)
2155 m
.Replace(wxT("%"), wxT("%%"));
2159 void wxPyLogMessage(const wxString
& msg
)
2162 m
.Replace(wxT("%"), wxT("%%"));
2166 void wxPyLogInfo(const wxString
& msg
)
2169 m
.Replace(wxT("%"), wxT("%%"));
2173 void wxPyLogDebug(const wxString
& msg
)
2176 m
.Replace(wxT("%"), wxT("%%"));
2180 void wxPyLogVerbose(const wxString
& msg
)
2183 m
.Replace(wxT("%"), wxT("%%"));
2187 void wxPyLogStatus(const wxString
& msg
)
2190 m
.Replace(wxT("%"), wxT("%%"));
2194 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2197 m
.Replace(wxT("%"), wxT("%%"));
2198 wxLogStatus(pFrame
, m
);
2201 void wxPyLogSysError(const wxString
& msg
)
2204 m
.Replace(wxT("%"), wxT("%%"));
2208 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2211 m
.Replace(wxT("%"), wxT("%%"));
2212 wxLogGeneric(level
, m
);
2215 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2218 m
.Replace(wxT("%"), wxT("%%"));
2219 wxLogTrace(mask
, m
);
2222 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2225 m
.Replace(wxT("%"), wxT("%%"));
2226 wxLogTrace(mask
, m
);
2231 // A wxLog class that can be derived from in wxPython
2232 class wxPyLog
: public wxLog
{
2234 wxPyLog() : wxLog() {}
2236 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2238 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2239 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2240 PyObject
* s
= wx2PyString(szString
);
2241 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2244 wxPyEndBlockThreads(blocked
);
2246 wxLog::DoLog(level
, szString
, t
);
2249 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2251 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2252 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2253 PyObject
* s
= wx2PyString(szString
);
2254 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2257 wxPyEndBlockThreads(blocked
);
2259 wxLog::DoLogString(szString
, t
);
2268 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2271 #include <wx/joystick.h>
2274 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2275 // A C++ stub class for wxJoystick for platforms that don't have it.
2276 class wxJoystick
: public wxObject
{
2278 wxJoystick(int joystick
= wxJOYSTICK1
) {
2279 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2280 PyErr_SetString(PyExc_NotImplementedError
,
2281 "wxJoystick is not available on this platform.");
2282 wxPyEndBlockThreads(blocked
);
2284 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2285 int GetZPosition() { return -1; }
2286 int GetButtonState() { return -1; }
2287 int GetPOVPosition() { return -1; }
2288 int GetPOVCTSPosition() { return -1; }
2289 int GetRudderPosition() { return -1; }
2290 int GetUPosition() { return -1; }
2291 int GetVPosition() { return -1; }
2292 int GetMovementThreshold() { return -1; }
2293 void SetMovementThreshold(int threshold
) {}
2295 bool IsOk(void) { return false; }
2296 int GetNumberJoysticks() { return -1; }
2297 int GetManufacturerId() { return -1; }
2298 int GetProductId() { return -1; }
2299 wxString
GetProductName() { return wxEmptyString
; }
2300 int GetXMin() { return -1; }
2301 int GetYMin() { return -1; }
2302 int GetZMin() { return -1; }
2303 int GetXMax() { return -1; }
2304 int GetYMax() { return -1; }
2305 int GetZMax() { return -1; }
2306 int GetNumberButtons() { return -1; }
2307 int GetNumberAxes() { return -1; }
2308 int GetMaxButtons() { return -1; }
2309 int GetMaxAxes() { return -1; }
2310 int GetPollingMin() { return -1; }
2311 int GetPollingMax() { return -1; }
2312 int GetRudderMin() { return -1; }
2313 int GetRudderMax() { return -1; }
2314 int GetUMin() { return -1; }
2315 int GetUMax() { return -1; }
2316 int GetVMin() { return -1; }
2317 int GetVMax() { return -1; }
2319 bool HasRudder() { return false; }
2320 bool HasZ() { return false; }
2321 bool HasU() { return false; }
2322 bool HasV() { return false; }
2323 bool HasPOV() { return false; }
2324 bool HasPOV4Dir() { return false; }
2325 bool HasPOVCTS() { return false; }
2327 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2328 bool ReleaseCapture() { return false; }
2333 #include <wx/sound.h>
2337 // A C++ stub class for wxWave for platforms that don't have it.
2338 class wxSound
: public wxObject
2342 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2343 PyErr_SetString(PyExc_NotImplementedError
,
2344 "wxSound is not available on this platform.");
2345 wxPyEndBlockThreads(blocked
);
2347 wxSound(const wxString
&/*, bool*/) {
2348 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2349 PyErr_SetString(PyExc_NotImplementedError
,
2350 "wxSound is not available on this platform.");
2351 wxPyEndBlockThreads(blocked
);
2353 wxSound(int, const wxByte
*) {
2354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2355 PyErr_SetString(PyExc_NotImplementedError
,
2356 "wxSound is not available on this platform.");
2357 wxPyEndBlockThreads(blocked
);
2362 bool Create(const wxString
&/*, bool*/) { return false; }
2363 bool Create(int, const wxByte
*) { return false; };
2364 bool IsOk() { return false; };
2365 bool Play(unsigned) const { return false; }
2366 static bool Play(const wxString
&, unsigned) { return false; }
2367 static void Stop() {}
2372 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2373 if (fileName
.Length() == 0)
2376 return new wxSound(fileName
);
2378 static wxSound
*new_wxSound(PyObject
*data
){
2379 unsigned char* buffer
; int size
;
2380 wxSound
*sound
= NULL
;
2382 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2383 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2385 sound
= new wxSound(size
, buffer
);
2387 wxPyEndBlockThreads(blocked
);
2390 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2392 unsigned char* buffer
;
2396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2397 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2399 rv
= self
->Create(size
, buffer
);
2401 wxPyEndBlockThreads(blocked
);
2404 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2405 PyErr_SetString(PyExc_NotImplementedError
,
2406 "Create from data is not available on this platform.");
2407 wxPyEndBlockThreads(blocked
);
2412 #include <wx/mimetype.h>
2414 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2416 if (self
->GetMimeType(&str
))
2417 return wx2PyString(str
);
2421 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2423 if (self
->GetMimeTypes(arr
))
2424 return wxArrayString2PyList_helper(arr
);
2428 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2430 if (self
->GetExtensions(arr
))
2431 return wxArrayString2PyList_helper(arr
);
2435 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2437 if (self
->GetIcon(&loc
))
2438 return new wxIcon(loc
);
2442 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2444 if (self
->GetIcon(&loc
)) {
2445 wxString iconFile
= loc
.GetFileName();
2450 // Make a tuple and put the values in it
2451 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2452 PyObject
* tuple
= PyTuple_New(3);
2453 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2454 wxT("wxIcon"), true));
2455 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2456 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2457 wxPyEndBlockThreads(blocked
);
2463 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2465 if (self
->GetDescription(&str
))
2466 return wx2PyString(str
);
2470 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2472 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2473 return wx2PyString(str
);
2477 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2479 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2480 return wx2PyString(str
);
2484 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2485 wxArrayString verbs
;
2486 wxArrayString commands
;
2487 if (self
->GetAllCommands(&verbs
, &commands
,
2488 wxFileType::MessageParameters(filename
, mimetype
))) {
2489 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2490 PyObject
* tuple
= PyTuple_New(2);
2491 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2492 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2493 wxPyEndBlockThreads(blocked
);
2499 static wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2500 return wxFileType::ExpandCommand(command
,
2501 wxFileType::MessageParameters(filename
, mimetype
));
2503 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2505 self
->EnumAllFileTypes(arr
);
2506 return wxArrayString2PyList_helper(arr
);
2509 #include <wx/artprov.h>
2511 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2512 static const wxString
wxPyART_MENU(wxART_MENU
);
2513 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2514 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2515 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2516 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2517 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2518 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2519 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2520 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2521 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2522 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2523 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2524 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2525 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2526 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2527 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2528 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2529 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2530 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2531 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2532 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2533 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2534 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2535 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2536 static const wxString
wxPyART_HELP(wxART_HELP
);
2537 static const wxString
wxPyART_TIP(wxART_TIP
);
2538 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2539 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2540 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2541 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2542 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2543 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2544 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2545 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2546 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2547 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2548 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2549 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2550 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2551 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2552 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2553 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2554 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2555 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2556 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2557 static const wxString
wxPyART_COPY(wxART_COPY
);
2558 static const wxString
wxPyART_CUT(wxART_CUT
);
2559 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2560 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2561 static const wxString
wxPyART_NEW(wxART_NEW
);
2562 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2563 static const wxString
wxPyART_REDO(wxART_REDO
);
2564 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2565 static const wxString
wxPyART_FIND(wxART_FIND
);
2566 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2567 // Python aware wxArtProvider
2568 class wxPyArtProvider
: public wxArtProvider
{
2571 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2572 const wxArtClient
& client
,
2573 const wxSize
& size
) {
2574 wxBitmap rval
= wxNullBitmap
;
2575 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2576 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2577 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2581 s1
= wx2PyString(id
);
2582 s2
= wx2PyString(client
);
2583 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2588 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2593 wxPyEndBlockThreads(blocked
);
2600 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2604 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2605 PyObject
* ret
= PyTuple_New(3);
2607 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2608 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2609 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2614 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2619 cont
= self
->GetFirstGroup(value
, index
);
2620 return __EnumerationHelper(cont
, value
, index
);
2622 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2626 cont
= self
->GetNextGroup(value
, index
);
2627 return __EnumerationHelper(cont
, value
, index
);
2629 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2634 cont
= self
->GetFirstEntry(value
, index
);
2635 return __EnumerationHelper(cont
, value
, index
);
2637 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2641 cont
= self
->GetNextEntry(value
, index
);
2642 return __EnumerationHelper(cont
, value
, index
);
2644 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2646 self
->Read(key
, &rv
, defaultVal
);
2651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2653 if (PyNumber_Check(obj
)) {
2654 if (val
) *val
= PyFloat_AsDouble(obj
);
2658 SWIG_Python_TypeError("number", obj
);
2664 SWIGINTERNINLINE
double
2665 SWIG_As_double(PyObject
* obj
)
2668 if (!SWIG_AsVal_double(obj
, &v
)) {
2670 this is needed to make valgrind/purify happier.
2672 memset((void*)&v
, 0, sizeof(double));
2678 SWIGINTERNINLINE
int
2679 SWIG_Check_double(PyObject
* obj
)
2681 return SWIG_AsVal_double(obj
, (double*)0);
2684 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2686 self
->Read(key
, &rv
, defaultVal
);
2690 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2691 #define SWIG_From_double PyFloat_FromDouble
2694 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2696 self
->Read(key
, &rv
, defaultVal
);
2700 #include <wx/datetime.h>
2702 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2703 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2705 #define LOCAL_TZ wxDateTime::Local
2707 static PyObject
*wxDateTime_GetAmPmStrings(){
2710 wxDateTime::GetAmPmStrings(&am
, &pm
);
2711 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2712 PyObject
* tup
= PyTuple_New(2);
2713 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2714 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2715 wxPyEndBlockThreads(blocked
);
2719 #if UINT_MAX < LONG_MAX
2720 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2721 #define SWIG_From_unsigned_SS_int SWIG_From_long
2724 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2725 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2729 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2730 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2731 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2732 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2733 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2734 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2735 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2736 return (*self
< *other
);
2738 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2739 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2740 return (*self
<= *other
);
2742 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2743 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2744 return (*self
> *other
);
2746 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2747 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2748 return (*self
>= *other
);
2750 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2751 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2752 return (*self
== *other
);
2754 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2755 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2756 return (*self
!= *other
);
2758 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2760 const wxChar
* _date
= date
;
2761 rv
= self
->ParseRfc822Date(_date
);
2762 if (rv
== NULL
) return -1;
2765 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2767 const wxChar
* _date
= date
;
2768 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2769 if (rv
== NULL
) return -1;
2772 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2774 const wxChar
* _datetime
= datetime
;
2775 rv
= self
->ParseDateTime(_datetime
);
2776 if (rv
== NULL
) return -1;
2777 return rv
- _datetime
;
2779 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2781 const wxChar
* _date
= date
;
2782 rv
= self
->ParseDate(_date
);
2783 if (rv
== NULL
) return -1;
2786 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2788 const wxChar
* _time
= time
;
2789 rv
= self
->ParseTime(_time
);
2790 if (rv
== NULL
) return -1;
2793 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2794 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2795 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2796 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2797 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2798 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2799 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2800 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2801 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2802 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2803 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2804 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2805 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2806 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2807 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2808 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2810 #include <wx/dataobj.h>
2812 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2813 size_t count
= self
->GetFormatCount(dir
);
2814 wxDataFormat
* formats
= new wxDataFormat
[count
];
2815 self
->GetAllFormats(formats
, dir
);
2817 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2818 PyObject
* list
= PyList_New(count
);
2819 for (size_t i
=0; i
<count
; i
++) {
2820 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2821 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2822 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
2824 wxPyEndBlockThreads(blocked
);
2828 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2829 PyObject
* rval
= NULL
;
2830 size_t size
= self
->GetDataSize(format
);
2831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2833 char* buf
= new char[size
];
2834 if (self
->GetDataHere(format
, buf
))
2835 rval
= PyString_FromStringAndSize(buf
, size
);
2842 wxPyEndBlockThreads(blocked
);
2845 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 if (PyString_Check(data
)) {
2849 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2852 // raise a TypeError if not a string
2853 PyErr_SetString(PyExc_TypeError
, "String expected.");
2856 wxPyEndBlockThreads(blocked
);
2859 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2860 PyObject
* rval
= NULL
;
2861 size_t size
= self
->GetDataSize();
2862 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2864 char* buf
= new char[size
];
2865 if (self
->GetDataHere(buf
))
2866 rval
= PyString_FromStringAndSize(buf
, size
);
2873 wxPyEndBlockThreads(blocked
);
2876 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2878 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2879 if (PyString_Check(data
)) {
2880 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2883 // raise a TypeError if not a string
2884 PyErr_SetString(PyExc_TypeError
, "String expected.");
2887 wxPyEndBlockThreads(blocked
);
2890 // Create a new class for wxPython to use
2891 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2893 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2894 : wxDataObjectSimple(format
) {}
2896 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2897 bool GetDataHere(void *buf
) const;
2898 bool SetData(size_t len
, const void *buf
) const;
2902 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2904 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2905 // We need to get the data for this object and write it to buf. I think
2906 // the best way to do this for wxPython is to have the Python method
2907 // return either a string or None and then act appropriately with the
2911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2912 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2914 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2916 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2918 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2922 wxPyEndBlockThreads(blocked
);
2926 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2927 // For this one we simply need to make a string from buf and len
2928 // and send it to the Python method.
2930 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2931 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2932 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2933 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2936 wxPyEndBlockThreads(blocked
);
2940 // Create a new class for wxPython to use
2941 class wxPyTextDataObject
: public wxTextDataObject
{
2943 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2944 : wxTextDataObject(text
) {}
2946 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2947 DEC_PYCALLBACK_STRING__const(GetText
);
2948 DEC_PYCALLBACK__STRING(SetText
);
2952 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2953 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2954 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2957 // Create a new class for wxPython to use
2958 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2960 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2961 : wxBitmapDataObject(bitmap
) {}
2963 wxBitmap
GetBitmap() const;
2964 void SetBitmap(const wxBitmap
& bitmap
);
2968 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2969 wxBitmap
* rval
= &wxNullBitmap
;
2970 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2971 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2974 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2976 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2981 wxPyEndBlockThreads(blocked
);
2985 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2986 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2987 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2988 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2989 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2992 wxPyEndBlockThreads(blocked
);
2995 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2996 return new wxCustomDataObject(wxDataFormat(formatName
));
2998 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3001 if (PyString_Check(data
)) {
3002 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3005 // raise a TypeError if not a string
3006 PyErr_SetString(PyExc_TypeError
, "String expected.");
3009 wxPyEndBlockThreads(blocked
);
3012 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3014 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3015 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3016 wxPyEndBlockThreads(blocked
);
3020 #include <wx/metafile.h>
3023 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3026 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3027 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3028 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3029 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3030 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3033 class wxPyTextDropTarget
: public wxTextDropTarget
{
3035 wxPyTextDropTarget() {}
3037 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3039 DEC_PYCALLBACK__(OnLeave
);
3040 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3041 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3042 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3043 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3048 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3049 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3050 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3051 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3052 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3053 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3057 class wxPyFileDropTarget
: public wxFileDropTarget
{
3059 wxPyFileDropTarget() {}
3061 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3063 DEC_PYCALLBACK__(OnLeave
);
3064 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3065 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3066 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3067 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3072 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3073 const wxArrayString
& filenames
) {
3075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3076 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3077 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3078 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3081 wxPyEndBlockThreads(blocked
);
3087 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3088 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3089 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3090 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3091 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3096 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3098 #include <wx/display.h>
3100 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
3101 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
3103 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3105 #include <wx/dynarray.h>
3106 #include <wx/vidmode.h>
3108 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
3109 #include "wx/arrimpl.cpp"
3110 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
3111 const wxVideoMode wxDefaultVideoMode
;
3116 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
3119 static size_t GetCount()
3120 { wxPyRaiseNotImplemented(); return 0; }
3122 static int GetFromPoint(const wxPoint
& pt
)
3123 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3124 static int GetFromWindow(wxWindow
*window
)
3125 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3127 virtual bool IsOk() const { return false; }
3128 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
3129 virtual wxString
GetName() const { return wxEmptyString
; }
3130 bool IsPrimary() const { return false; }
3132 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3133 { wxArrayVideoModes a
; return a
; }
3135 virtual wxVideoMode
GetCurrentMode() const
3136 { return wxDefaultVideoMode
; }
3138 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
3145 static int wxDisplay_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
3146 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
3147 PyObject
* pyList
= NULL
;
3148 wxArrayVideoModes arr
= self
->GetModes(mode
);
3149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3150 pyList
= PyList_New(0);
3151 for (int i
=0; i
< arr
.GetCount(); i
++) {
3152 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
3153 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
3154 PyList_Append(pyList
, pyObj
);
3157 wxPyEndBlockThreads(blocked
);
3161 #include <wx/stdpaths.h>
3163 static wxStandardPaths
*wxStandardPaths_Get(){
3164 return (wxStandardPaths
*) &wxStandardPaths::Get();
3166 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
3167 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
3171 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
= NULL
;
3173 wxSystemColour arg1
;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "index", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
3182 arg1
= static_cast<wxSystemColour
>(SWIG_As_int(obj0
));
3183 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 if (!wxPyCheckForApp()) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= wxSystemSettings::GetColour(arg1
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 wxColour
* resultptr
;
3195 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3204 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
= NULL
;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "index", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3215 arg1
= static_cast<wxSystemFont
>(SWIG_As_int(obj0
));
3216 if (SWIG_arg_fail(1)) SWIG_fail
;
3219 if (!wxPyCheckForApp()) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 result
= wxSystemSettings::GetFont(arg1
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3228 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
3229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3237 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
= NULL
;
3239 wxSystemMetric arg1
;
3240 wxWindow
*arg2
= (wxWindow
*) NULL
;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3245 (char *) "index",(char *) "win", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3250 arg1
= static_cast<wxSystemMetric
>(SWIG_As_int(obj0
));
3251 if (SWIG_arg_fail(1)) SWIG_fail
;
3254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3255 if (SWIG_arg_fail(2)) SWIG_fail
;
3258 if (!wxPyCheckForApp()) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= SWIG_From_int(static_cast<int >(result
));
3274 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
= NULL
;
3276 wxSystemFeature arg1
;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "index", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3285 arg1
= static_cast<wxSystemFeature
>(SWIG_As_int(obj0
));
3286 if (SWIG_arg_fail(1)) SWIG_fail
;
3289 if (!wxPyCheckForApp()) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (bool)wxSystemSettings::HasFeature(arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3305 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
= NULL
;
3307 wxSystemScreenType result
;
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3314 if (!wxPyCheckForApp()) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= SWIG_From_int((result
));
3328 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
= NULL
;
3330 wxSystemScreenType arg1
;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "screen", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3338 arg1
= static_cast<wxSystemScreenType
>(SWIG_As_int(obj0
));
3339 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 if (!wxPyCheckForApp()) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxSystemSettings::SetScreenType(arg1
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3359 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3361 return Py_BuildValue((char *)"");
3363 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3364 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3369 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3370 PyObject
*pyobj
= NULL
;
3374 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3376 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3383 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
= NULL
;
3385 wxSystemOptions
*result
;
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (wxSystemOptions
*)new wxSystemOptions();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3405 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
= NULL
;
3407 wxString
*arg1
= 0 ;
3408 wxString
*arg2
= 0 ;
3409 bool temp1
= false ;
3410 bool temp2
= false ;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3414 (char *) "name",(char *) "value", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 arg1
= wxString_in_helper(obj0
);
3420 if (arg1
== NULL
) SWIG_fail
;
3424 arg2
= wxString_in_helper(obj1
);
3425 if (arg2
== NULL
) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 Py_INCREF(Py_None
); resultobj
= Py_None
;
3458 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
= NULL
;
3460 wxString
*arg1
= 0 ;
3462 bool temp1
= false ;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "name",(char *) "value", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3471 arg1
= wxString_in_helper(obj0
);
3472 if (arg1
== NULL
) SWIG_fail
;
3476 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3477 if (SWIG_arg_fail(2)) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
= NULL
;
3503 wxString
*arg1
= 0 ;
3505 bool temp1
= false ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "name", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3513 arg1
= wxString_in_helper(obj0
);
3514 if (arg1
== NULL
) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3545 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
= NULL
;
3547 wxString
*arg1
= 0 ;
3549 bool temp1
= false ;
3550 PyObject
* obj0
= 0 ;
3552 (char *) "name", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3557 arg1
= wxString_in_helper(obj0
);
3558 if (arg1
== NULL
) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= SWIG_From_int(static_cast<int >(result
));
3585 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
= NULL
;
3587 wxString
*arg1
= 0 ;
3589 bool temp1
= false ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "name", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3597 arg1
= wxString_in_helper(obj0
);
3598 if (arg1
== NULL
) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3625 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
= NULL
;
3627 wxString
*arg1
= 0 ;
3629 bool temp1
= false ;
3630 PyObject
* obj0
= 0 ;
3632 (char *) "name", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3637 arg1
= wxString_in_helper(obj0
);
3638 if (arg1
== NULL
) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3665 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3668 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3670 return Py_BuildValue((char *)"");
3672 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3673 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3678 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3679 PyObject
*pyobj
= NULL
;
3683 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3685 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3692 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3693 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3698 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3699 PyObject
*pyobj
= NULL
;
3703 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3705 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3712 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3713 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3718 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3719 PyObject
*pyobj
= NULL
;
3723 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3725 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3732 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
= NULL
;
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (long)wxNewId();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= SWIG_From_long(static_cast<long >(result
));
3756 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
= NULL
;
3759 PyObject
* obj0
= 0 ;
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3766 arg1
= static_cast<long >(SWIG_As_long(obj0
));
3767 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
= NULL
;
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (long)wxGetCurrentId();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_From_long(static_cast<long >(result
));
3807 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
= NULL
;
3811 PyObject
* obj0
= 0 ;
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3818 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (bool)wxIsStockID(arg1
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3837 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
= NULL
;
3840 wxString
*arg2
= 0 ;
3842 bool temp2
= false ;
3843 PyObject
* obj0
= 0 ;
3844 PyObject
* obj1
= 0 ;
3846 (char *) "id",(char *) "label", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3851 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 arg2
= wxString_in_helper(obj1
);
3856 if (arg2
== NULL
) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3883 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
= NULL
;
3886 bool arg2
= (bool) true ;
3887 wxString arg3
= (wxString
) wxPyEmptyString
;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3891 PyObject
* obj2
= 0 ;
3893 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3898 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3899 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3904 if (SWIG_arg_fail(2)) SWIG_fail
;
3909 wxString
* sptr
= wxString_in_helper(obj2
);
3910 if (sptr
== NULL
) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3935 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
= NULL
;
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3943 if (!wxPyCheckForApp()) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 Py_INCREF(Py_None
); resultobj
= Py_None
;
3957 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
= NULL
;
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3965 if (!wxPyCheckForApp()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
= NULL
;
3981 bool arg1
= (bool) true ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "resetTimer", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3991 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
3992 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (long)wxGetElapsedTime(arg1
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_From_long(static_cast<long >(result
));
4011 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
= NULL
;
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)wxIsBusy();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4035 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= NULL
;
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4063 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
= NULL
;
4065 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4066 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4068 bool temp1
= false ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "command", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
4077 arg1
= wxString_in_helper(obj0
);
4078 if (arg1
== NULL
) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)wxShell((wxString
const &)*arg1
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4106 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
= NULL
;
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= NULL
;
4129 int *arg1
= (int *) 0 ;
4130 int *arg2
= (int *) 0 ;
4140 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4141 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (int)wxGetOsVersion(arg1
,arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_From_int(static_cast<int >(result
));
4153 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4154 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4155 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4156 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4163 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= NULL
;
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= wxGetOsDescription();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4191 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= NULL
;
4193 wxMemorySize result
;
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= wxGetFreeMemory();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4207 wxMemorySize
* resultptr
;
4208 resultptr
= new wxMemorySize(static_cast<wxMemorySize
& >(result
));
4209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMemorySize
, 1);
4217 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
= NULL
;
4219 wxShutdownFlags arg1
;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "wFlags", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4228 arg1
= static_cast<wxShutdownFlags
>(SWIG_As_int(obj0
));
4229 if (SWIG_arg_fail(1)) SWIG_fail
;
4232 if (!wxPyCheckForApp()) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)wxShutdown(arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= NULL
;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "secs", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4258 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4259 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
= NULL
;
4277 unsigned long arg1
;
4278 PyObject
* obj0
= 0 ;
4280 (char *) "milliseconds", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4285 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4286 if (SWIG_arg_fail(1)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 Py_INCREF(Py_None
); resultobj
= Py_None
;
4302 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
= NULL
;
4304 unsigned long arg1
;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "microseconds", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4312 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
4313 if (SWIG_arg_fail(1)) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 Py_INCREF(Py_None
); resultobj
= Py_None
;
4329 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
= NULL
;
4332 PyObject
* obj0
= 0 ;
4334 (char *) "enable", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4339 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
4340 if (SWIG_arg_fail(1)) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 wxEnableTopLevelWindows(arg1
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 Py_INCREF(Py_None
); resultobj
= Py_None
;
4356 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
= NULL
;
4358 wxString
*arg1
= 0 ;
4360 bool temp1
= false ;
4361 PyObject
* obj0
= 0 ;
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4368 arg1
= wxString_in_helper(obj0
);
4369 if (arg1
== NULL
) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4400 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= NULL
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= wxGetEmailAddress();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4428 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
= NULL
;
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= wxGetHostName();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= NULL
;
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= wxGetFullHostName();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4484 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
= NULL
;
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= wxGetUserId();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4512 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
= NULL
;
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= wxGetUserName();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4540 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= NULL
;
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= wxGetHomeDir();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4568 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
= NULL
;
4570 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4571 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4573 bool temp1
= false ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "user", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4582 arg1
= wxString_in_helper(obj0
);
4583 if (arg1
== NULL
) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= wxGetUserHome((wxString
const &)*arg1
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4615 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= NULL
;
4617 unsigned long result
;
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (unsigned long)wxGetProcessId();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
4639 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
= NULL
;
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= NULL
;
4662 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4663 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4664 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4665 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4666 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4667 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4668 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4669 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4670 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4671 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4672 int arg6
= (int) 0 ;
4673 wxWindow
*arg7
= (wxWindow
*) NULL
;
4674 int arg8
= (int) -1 ;
4675 int arg9
= (int) -1 ;
4677 bool temp1
= false ;
4678 bool temp2
= false ;
4679 bool temp3
= false ;
4680 bool temp4
= false ;
4681 bool temp5
= false ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4685 PyObject
* obj3
= 0 ;
4686 PyObject
* obj4
= 0 ;
4687 PyObject
* obj5
= 0 ;
4688 PyObject
* obj6
= 0 ;
4689 PyObject
* obj7
= 0 ;
4690 PyObject
* obj8
= 0 ;
4692 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4698 arg1
= wxString_in_helper(obj0
);
4699 if (arg1
== NULL
) SWIG_fail
;
4705 arg2
= wxString_in_helper(obj1
);
4706 if (arg2
== NULL
) SWIG_fail
;
4712 arg3
= wxString_in_helper(obj2
);
4713 if (arg3
== NULL
) SWIG_fail
;
4719 arg4
= wxString_in_helper(obj3
);
4720 if (arg4
== NULL
) SWIG_fail
;
4726 arg5
= wxString_in_helper(obj4
);
4727 if (arg5
== NULL
) SWIG_fail
;
4733 arg6
= static_cast<int >(SWIG_As_int(obj5
));
4734 if (SWIG_arg_fail(6)) SWIG_fail
;
4738 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4739 if (SWIG_arg_fail(7)) SWIG_fail
;
4743 arg8
= static_cast<int >(SWIG_As_int(obj7
));
4744 if (SWIG_arg_fail(8)) SWIG_fail
;
4749 arg9
= static_cast<int >(SWIG_As_int(obj8
));
4750 if (SWIG_arg_fail(9)) SWIG_fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4814 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
= NULL
;
4816 wxString
*arg1
= 0 ;
4817 wxString
*arg2
= 0 ;
4818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4820 wxWindow
*arg4
= (wxWindow
*) NULL
;
4822 bool temp1
= false ;
4823 bool temp2
= false ;
4824 bool temp3
= false ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4828 PyObject
* obj3
= 0 ;
4830 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4835 arg1
= wxString_in_helper(obj0
);
4836 if (arg1
== NULL
) SWIG_fail
;
4840 arg2
= wxString_in_helper(obj1
);
4841 if (arg2
== NULL
) SWIG_fail
;
4846 arg3
= wxString_in_helper(obj2
);
4847 if (arg3
== NULL
) SWIG_fail
;
4852 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4853 if (SWIG_arg_fail(4)) SWIG_fail
;
4856 if (!wxPyCheckForApp()) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4900 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= NULL
;
4902 wxString
*arg1
= 0 ;
4903 wxString
*arg2
= 0 ;
4904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4906 wxWindow
*arg4
= (wxWindow
*) NULL
;
4908 bool temp1
= false ;
4909 bool temp2
= false ;
4910 bool temp3
= false ;
4911 PyObject
* obj0
= 0 ;
4912 PyObject
* obj1
= 0 ;
4913 PyObject
* obj2
= 0 ;
4914 PyObject
* obj3
= 0 ;
4916 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4921 arg1
= wxString_in_helper(obj0
);
4922 if (arg1
== NULL
) SWIG_fail
;
4926 arg2
= wxString_in_helper(obj1
);
4927 if (arg2
== NULL
) SWIG_fail
;
4932 arg3
= wxString_in_helper(obj2
);
4933 if (arg3
== NULL
) SWIG_fail
;
4938 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4939 if (SWIG_arg_fail(4)) SWIG_fail
;
4942 if (!wxPyCheckForApp()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4986 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
= NULL
;
4988 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4989 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4990 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4991 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4992 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4995 wxWindow
*arg5
= (wxWindow
*) NULL
;
4997 bool temp1
= false ;
4998 bool temp2
= false ;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5002 PyObject
* obj2
= 0 ;
5003 PyObject
* obj3
= 0 ;
5004 PyObject
* obj4
= 0 ;
5006 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5012 arg1
= wxString_in_helper(obj0
);
5013 if (arg1
== NULL
) SWIG_fail
;
5019 arg2
= wxString_in_helper(obj1
);
5020 if (arg2
== NULL
) SWIG_fail
;
5026 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5027 if (SWIG_arg_fail(3)) SWIG_fail
;
5033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5037 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5038 if (SWIG_arg_fail(5)) SWIG_fail
;
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5077 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= NULL
;
5079 wxString
*arg1
= 0 ;
5080 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5081 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5082 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5083 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5084 wxWindow
*arg4
= (wxWindow
*) NULL
;
5085 int arg5
= (int) -1 ;
5086 int arg6
= (int) -1 ;
5087 bool arg7
= (bool) true ;
5089 bool temp1
= false ;
5090 bool temp2
= false ;
5091 bool temp3
= false ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5094 PyObject
* obj2
= 0 ;
5095 PyObject
* obj3
= 0 ;
5096 PyObject
* obj4
= 0 ;
5097 PyObject
* obj5
= 0 ;
5098 PyObject
* obj6
= 0 ;
5100 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5105 arg1
= wxString_in_helper(obj0
);
5106 if (arg1
== NULL
) SWIG_fail
;
5111 arg2
= wxString_in_helper(obj1
);
5112 if (arg2
== NULL
) SWIG_fail
;
5118 arg3
= wxString_in_helper(obj2
);
5119 if (arg3
== NULL
) SWIG_fail
;
5124 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(4)) SWIG_fail
;
5129 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5130 if (SWIG_arg_fail(5)) SWIG_fail
;
5135 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5136 if (SWIG_arg_fail(6)) SWIG_fail
;
5141 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
5142 if (SWIG_arg_fail(7)) SWIG_fail
;
5146 if (!wxPyCheckForApp()) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5190 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
= NULL
;
5192 wxString
*arg1
= 0 ;
5193 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5194 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5195 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5197 wxWindow
*arg4
= (wxWindow
*) NULL
;
5199 bool temp1
= false ;
5200 bool temp2
= false ;
5201 bool temp3
= false ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5205 PyObject
* obj3
= 0 ;
5207 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5212 arg1
= wxString_in_helper(obj0
);
5213 if (arg1
== NULL
) SWIG_fail
;
5218 arg2
= wxString_in_helper(obj1
);
5219 if (arg2
== NULL
) SWIG_fail
;
5225 arg3
= wxString_in_helper(obj2
);
5226 if (arg3
== NULL
) SWIG_fail
;
5231 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5232 if (SWIG_arg_fail(4)) SWIG_fail
;
5235 if (!wxPyCheckForApp()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5279 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= NULL
;
5281 wxString
*arg1
= 0 ;
5282 wxString
*arg2
= 0 ;
5284 wxString
*arg4
= (wxString
*) 0 ;
5285 wxWindow
*arg5
= (wxWindow
*) NULL
;
5286 int arg6
= (int) -1 ;
5287 int arg7
= (int) -1 ;
5288 bool arg8
= (bool) true ;
5289 int arg9
= (int) 150 ;
5290 int arg10
= (int) 200 ;
5292 bool temp1
= false ;
5293 bool temp2
= false ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5297 PyObject
* obj3
= 0 ;
5298 PyObject
* obj4
= 0 ;
5299 PyObject
* obj5
= 0 ;
5300 PyObject
* obj6
= 0 ;
5301 PyObject
* obj7
= 0 ;
5302 PyObject
* obj8
= 0 ;
5304 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5309 arg1
= wxString_in_helper(obj0
);
5310 if (arg1
== NULL
) SWIG_fail
;
5314 arg2
= wxString_in_helper(obj1
);
5315 if (arg2
== NULL
) SWIG_fail
;
5319 arg3
= PyList_Size(obj2
);
5320 arg4
= wxString_LIST_helper(obj2
);
5321 if (arg4
== NULL
) SWIG_fail
;
5324 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(5)) SWIG_fail
;
5329 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5330 if (SWIG_arg_fail(6)) SWIG_fail
;
5335 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5336 if (SWIG_arg_fail(7)) SWIG_fail
;
5341 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5342 if (SWIG_arg_fail(8)) SWIG_fail
;
5347 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5348 if (SWIG_arg_fail(9)) SWIG_fail
;
5353 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5354 if (SWIG_arg_fail(10)) SWIG_fail
;
5358 if (!wxPyCheckForApp()) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5381 if (arg4
) delete [] arg4
;
5394 if (arg4
) delete [] arg4
;
5400 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
= NULL
;
5402 wxString
*arg1
= 0 ;
5403 wxString
*arg2
= 0 ;
5405 wxString
*arg4
= (wxString
*) 0 ;
5406 wxWindow
*arg5
= (wxWindow
*) NULL
;
5407 int arg6
= (int) -1 ;
5408 int arg7
= (int) -1 ;
5409 bool arg8
= (bool) true ;
5410 int arg9
= (int) 150 ;
5411 int arg10
= (int) 200 ;
5413 bool temp1
= false ;
5414 bool temp2
= false ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5417 PyObject
* obj2
= 0 ;
5418 PyObject
* obj3
= 0 ;
5419 PyObject
* obj4
= 0 ;
5420 PyObject
* obj5
= 0 ;
5421 PyObject
* obj6
= 0 ;
5422 PyObject
* obj7
= 0 ;
5423 PyObject
* obj8
= 0 ;
5425 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5430 arg1
= wxString_in_helper(obj0
);
5431 if (arg1
== NULL
) SWIG_fail
;
5435 arg2
= wxString_in_helper(obj1
);
5436 if (arg2
== NULL
) SWIG_fail
;
5440 arg3
= PyList_Size(obj2
);
5441 arg4
= wxString_LIST_helper(obj2
);
5442 if (arg4
== NULL
) SWIG_fail
;
5445 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5446 if (SWIG_arg_fail(5)) SWIG_fail
;
5450 arg6
= static_cast<int >(SWIG_As_int(obj4
));
5451 if (SWIG_arg_fail(6)) SWIG_fail
;
5456 arg7
= static_cast<int >(SWIG_As_int(obj5
));
5457 if (SWIG_arg_fail(7)) SWIG_fail
;
5462 arg8
= static_cast<bool >(SWIG_As_bool(obj6
));
5463 if (SWIG_arg_fail(8)) SWIG_fail
;
5468 arg9
= static_cast<int >(SWIG_As_int(obj7
));
5469 if (SWIG_arg_fail(9)) SWIG_fail
;
5474 arg10
= static_cast<int >(SWIG_As_int(obj8
));
5475 if (SWIG_arg_fail(10)) SWIG_fail
;
5479 if (!wxPyCheckForApp()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_From_int(static_cast<int >(result
));
5498 if (arg4
) delete [] arg4
;
5511 if (arg4
) delete [] arg4
;
5517 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
= NULL
;
5519 wxString
*arg1
= 0 ;
5520 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5521 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5522 int arg3
= (int) wxOK
|wxCENTRE
;
5523 wxWindow
*arg4
= (wxWindow
*) NULL
;
5524 int arg5
= (int) -1 ;
5525 int arg6
= (int) -1 ;
5527 bool temp1
= false ;
5528 bool temp2
= false ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 PyObject
* obj2
= 0 ;
5532 PyObject
* obj3
= 0 ;
5533 PyObject
* obj4
= 0 ;
5534 PyObject
* obj5
= 0 ;
5536 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5541 arg1
= wxString_in_helper(obj0
);
5542 if (arg1
== NULL
) SWIG_fail
;
5547 arg2
= wxString_in_helper(obj1
);
5548 if (arg2
== NULL
) SWIG_fail
;
5554 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5555 if (SWIG_arg_fail(3)) SWIG_fail
;
5559 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5560 if (SWIG_arg_fail(4)) SWIG_fail
;
5564 arg5
= static_cast<int >(SWIG_As_int(obj4
));
5565 if (SWIG_arg_fail(5)) SWIG_fail
;
5570 arg6
= static_cast<int >(SWIG_As_int(obj5
));
5571 if (SWIG_arg_fail(6)) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_From_int(static_cast<int >(result
));
5607 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
= NULL
;
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (bool)wxColourDisplay();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5632 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
= NULL
;
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5641 if (!wxPyCheckForApp()) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (int)wxDisplayDepth();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_From_int(static_cast<int >(result
));
5657 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= NULL
;
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5666 if (!wxPyCheckForApp()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (int)wxGetDisplayDepth();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_From_int(static_cast<int >(result
));
5682 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= NULL
;
5684 int *arg1
= (int *) 0 ;
5685 int *arg2
= (int *) 0 ;
5694 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5695 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 wxDisplaySize(arg1
,arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5706 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5707 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5708 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5709 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5716 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
= NULL
;
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= wxGetDisplaySize();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5734 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5743 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
= NULL
;
5745 int *arg1
= (int *) 0 ;
5746 int *arg2
= (int *) 0 ;
5755 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5756 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxDisplaySizeMM(arg1
,arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5767 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5768 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5769 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5770 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5777 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= NULL
;
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5786 if (!wxPyCheckForApp()) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= wxGetDisplaySizeMM();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5795 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
5796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5804 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
= NULL
;
5806 int *arg1
= (int *) 0 ;
5807 int *arg2
= (int *) 0 ;
5808 int *arg3
= (int *) 0 ;
5809 int *arg4
= (int *) 0 ;
5822 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5823 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5824 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5825 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5836 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5837 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5838 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5839 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5840 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5841 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5842 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5843 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5850 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
= NULL
;
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5859 if (!wxPyCheckForApp()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= wxGetClientDisplayRect();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5868 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
5869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5877 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
= NULL
;
5879 wxCursor
*arg1
= 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "cursor", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 SWIG_null_ref("wxCursor");
5892 if (SWIG_arg_fail(1)) SWIG_fail
;
5895 if (!wxPyCheckForApp()) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 Py_INCREF(Py_None
); resultobj
= Py_None
;
5909 static PyObject
*_wrap_GetXDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= NULL
;
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetXDisplay",kwnames
)) goto fail
;
5918 if (!wxPyCheckForApp()) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (void *)wxGetXDisplay();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
5932 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= NULL
;
5934 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "cursor", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5946 if (!wxPyCheckForApp()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxBeginBusyCursor(arg1
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 Py_INCREF(Py_None
); resultobj
= Py_None
;
5960 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
= NULL
;
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
5969 if (!wxPyCheckForApp()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= wxGetMousePosition();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 wxPoint
* resultptr
;
5978 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5987 static PyObject
*_wrap_FindWindowAtPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= NULL
;
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FindWindowAtPointer",kwnames
)) goto fail
;
5996 if (!wxPyCheckForApp()) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (wxWindow
*)FindWindowAtPointer();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= wxPyMake_wxObject(result
, 0);
6012 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
= NULL
;
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
6021 if (!wxPyCheckForApp()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (wxWindow
*)wxGetActiveWindow();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= wxPyMake_wxObject(result
, 0);
6037 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= NULL
;
6042 PyObject
* obj0
= 0 ;
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6050 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6053 if (!wxPyCheckForApp()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= wxPyMake_wxObject(result
, 0);
6069 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= NULL
;
6074 PyObject
* obj0
= 0 ;
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
6082 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6085 if (!wxPyCheckForApp()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= wxPyMake_wxObject(result
, 0);
6101 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
= NULL
;
6103 wxWindow
*arg1
= (wxWindow
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "win", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
6111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail
;
6114 if (!wxPyCheckForApp()) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= wxPyMake_wxObject(result
, 0);
6130 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= NULL
;
6132 wxString
*arg1
= 0 ;
6134 bool temp1
= false ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "url", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6142 arg1
= wxString_in_helper(obj0
);
6143 if (arg1
== NULL
) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6170 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= NULL
;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "key", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6181 arg1
= static_cast<wxKeyCode
>(SWIG_As_int(obj0
));
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 if (!wxPyCheckForApp()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (bool)wxGetKeyState(arg1
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6201 static PyObject
*_wrap_new_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
= NULL
;
6203 wxMouseState
*result
;
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MouseState",kwnames
)) goto fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxMouseState
*)new wxMouseState();
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseState
, 1);
6223 static PyObject
*_wrap_delete_MouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
= NULL
;
6225 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MouseState",kwnames
,&obj0
)) goto fail
;
6232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6233 if (SWIG_arg_fail(1)) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 Py_INCREF(Py_None
); resultobj
= Py_None
;
6248 static PyObject
*_wrap_MouseState_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
= NULL
;
6250 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetX",kwnames
,&obj0
)) goto fail
;
6258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (int)(arg1
)->GetX();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_From_int(static_cast<int >(result
));
6276 static PyObject
*_wrap_MouseState_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
= NULL
;
6278 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_GetY",kwnames
,&obj0
)) goto fail
;
6286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6287 if (SWIG_arg_fail(1)) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (int)(arg1
)->GetY();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_From_int(static_cast<int >(result
));
6304 static PyObject
*_wrap_MouseState_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= NULL
;
6306 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_LeftDown",kwnames
,&obj0
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (bool)(arg1
)->LeftDown();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6332 static PyObject
*_wrap_MouseState_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
= NULL
;
6334 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "self", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MiddleDown",kwnames
,&obj0
)) goto fail
;
6342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6343 if (SWIG_arg_fail(1)) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (bool)(arg1
)->MiddleDown();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6360 static PyObject
*_wrap_MouseState_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
= NULL
;
6362 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6366 (char *) "self", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_RightDown",kwnames
,&obj0
)) goto fail
;
6370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (bool)(arg1
)->RightDown();
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6388 static PyObject
*_wrap_MouseState_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
= NULL
;
6390 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ControlDown",kwnames
,&obj0
)) goto fail
;
6398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)(arg1
)->ControlDown();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6416 static PyObject
*_wrap_MouseState_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
= NULL
;
6418 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_ShiftDown",kwnames
,&obj0
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->ShiftDown();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_MouseState_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
= NULL
;
6446 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_AltDown",kwnames
,&obj0
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->AltDown();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_MouseState_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
= NULL
;
6474 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_MetaDown",kwnames
,&obj0
)) goto fail
;
6482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6483 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (bool)(arg1
)->MetaDown();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 static PyObject
*_wrap_MouseState_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
= NULL
;
6502 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6506 (char *) "self", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseState_CmdDown",kwnames
,&obj0
)) goto fail
;
6510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (bool)(arg1
)->CmdDown();
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6528 static PyObject
*_wrap_MouseState_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= NULL
;
6530 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6535 (char *) "self",(char *) "x", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
6539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail
;
6542 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6543 if (SWIG_arg_fail(2)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_MouseState_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= NULL
;
6561 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 (char *) "self",(char *) "y", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
6570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6571 if (SWIG_arg_fail(1)) SWIG_fail
;
6573 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6574 if (SWIG_arg_fail(2)) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
= NULL
;
6592 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6597 (char *) "self",(char *) "down", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail
;
6604 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6605 if (SWIG_arg_fail(2)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 (arg1
)->SetLeftDown(arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 Py_INCREF(Py_None
); resultobj
= Py_None
;
6621 static PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= NULL
;
6623 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6628 (char *) "self",(char *) "down", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail
;
6635 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6636 if (SWIG_arg_fail(2)) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->SetMiddleDown(arg2
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 static PyObject
*_wrap_MouseState_SetRightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
= NULL
;
6654 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "down", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail
;
6666 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6667 if (SWIG_arg_fail(2)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->SetRightDown(arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6683 static PyObject
*_wrap_MouseState_SetControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
= NULL
;
6685 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "down", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6698 if (SWIG_arg_fail(2)) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 (arg1
)->SetControlDown(arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 Py_INCREF(Py_None
); resultobj
= Py_None
;
6714 static PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= NULL
;
6716 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6721 (char *) "self",(char *) "down", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6726 if (SWIG_arg_fail(1)) SWIG_fail
;
6728 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6729 if (SWIG_arg_fail(2)) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 (arg1
)->SetShiftDown(arg2
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_MouseState_SetAltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= NULL
;
6747 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "self",(char *) "down", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6757 if (SWIG_arg_fail(1)) SWIG_fail
;
6759 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6760 if (SWIG_arg_fail(2)) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 (arg1
)->SetAltDown(arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 Py_INCREF(Py_None
); resultobj
= Py_None
;
6776 static PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= NULL
;
6778 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "down", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseState
, SWIG_POINTER_EXCEPTION
| 0);
6788 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6791 if (SWIG_arg_fail(2)) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 (arg1
)->SetMetaDown(arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 static PyObject
* MouseState_swigregister(PyObject
*, PyObject
*args
) {
6809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6810 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState
, obj
);
6812 return Py_BuildValue((char *)"");
6814 static PyObject
*_wrap_GetMouseState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
= NULL
;
6816 wxMouseState result
;
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMouseState",kwnames
)) goto fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= wxGetMouseState();
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 wxMouseState
* resultptr
;
6831 resultptr
= new wxMouseState(static_cast<wxMouseState
& >(result
));
6832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMouseState
, 1);
6840 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= NULL
;
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 wxWakeUpMainThread();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6862 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= NULL
;
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6870 if (!wxPyCheckForApp()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 Py_INCREF(Py_None
); resultobj
= Py_None
;
6884 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= NULL
;
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 Py_INCREF(Py_None
); resultobj
= Py_None
;
6906 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= NULL
;
6908 wxMutexGuiLocker
*result
;
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6915 if (!wxPyCheckForApp()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6929 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= NULL
;
6931 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6939 if (SWIG_arg_fail(1)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 Py_INCREF(Py_None
); resultobj
= Py_None
;
6954 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6957 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6959 return Py_BuildValue((char *)"");
6961 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
= NULL
;
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (bool)wxThread_IsMain();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6985 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= NULL
;
6987 wxString
*arg1
= 0 ;
6989 bool temp1
= false ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "tip", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6997 arg1
= wxString_in_helper(obj0
);
6998 if (arg1
== NULL
) SWIG_fail
;
7002 if (!wxPyCheckForApp()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolTip
, 1);
7024 static PyObject
*_wrap_delete_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
= NULL
;
7026 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ToolTip",kwnames
,&obj0
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
= NULL
;
7051 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7052 wxString
*arg2
= 0 ;
7053 bool temp2
= false ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7057 (char *) "self",(char *) "tip", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7062 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 arg2
= wxString_in_helper(obj1
);
7065 if (arg2
== NULL
) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->SetTip((wxString
const &)*arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 Py_INCREF(Py_None
); resultobj
= Py_None
;
7090 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
= NULL
;
7092 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7096 (char *) "self", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (arg1
)->GetTip();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7122 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= NULL
;
7124 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxWindow
*)(arg1
)->GetWindow();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= wxPyMake_wxObject(result
, 0);
7150 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
= NULL
;
7153 PyObject
* obj0
= 0 ;
7155 (char *) "flag", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7160 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 wxToolTip::Enable(arg1
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= NULL
;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "milliseconds", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7187 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7188 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxToolTip::SetDelay(arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7204 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7207 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7209 return Py_BuildValue((char *)"");
7211 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= NULL
;
7213 wxWindow
*arg1
= (wxWindow
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "window",(char *) "size", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail
;
7228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7231 if (!wxPyCheckForApp()) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7245 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
= NULL
;
7247 wxCaret
*arg1
= (wxCaret
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
7254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(1)) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= NULL
;
7272 wxCaret
*arg1
= (wxCaret
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7280 if (SWIG_arg_fail(1)) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 wxCaret_Destroy(arg1
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= NULL
;
7297 wxCaret
*arg1
= (wxCaret
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7306 if (SWIG_arg_fail(1)) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (bool)(arg1
)->IsOk();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7323 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
= NULL
;
7325 wxCaret
*arg1
= (wxCaret
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "self", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7334 if (SWIG_arg_fail(1)) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (bool)(arg1
)->IsVisible();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7351 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
= NULL
;
7353 wxCaret
*arg1
= (wxCaret
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7357 (char *) "self", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (arg1
)->GetPosition();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7371 wxPoint
* resultptr
;
7372 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7381 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= NULL
;
7383 wxCaret
*arg1
= (wxCaret
*) 0 ;
7384 int *arg2
= (int *) 0 ;
7385 int *arg3
= (int *) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->GetPosition(arg2
,arg3
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7409 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7410 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7411 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7418 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
= NULL
;
7420 wxCaret
*arg1
= (wxCaret
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "self", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (arg1
)->GetSize();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7439 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7448 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= NULL
;
7450 wxCaret
*arg1
= (wxCaret
*) 0 ;
7451 int *arg2
= (int *) 0 ;
7452 int *arg3
= (int *) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7463 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 (arg1
)->GetSize(arg2
,arg3
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7476 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7477 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7478 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7485 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= NULL
;
7487 wxCaret
*arg1
= (wxCaret
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxWindow
*)(arg1
)->GetWindow();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= wxPyMake_wxObject(result
, 0);
7513 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
= NULL
;
7515 wxCaret
*arg1
= (wxCaret
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 PyObject
* obj2
= 0 ;
7522 (char *) "self",(char *) "x",(char *) "y", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7527 if (SWIG_arg_fail(1)) SWIG_fail
;
7529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7530 if (SWIG_arg_fail(2)) SWIG_fail
;
7533 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7534 if (SWIG_arg_fail(3)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->Move(arg2
,arg3
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
= NULL
;
7552 wxCaret
*arg1
= (wxCaret
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7558 (char *) "self",(char *) "pt", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail
;
7566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 (arg1
)->Move((wxPoint
const &)*arg2
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 Py_INCREF(Py_None
); resultobj
= Py_None
;
7582 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= NULL
;
7584 wxCaret
*arg1
= (wxCaret
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7589 PyObject
* obj2
= 0 ;
7591 (char *) "self",(char *) "width",(char *) "height", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7596 if (SWIG_arg_fail(1)) SWIG_fail
;
7598 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7599 if (SWIG_arg_fail(2)) SWIG_fail
;
7602 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7603 if (SWIG_arg_fail(3)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->SetSize(arg2
,arg3
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
= NULL
;
7621 wxCaret
*arg1
= (wxCaret
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7627 (char *) "self",(char *) "size", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 (arg1
)->SetSize((wxSize
const &)*arg2
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
= NULL
;
7653 wxCaret
*arg1
= (wxCaret
*) 0 ;
7654 int arg2
= (int) true ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "show", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail
;
7666 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7667 if (SWIG_arg_fail(2)) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= NULL
;
7686 wxCaret
*arg1
= (wxCaret
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= NULL
;
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (int)wxCaret::GetBlinkTime();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_From_int(static_cast<int >(result
));
7733 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
= NULL
;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "milliseconds", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7743 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxCaret::SetBlinkTime(arg1
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7763 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7765 return Py_BuildValue((char *)"");
7767 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
= NULL
;
7769 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7770 wxBusyCursor
*result
;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "cursor", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail
;
7782 if (!wxPyCheckForApp()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7796 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
= NULL
;
7798 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 Py_INCREF(Py_None
); resultobj
= Py_None
;
7821 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7824 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7826 return Py_BuildValue((char *)"");
7828 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= NULL
;
7830 wxWindow
*arg1
= (wxWindow
*) NULL
;
7831 wxWindowDisabler
*result
;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "winToSkip", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7840 if (SWIG_arg_fail(1)) SWIG_fail
;
7843 if (!wxPyCheckForApp()) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7857 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
= NULL
;
7859 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7885 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7887 return Py_BuildValue((char *)"");
7889 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
= NULL
;
7891 wxString
*arg1
= 0 ;
7893 bool temp1
= false ;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "message", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7901 arg1
= wxString_in_helper(obj0
);
7902 if (arg1
== NULL
) SWIG_fail
;
7906 if (!wxPyCheckForApp()) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7928 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= NULL
;
7930 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7958 return Py_BuildValue((char *)"");
7960 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
= NULL
;
7962 wxStopWatch
*result
;
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (wxStopWatch
*)new wxStopWatch();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7982 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
= NULL
;
7984 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7985 long arg2
= (long) 0 ;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7989 (char *) "self",(char *) "t0", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail
;
7997 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7998 if (SWIG_arg_fail(2)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->Start(arg2
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
= NULL
;
8017 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
8024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
= NULL
;
8042 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= NULL
;
8067 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_From_long(static_cast<long >(result
));
8093 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8096 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8098 return Py_BuildValue((char *)"");
8100 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
= NULL
;
8102 int arg1
= (int) 9 ;
8103 int arg2
= (int) wxID_FILE1
;
8104 wxFileHistory
*result
;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8108 (char *) "maxFiles",(char *) "idBase", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8114 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8115 if (SWIG_arg_fail(1)) SWIG_fail
;
8120 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8121 if (SWIG_arg_fail(2)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8138 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
= NULL
;
8140 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
= NULL
;
8165 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8166 wxString
*arg2
= 0 ;
8167 bool temp2
= false ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "file", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail
;
8178 arg2
= wxString_in_helper(obj1
);
8179 if (arg2
== NULL
) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= NULL
;
8206 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "i", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8216 if (SWIG_arg_fail(1)) SWIG_fail
;
8218 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8219 if (SWIG_arg_fail(2)) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 (arg1
)->RemoveFileFromHistory(arg2
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
= NULL
;
8237 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_From_int(static_cast<int >(result
));
8263 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
= NULL
;
8265 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8266 wxMenu
*arg2
= (wxMenu
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "menu", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8277 if (SWIG_arg_fail(2)) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->UseMenu(arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
= NULL
;
8294 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8295 wxMenu
*arg2
= (wxMenu
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "menu", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8306 if (SWIG_arg_fail(2)) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->RemoveMenu(arg2
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
= NULL
;
8323 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8324 wxConfigBase
*arg2
= 0 ;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8328 (char *) "self",(char *) "config", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8333 if (SWIG_arg_fail(1)) SWIG_fail
;
8335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8336 if (SWIG_arg_fail(2)) SWIG_fail
;
8338 SWIG_null_ref("wxConfigBase");
8340 if (SWIG_arg_fail(2)) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 (arg1
)->Load(*arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8356 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
= NULL
;
8358 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8359 wxConfigBase
*arg2
= 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "self",(char *) "config", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8368 if (SWIG_arg_fail(1)) SWIG_fail
;
8370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8371 if (SWIG_arg_fail(2)) SWIG_fail
;
8373 SWIG_null_ref("wxConfigBase");
8375 if (SWIG_arg_fail(2)) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->Save(*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= NULL
;
8393 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8401 if (SWIG_arg_fail(1)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->AddFilesToMenu();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
= NULL
;
8418 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8419 wxMenu
*arg2
= (wxMenu
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8423 (char *) "self",(char *) "menu", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail
;
8429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8430 if (SWIG_arg_fail(2)) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 (arg1
)->AddFilesToMenu(arg2
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 Py_INCREF(Py_None
); resultobj
= Py_None
;
8445 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
= NULL
;
8447 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8453 (char *) "self",(char *) "i", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8458 if (SWIG_arg_fail(1)) SWIG_fail
;
8460 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8461 if (SWIG_arg_fail(2)) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8483 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
= NULL
;
8485 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8489 (char *) "self", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8494 if (SWIG_arg_fail(1)) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_From_int(static_cast<int >(result
));
8511 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8514 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8516 return Py_BuildValue((char *)"");
8518 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
= NULL
;
8520 wxString
*arg1
= 0 ;
8521 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8523 wxSingleInstanceChecker
*result
;
8524 bool temp1
= false ;
8525 bool temp2
= false ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "name",(char *) "path", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8534 arg1
= wxString_in_helper(obj0
);
8535 if (arg1
== NULL
) SWIG_fail
;
8540 arg2
= wxString_in_helper(obj1
);
8541 if (arg2
== NULL
) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8575 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
= NULL
;
8577 wxSingleInstanceChecker
*result
;
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8597 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
= NULL
;
8599 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
= NULL
;
8624 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8625 wxString
*arg2
= 0 ;
8626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8629 bool temp2
= false ;
8630 bool temp3
= false ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8633 PyObject
* obj2
= 0 ;
8635 (char *) "self",(char *) "name",(char *) "path", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8640 if (SWIG_arg_fail(1)) SWIG_fail
;
8642 arg2
= wxString_in_helper(obj1
);
8643 if (arg2
== NULL
) SWIG_fail
;
8648 arg3
= wxString_in_helper(obj2
);
8649 if (arg3
== NULL
) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8685 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
= NULL
;
8687 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8691 (char *) "self", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8716 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8718 return Py_BuildValue((char *)"");
8720 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
= NULL
;
8722 wxWindow
*arg1
= (wxWindow
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "window",(char *) "dc", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8733 if (SWIG_arg_fail(1)) SWIG_fail
;
8735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(2)) SWIG_fail
;
8738 SWIG_null_ref("wxDC");
8740 if (SWIG_arg_fail(2)) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8758 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= NULL
;
8760 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
= NULL
;
8785 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "self", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8794 if (SWIG_arg_fail(1)) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (arg1
)->GetTip();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8815 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= NULL
;
8817 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "self", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8826 if (SWIG_arg_fail(1)) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (size_t)(arg1
)->GetCurrentTip();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8843 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
= NULL
;
8845 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8846 wxString
*arg2
= 0 ;
8848 bool temp2
= false ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8852 (char *) "self",(char *) "tip", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8857 if (SWIG_arg_fail(1)) SWIG_fail
;
8859 arg2
= wxString_in_helper(obj1
);
8860 if (arg2
== NULL
) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8891 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8894 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8896 return Py_BuildValue((char *)"");
8898 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
= NULL
;
8901 wxPyTipProvider
*result
;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "currentTip", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8909 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8910 if (SWIG_arg_fail(1)) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8926 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
= NULL
;
8928 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8929 PyObject
*arg2
= (PyObject
*) 0 ;
8930 PyObject
*arg3
= (PyObject
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "self",(char *) "_class", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8940 if (SWIG_arg_fail(1)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8960 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8962 return Py_BuildValue((char *)"");
8964 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= NULL
;
8966 wxWindow
*arg1
= (wxWindow
*) 0 ;
8967 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8968 bool arg3
= (bool) true ;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8972 PyObject
* obj2
= 0 ;
8974 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail
;
8980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8981 if (SWIG_arg_fail(2)) SWIG_fail
;
8984 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8985 if (SWIG_arg_fail(3)) SWIG_fail
;
8989 if (!wxPyCheckForApp()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= NULL
;
9007 wxString
*arg1
= 0 ;
9009 wxTipProvider
*result
;
9010 bool temp1
= false ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9014 (char *) "filename",(char *) "currentTip", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
9019 arg1
= wxString_in_helper(obj0
);
9020 if (arg1
== NULL
) SWIG_fail
;
9024 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
9025 if (SWIG_arg_fail(2)) SWIG_fail
;
9028 if (!wxPyCheckForApp()) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9050 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
= NULL
;
9052 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9053 int arg2
= (int) -1 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9058 (char *) "owner",(char *) "id", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9068 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9069 if (SWIG_arg_fail(2)) SWIG_fail
;
9073 if (!wxPyCheckForApp()) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9087 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= NULL
;
9089 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9097 if (SWIG_arg_fail(1)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= NULL
;
9114 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9115 PyObject
*arg2
= (PyObject
*) 0 ;
9116 PyObject
*arg3
= (PyObject
*) 0 ;
9117 int arg4
= (int) 1 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 PyObject
* obj2
= 0 ;
9121 PyObject
* obj3
= 0 ;
9123 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9134 if (SWIG_arg_fail(4)) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= NULL
;
9153 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9154 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9155 int arg3
= (int) -1 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "self",(char *) "owner",(char *) "id", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail
;
9166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9167 if (SWIG_arg_fail(2)) SWIG_fail
;
9170 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9171 if (SWIG_arg_fail(3)) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->SetOwner(arg2
,arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= NULL
;
9190 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9191 wxEvtHandler
*result
;
9192 PyObject
* obj0
= 0 ;
9194 (char *) "self", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= wxPyMake_wxObject(result
, 0);
9216 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= NULL
;
9218 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9219 int arg2
= (int) -1 ;
9220 bool arg3
= (bool) false ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9226 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9231 if (SWIG_arg_fail(1)) SWIG_fail
;
9234 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9235 if (SWIG_arg_fail(2)) SWIG_fail
;
9240 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9241 if (SWIG_arg_fail(3)) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9260 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= NULL
;
9262 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 Py_INCREF(Py_None
); resultobj
= Py_None
;
9285 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
= NULL
;
9287 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
= NULL
;
9315 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9324 if (SWIG_arg_fail(1)) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_From_int(static_cast<int >(result
));
9341 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= NULL
;
9343 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9347 (char *) "self", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9352 if (SWIG_arg_fail(1)) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= NULL
;
9371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_From_int(static_cast<int >(result
));
9397 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9400 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9402 return Py_BuildValue((char *)"");
9404 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= NULL
;
9406 int arg1
= (int) 0 ;
9407 int arg2
= (int) 0 ;
9408 wxTimerEvent
*result
;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9412 (char *) "timerid",(char *) "interval", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9418 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9419 if (SWIG_arg_fail(1)) SWIG_fail
;
9424 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9425 if (SWIG_arg_fail(2)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9442 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= NULL
;
9444 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_From_int(static_cast<int >(result
));
9470 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9473 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9475 return Py_BuildValue((char *)"");
9477 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9478 PyObject
*resultobj
= NULL
;
9480 wxTimerRunner
*result
;
9481 PyObject
* obj0
= 0 ;
9483 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9486 if (SWIG_arg_fail(1)) SWIG_fail
;
9488 SWIG_null_ref("wxTimer");
9490 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 if (!wxPyCheckForApp()) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9507 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9508 PyObject
*resultobj
= NULL
;
9511 bool arg3
= (bool) false ;
9512 wxTimerRunner
*result
;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9515 PyObject
* obj2
= 0 ;
9517 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 SWIG_null_ref("wxTimer");
9524 if (SWIG_arg_fail(1)) SWIG_fail
;
9527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9528 if (SWIG_arg_fail(2)) SWIG_fail
;
9532 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9533 if (SWIG_arg_fail(3)) SWIG_fail
;
9537 if (!wxPyCheckForApp()) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9551 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9556 argc
= PyObject_Length(args
);
9557 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9558 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9572 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9575 if ((argc
>= 2) && (argc
<= 3)) {
9579 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9587 _v
= SWIG_Check_int(argv
[1]);
9590 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9592 _v
= SWIG_Check_bool(argv
[2]);
9594 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9600 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9605 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= NULL
;
9607 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9615 if (SWIG_arg_fail(1)) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= NULL
;
9632 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9634 bool arg3
= (bool) false ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 PyObject
* obj2
= 0 ;
9639 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9644 if (SWIG_arg_fail(1)) SWIG_fail
;
9646 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9647 if (SWIG_arg_fail(2)) SWIG_fail
;
9651 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9652 if (SWIG_arg_fail(3)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->Start(arg2
,arg3
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9672 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9674 return Py_BuildValue((char *)"");
9676 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= NULL
;
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (wxLog
*)new wxLog();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9698 static PyObject
*_wrap_delete_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= NULL
;
9700 wxLog
*arg1
= (wxLog
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Log",kwnames
,&obj0
)) goto fail
;
9707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 Py_INCREF(Py_None
); resultobj
= Py_None
;
9723 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= NULL
;
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (bool)wxLog::IsEnabled();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9747 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= NULL
;
9749 bool arg1
= (bool) true ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "doIt", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9759 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (bool)wxLog::EnableLogging(arg1
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
= NULL
;
9782 wxChar
*arg2
= (wxChar
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 PyObject
* obj2
= 0 ;
9788 (char *) "level",(char *) "szString",(char *) "t", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9793 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(2)) SWIG_fail
;
9799 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9800 if (SWIG_arg_fail(3)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 Py_INCREF(Py_None
); resultobj
= Py_None
;
9816 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= NULL
;
9818 wxLog
*arg1
= (wxLog
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
= NULL
;
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxLog::FlushActive();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= NULL
;
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (wxLog
*)wxLog::GetActiveTarget();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9884 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= NULL
;
9886 wxLog
*arg1
= (wxLog
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "pLogger", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
9895 if (SWIG_arg_fail(1)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9910 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= NULL
;
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 Py_INCREF(Py_None
); resultobj
= Py_None
;
9931 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= NULL
;
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= NULL
;
9954 bool arg1
= (bool) true ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "bVerbose", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9963 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxLog::SetVerbose(arg1
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 Py_INCREF(Py_None
); resultobj
= Py_None
;
9981 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= NULL
;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "logLevel", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9991 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9992 if (SWIG_arg_fail(1)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 wxLog::SetLogLevel(arg1
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= NULL
;
10010 char *kwnames
[] = {
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxLog::DontCreateOnDemand();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
= NULL
;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "ulMask", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10039 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxLog::SetTraceMask(arg1
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= NULL
;
10058 wxString
*arg1
= 0 ;
10059 bool temp1
= false ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "str", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10067 arg1
= wxString_in_helper(obj0
);
10068 if (arg1
== NULL
) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxLog::AddTraceMask((wxString
const &)*arg1
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10093 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
= NULL
;
10095 wxString
*arg1
= 0 ;
10096 bool temp1
= false ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "str", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10104 arg1
= wxString_in_helper(obj0
);
10105 if (arg1
== NULL
) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10130 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= NULL
;
10132 char *kwnames
[] = {
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 wxLog::ClearTraceMasks();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10151 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= NULL
;
10153 wxArrayString
*result
;
10154 char *kwnames
[] = {
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10163 result
= (wxArrayString
*) &_result_ref
;
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= wxArrayString2PyList_helper(*result
);
10178 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
= NULL
;
10180 wxChar
*arg1
= (wxChar
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "ts", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 wxLog::SetTimestamp((wxChar
const *)arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10203 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= NULL
;
10206 char *kwnames
[] = {
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)wxLog::GetVerbose();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10227 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= NULL
;
10229 wxTraceMask result
;
10230 char *kwnames
[] = {
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxTraceMask
)wxLog::GetTraceMask();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10251 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= NULL
;
10253 wxChar
*arg1
= (wxChar
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "mask", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10262 if (SWIG_arg_fail(1)) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= NULL
;
10282 char *kwnames
[] = {
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (wxLogLevel
)wxLog::GetLogLevel();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10303 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= NULL
;
10306 char *kwnames
[] = {
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (wxChar
*)wxLog::GetTimestamp();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10325 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
= NULL
;
10328 char *kwnames
[] = {
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= wxLog_TimeStamp();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10353 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= NULL
;
10355 wxLog
*arg1
= (wxLog
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 wxLog_Destroy(arg1
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 Py_INCREF(Py_None
); resultobj
= Py_None
;
10378 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10383 return Py_BuildValue((char *)"");
10385 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= NULL
;
10387 wxLogStderr
*result
;
10388 char *kwnames
[] = {
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (wxLogStderr
*)new wxLogStderr();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10407 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10412 return Py_BuildValue((char *)"");
10414 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= NULL
;
10416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10417 wxLogTextCtrl
*result
;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "pTextCtrl", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10440 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10443 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10445 return Py_BuildValue((char *)"");
10447 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= NULL
;
10450 char *kwnames
[] = {
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxLogGui
*)new wxLogGui();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10469 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10472 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10474 return Py_BuildValue((char *)"");
10476 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
= NULL
;
10478 wxFrame
*arg1
= (wxFrame
*) 0 ;
10479 wxString
*arg2
= 0 ;
10480 bool arg3
= (bool) true ;
10481 bool arg4
= (bool) true ;
10482 wxLogWindow
*result
;
10483 bool temp2
= false ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 PyObject
* obj3
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10502 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10503 if (SWIG_arg_fail(3)) SWIG_fail
;
10508 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10509 if (SWIG_arg_fail(4)) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10534 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
= NULL
;
10536 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10537 bool arg2
= (bool) true ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "bShow", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10549 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10550 if (SWIG_arg_fail(2)) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 (arg1
)->Show(arg2
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10567 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
= NULL
;
10569 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= wxPyMake_wxObject(result
, (bool)0);
10595 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= NULL
;
10597 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10606 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10621 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
= NULL
;
10623 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10649 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
= NULL
;
10651 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self",(char *) "bDoPass", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->PassMessages(arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10683 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10685 return Py_BuildValue((char *)"");
10687 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
= NULL
;
10689 wxLog
*arg1
= (wxLog
*) 0 ;
10690 wxLogChain
*result
;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "logger", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (wxLogChain
*)new wxLogChain(arg1
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10713 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
= NULL
;
10715 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10716 wxLog
*arg2
= (wxLog
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "logger", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail
;
10726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10727 if (SWIG_arg_fail(2)) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->SetLog(arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= NULL
;
10744 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "bDoPass", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10754 if (SWIG_arg_fail(1)) SWIG_fail
;
10756 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10757 if (SWIG_arg_fail(2)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->PassMessages(arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10773 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
= NULL
;
10775 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10784 if (SWIG_arg_fail(1)) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (bool)(arg1
)->IsPassingMessages();
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= NULL
;
10803 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10812 if (SWIG_arg_fail(1)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxLog
*)(arg1
)->GetOldLog();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10827 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10830 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10832 return Py_BuildValue((char *)"");
10834 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= NULL
;
10836 wxLogBuffer
*result
;
10837 char *kwnames
[] = {
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (wxLogBuffer
*)new wxLogBuffer();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10856 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= NULL
;
10858 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10872 result
= (wxString
*) &_result_ref
;
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10891 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= NULL
;
10893 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10901 if (SWIG_arg_fail(1)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10919 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10921 return Py_BuildValue((char *)"");
10923 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
= NULL
;
10925 unsigned long result
;
10926 char *kwnames
[] = {
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (unsigned long)wxSysErrorCode();
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10947 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
= NULL
;
10949 unsigned long arg1
= (unsigned long) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "nErrCode", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10959 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10960 if (SWIG_arg_fail(1)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= wxSysErrorMsg(arg1
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10983 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
= NULL
;
10985 wxString
*arg1
= 0 ;
10986 bool temp1
= false ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "msg", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10994 arg1
= wxString_in_helper(obj0
);
10995 if (arg1
== NULL
) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 wxPyLogFatalError((wxString
const &)*arg1
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11020 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= NULL
;
11022 wxString
*arg1
= 0 ;
11023 bool temp1
= false ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "msg", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11031 arg1
= wxString_in_helper(obj0
);
11032 if (arg1
== NULL
) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 wxPyLogError((wxString
const &)*arg1
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= NULL
;
11059 wxString
*arg1
= 0 ;
11060 bool temp1
= false ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "msg", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11068 arg1
= wxString_in_helper(obj0
);
11069 if (arg1
== NULL
) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 wxPyLogWarning((wxString
const &)*arg1
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= NULL
;
11096 wxString
*arg1
= 0 ;
11097 bool temp1
= false ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "msg", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11105 arg1
= wxString_in_helper(obj0
);
11106 if (arg1
== NULL
) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 wxPyLogMessage((wxString
const &)*arg1
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= NULL
;
11133 wxString
*arg1
= 0 ;
11134 bool temp1
= false ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "msg", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11142 arg1
= wxString_in_helper(obj0
);
11143 if (arg1
== NULL
) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 wxPyLogInfo((wxString
const &)*arg1
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= NULL
;
11170 wxString
*arg1
= 0 ;
11171 bool temp1
= false ;
11172 PyObject
* obj0
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "msg", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11179 arg1
= wxString_in_helper(obj0
);
11180 if (arg1
== NULL
) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 wxPyLogDebug((wxString
const &)*arg1
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
= NULL
;
11207 wxString
*arg1
= 0 ;
11208 bool temp1
= false ;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "msg", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11216 arg1
= wxString_in_helper(obj0
);
11217 if (arg1
== NULL
) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 wxPyLogVerbose((wxString
const &)*arg1
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= NULL
;
11244 wxString
*arg1
= 0 ;
11245 bool temp1
= false ;
11246 PyObject
* obj0
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "msg", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11253 arg1
= wxString_in_helper(obj0
);
11254 if (arg1
== NULL
) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxPyLogStatus((wxString
const &)*arg1
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 Py_INCREF(Py_None
); resultobj
= Py_None
;
11279 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= NULL
;
11281 wxFrame
*arg1
= (wxFrame
*) 0 ;
11282 wxString
*arg2
= 0 ;
11283 bool temp2
= false ;
11284 PyObject
* obj0
= 0 ;
11285 PyObject
* obj1
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "pFrame",(char *) "msg", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 arg2
= wxString_in_helper(obj1
);
11295 if (arg2
== NULL
) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
= NULL
;
11322 wxString
*arg1
= 0 ;
11323 bool temp1
= false ;
11324 PyObject
* obj0
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "msg", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11331 arg1
= wxString_in_helper(obj0
);
11332 if (arg1
== NULL
) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxPyLogSysError((wxString
const &)*arg1
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
= NULL
;
11359 unsigned long arg1
;
11360 wxString
*arg2
= 0 ;
11361 bool temp2
= false ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "level",(char *) "msg", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 arg2
= wxString_in_helper(obj1
);
11375 if (arg2
== NULL
) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11401 PyObject
*resultobj
= NULL
;
11402 unsigned long arg1
;
11403 wxString
*arg2
= 0 ;
11404 bool temp2
= false ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11408 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11410 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11411 if (SWIG_arg_fail(1)) SWIG_fail
;
11414 arg2
= wxString_in_helper(obj1
);
11415 if (arg2
== NULL
) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11441 PyObject
*resultobj
= NULL
;
11442 wxString
*arg1
= 0 ;
11443 wxString
*arg2
= 0 ;
11444 bool temp1
= false ;
11445 bool temp2
= false ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11449 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11451 arg1
= wxString_in_helper(obj0
);
11452 if (arg1
== NULL
) SWIG_fail
;
11456 arg2
= wxString_in_helper(obj1
);
11457 if (arg2
== NULL
) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11495 argc
= PyObject_Length(args
);
11496 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11497 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11502 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11506 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11509 return _wrap_LogTrace__SWIG_1(self
,args
);
11515 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11518 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11521 return _wrap_LogTrace__SWIG_0(self
,args
);
11526 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11531 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
= NULL
;
11533 wxString
*arg1
= 0 ;
11534 wxString
*arg2
= 0 ;
11535 bool temp1
= false ;
11536 bool temp2
= false ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "title",(char *) "text", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11545 arg1
= wxString_in_helper(obj0
);
11546 if (arg1
== NULL
) SWIG_fail
;
11550 arg2
= wxString_in_helper(obj1
);
11551 if (arg2
== NULL
) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11584 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
= NULL
;
11587 char *kwnames
[] = {
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (wxLogNull
*)new wxLogNull();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11606 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
= NULL
;
11608 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11616 if (SWIG_arg_fail(1)) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11631 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11634 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11636 return Py_BuildValue((char *)"");
11638 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
= NULL
;
11641 char *kwnames
[] = {
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (wxPyLog
*)new wxPyLog();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11660 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
= NULL
;
11662 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11663 PyObject
*arg2
= (PyObject
*) 0 ;
11664 PyObject
*arg3
= (PyObject
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "self",(char *) "_class", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11674 if (SWIG_arg_fail(1)) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 Py_INCREF(Py_None
); resultobj
= Py_None
;
11691 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11694 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11696 return Py_BuildValue((char *)"");
11698 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= NULL
;
11701 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11702 int arg3
= (int) wxKILL_NOCHILDREN
;
11703 wxKillError result
;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11713 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11714 if (SWIG_arg_fail(1)) SWIG_fail
;
11718 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11719 if (SWIG_arg_fail(2)) SWIG_fail
;
11724 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11725 if (SWIG_arg_fail(3)) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int((result
));
11742 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
= NULL
;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "pid", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11753 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11754 if (SWIG_arg_fail(1)) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)wxPyProcess::Exists(arg1
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11772 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= NULL
;
11774 wxString
*arg1
= 0 ;
11775 int arg2
= (int) wxEXEC_ASYNC
;
11776 wxPyProcess
*result
;
11777 bool temp1
= false ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "cmd",(char *) "flags", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11786 arg1
= wxString_in_helper(obj0
);
11787 if (arg1
== NULL
) SWIG_fail
;
11792 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11793 if (SWIG_arg_fail(2)) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11818 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
= NULL
;
11820 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11821 int arg2
= (int) -1 ;
11822 wxPyProcess
*result
;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "parent",(char *) "id", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11832 if (SWIG_arg_fail(1)) SWIG_fail
;
11836 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11837 if (SWIG_arg_fail(2)) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11854 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
= NULL
;
11856 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11857 PyObject
*arg2
= (PyObject
*) 0 ;
11858 PyObject
*arg3
= (PyObject
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 PyObject
* obj2
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "self",(char *) "_class", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11868 if (SWIG_arg_fail(1)) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 Py_INCREF(Py_None
); resultobj
= Py_None
;
11885 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
= NULL
;
11887 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 PyObject
* obj2
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self",(char *) "pid",(char *) "status", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11899 if (SWIG_arg_fail(1)) SWIG_fail
;
11901 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11902 if (SWIG_arg_fail(2)) SWIG_fail
;
11905 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11906 if (SWIG_arg_fail(3)) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 (arg1
)->base_OnTerminate(arg2
,arg3
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 Py_INCREF(Py_None
); resultobj
= Py_None
;
11922 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= NULL
;
11924 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 (arg1
)->Redirect();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
= NULL
;
11949 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11958 if (SWIG_arg_fail(1)) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (bool)(arg1
)->IsRedirected();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11975 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
= NULL
;
11977 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11985 if (SWIG_arg_fail(1)) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
= NULL
;
12002 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12003 wxInputStream
*result
;
12004 PyObject
* obj0
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
12010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12011 if (SWIG_arg_fail(1)) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (wxInputStream
*)(arg1
)->GetInputStream();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 wxPyInputStream
* _ptr
= NULL
;
12023 _ptr
= new wxPyInputStream(result
);
12025 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12033 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= NULL
;
12035 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12036 wxInputStream
*result
;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12044 if (SWIG_arg_fail(1)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 wxPyInputStream
* _ptr
= NULL
;
12056 _ptr
= new wxPyInputStream(result
);
12058 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12066 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= NULL
;
12068 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12069 wxOutputStream
*result
;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(1)) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12092 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= NULL
;
12094 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 (arg1
)->CloseOutput();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= NULL
;
12119 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12128 if (SWIG_arg_fail(1)) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
= NULL
;
12147 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12173 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
= NULL
;
12175 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12184 if (SWIG_arg_fail(1)) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12201 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12204 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12206 return Py_BuildValue((char *)"");
12208 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
= NULL
;
12210 int arg1
= (int) 0 ;
12211 int arg2
= (int) 0 ;
12212 int arg3
= (int) 0 ;
12213 wxProcessEvent
*result
;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12224 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12225 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12231 if (SWIG_arg_fail(2)) SWIG_fail
;
12236 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12237 if (SWIG_arg_fail(3)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12254 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
= NULL
;
12256 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (int)(arg1
)->GetPid();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_From_int(static_cast<int >(result
));
12282 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= NULL
;
12284 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (int)(arg1
)->GetExitCode();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_From_int(static_cast<int >(result
));
12310 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
= NULL
;
12312 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "m_pid", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12325 if (SWIG_arg_fail(2)) SWIG_fail
;
12327 if (arg1
) (arg1
)->m_pid
= arg2
;
12329 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
= NULL
;
12338 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12348 result
= (int) ((arg1
)->m_pid
);
12351 resultobj
= SWIG_From_int(static_cast<int >(result
));
12359 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= NULL
;
12361 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "m_exitcode", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12371 if (SWIG_arg_fail(1)) SWIG_fail
;
12373 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12374 if (SWIG_arg_fail(2)) SWIG_fail
;
12376 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
= NULL
;
12387 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12396 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 result
= (int) ((arg1
)->m_exitcode
);
12400 resultobj
= SWIG_From_int(static_cast<int >(result
));
12408 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12411 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12413 return Py_BuildValue((char *)"");
12415 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= NULL
;
12417 wxString
*arg1
= 0 ;
12418 int arg2
= (int) wxEXEC_ASYNC
;
12419 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12421 bool temp1
= false ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 PyObject
* obj2
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "command",(char *) "flags",(char *) "process", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12431 arg1
= wxString_in_helper(obj0
);
12432 if (arg1
== NULL
) SWIG_fail
;
12437 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12438 if (SWIG_arg_fail(2)) SWIG_fail
;
12442 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12443 if (SWIG_arg_fail(3)) SWIG_fail
;
12446 if (!wxPyCheckForApp()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_long(static_cast<long >(result
));
12470 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= NULL
;
12473 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12474 wxKillError
*arg3
= (wxKillError
*) 0 ;
12475 int arg4
= (int) wxKILL_NOCHILDREN
;
12477 wxKillError temp3
;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 PyObject
* obj2
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12490 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12496 if (SWIG_arg_fail(2)) SWIG_fail
;
12501 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12502 if (SWIG_arg_fail(4)) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_From_int(static_cast<int >(result
));
12517 o
= PyInt_FromLong((long) (*arg3
));
12519 resultobj
= t_output_helper(resultobj
, o
);
12530 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= NULL
;
12532 int arg1
= (int) wxJOYSTICK1
;
12533 wxJoystick
*result
;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "joystick", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12542 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12547 if (!wxPyCheckForApp()) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (wxJoystick
*)new wxJoystick(arg1
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12561 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= NULL
;
12563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12571 if (SWIG_arg_fail(1)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 Py_INCREF(Py_None
); resultobj
= Py_None
;
12586 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
= NULL
;
12588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12597 if (SWIG_arg_fail(1)) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (arg1
)->GetPosition();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 wxPoint
* resultptr
;
12607 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12616 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
= NULL
;
12618 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (int)(arg1
)->GetZPosition();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_int(static_cast<int >(result
));
12644 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= NULL
;
12646 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
12654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (int)(arg1
)->GetButtonState();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_From_int(static_cast<int >(result
));
12672 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= NULL
;
12674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (int)(arg1
)->GetPOVPosition();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_From_int(static_cast<int >(result
));
12700 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
= NULL
;
12702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (int)(arg1
)->GetPOVCTSPosition();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= SWIG_From_int(static_cast<int >(result
));
12728 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= NULL
;
12730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
12738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (int)(arg1
)->GetRudderPosition();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_From_int(static_cast<int >(result
));
12756 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
= NULL
;
12758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (int)(arg1
)->GetUPosition();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_int(static_cast<int >(result
));
12784 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= NULL
;
12786 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (int)(arg1
)->GetVPosition();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_From_int(static_cast<int >(result
));
12812 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= NULL
;
12814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (int)(arg1
)->GetMovementThreshold();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_From_int(static_cast<int >(result
));
12840 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
= NULL
;
12842 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "threshold", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12852 if (SWIG_arg_fail(1)) SWIG_fail
;
12854 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12855 if (SWIG_arg_fail(2)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetMovementThreshold(arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
= NULL
;
12873 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12882 if (SWIG_arg_fail(1)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)(arg1
)->IsOk();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12899 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
= NULL
;
12901 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
12909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12910 if (SWIG_arg_fail(1)) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (int)(arg1
)->GetNumberJoysticks();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_From_int(static_cast<int >(result
));
12927 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= NULL
;
12929 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (int)(arg1
)->GetManufacturerId();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_From_int(static_cast<int >(result
));
12955 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
= NULL
;
12957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (int)(arg1
)->GetProductId();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_From_int(static_cast<int >(result
));
12983 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
= NULL
;
12985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (arg1
)->GetProductName();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13015 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
= NULL
;
13017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (int)(arg1
)->GetXMin();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_From_int(static_cast<int >(result
));
13043 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
= NULL
;
13045 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
13053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (int)(arg1
)->GetYMin();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_From_int(static_cast<int >(result
));
13071 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= NULL
;
13073 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
13081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13082 if (SWIG_arg_fail(1)) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (int)(arg1
)->GetZMin();
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_From_int(static_cast<int >(result
));
13099 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= NULL
;
13101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
13109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13110 if (SWIG_arg_fail(1)) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (int)(arg1
)->GetXMax();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_From_int(static_cast<int >(result
));
13127 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= NULL
;
13129 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
13137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (int)(arg1
)->GetYMax();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_From_int(static_cast<int >(result
));
13155 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
= NULL
;
13157 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (int)(arg1
)->GetZMax();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast<int >(result
));
13183 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= NULL
;
13185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
13193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= (int)(arg1
)->GetNumberButtons();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_From_int(static_cast<int >(result
));
13211 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
= NULL
;
13213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
13221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13222 if (SWIG_arg_fail(1)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (int)(arg1
)->GetNumberAxes();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_From_int(static_cast<int >(result
));
13239 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= NULL
;
13241 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
13249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13250 if (SWIG_arg_fail(1)) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)(arg1
)->GetMaxButtons();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_From_int(static_cast<int >(result
));
13267 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= NULL
;
13269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
13277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13278 if (SWIG_arg_fail(1)) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (int)(arg1
)->GetMaxAxes();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_From_int(static_cast<int >(result
));
13295 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
= NULL
;
13297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
13305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13306 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (int)(arg1
)->GetPollingMin();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_From_int(static_cast<int >(result
));
13323 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= NULL
;
13325 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
13333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13334 if (SWIG_arg_fail(1)) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (int)(arg1
)->GetPollingMax();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_From_int(static_cast<int >(result
));
13351 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
= NULL
;
13353 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
13361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13362 if (SWIG_arg_fail(1)) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (int)(arg1
)->GetRudderMin();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_From_int(static_cast<int >(result
));
13379 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
= NULL
;
13381 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)(arg1
)->GetRudderMax();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_From_int(static_cast<int >(result
));
13407 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
= NULL
;
13409 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
13417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13418 if (SWIG_arg_fail(1)) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (int)(arg1
)->GetUMin();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_From_int(static_cast<int >(result
));
13435 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
= NULL
;
13437 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
13445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (int)(arg1
)->GetUMax();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast<int >(result
));
13463 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
= NULL
;
13465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
13473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13474 if (SWIG_arg_fail(1)) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (int)(arg1
)->GetVMin();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_From_int(static_cast<int >(result
));
13491 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
= NULL
;
13493 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
13501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13502 if (SWIG_arg_fail(1)) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (int)(arg1
)->GetVMax();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_From_int(static_cast<int >(result
));
13519 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
= NULL
;
13521 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
13529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13530 if (SWIG_arg_fail(1)) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (bool)(arg1
)->HasRudder();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13547 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= NULL
;
13549 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
13557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13558 if (SWIG_arg_fail(1)) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (bool)(arg1
)->HasZ();
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13575 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= NULL
;
13577 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
13585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)(arg1
)->HasU();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
= NULL
;
13605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
13613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13614 if (SWIG_arg_fail(1)) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)(arg1
)->HasV();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13631 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
= NULL
;
13633 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
13641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (bool)(arg1
)->HasPOV();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
= NULL
;
13661 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
13669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13670 if (SWIG_arg_fail(1)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (bool)(arg1
)->HasPOV4Dir();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13687 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= NULL
;
13689 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
13697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13698 if (SWIG_arg_fail(1)) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (bool)(arg1
)->HasPOVCTS();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= NULL
;
13717 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13718 wxWindow
*arg2
= (wxWindow
*) 0 ;
13719 int arg3
= (int) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 PyObject
* obj2
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13730 if (SWIG_arg_fail(1)) SWIG_fail
;
13731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13732 if (SWIG_arg_fail(2)) SWIG_fail
;
13735 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13736 if (SWIG_arg_fail(3)) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13755 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
= NULL
;
13757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13766 if (SWIG_arg_fail(1)) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)(arg1
)->ReleaseCapture();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13786 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13788 return Py_BuildValue((char *)"");
13790 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= NULL
;
13792 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13793 int arg2
= (int) 0 ;
13794 int arg3
= (int) wxJOYSTICK1
;
13795 int arg4
= (int) 0 ;
13796 wxJoystickEvent
*result
;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 PyObject
* obj2
= 0 ;
13800 PyObject
* obj3
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13808 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13809 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13815 if (SWIG_arg_fail(2)) SWIG_fail
;
13820 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13821 if (SWIG_arg_fail(3)) SWIG_fail
;
13826 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13827 if (SWIG_arg_fail(4)) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13844 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
= NULL
;
13846 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 wxPoint
* resultptr
;
13865 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13874 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
= NULL
;
13876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13878 PyObject
* obj0
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13885 if (SWIG_arg_fail(1)) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_From_int(static_cast<int >(result
));
13902 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= NULL
;
13904 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_From_int(static_cast<int >(result
));
13930 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= NULL
;
13932 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13941 if (SWIG_arg_fail(1)) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_From_int(static_cast<int >(result
));
13958 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
= NULL
;
13960 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13969 if (SWIG_arg_fail(1)) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= SWIG_From_int(static_cast<int >(result
));
13986 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
= NULL
;
13988 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "stick", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13998 if (SWIG_arg_fail(1)) SWIG_fail
;
14000 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14001 if (SWIG_arg_fail(2)) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 (arg1
)->SetJoystick(arg2
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 Py_INCREF(Py_None
); resultobj
= Py_None
;
14017 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= NULL
;
14019 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "state", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14032 if (SWIG_arg_fail(2)) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetButtonState(arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
= NULL
;
14050 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14052 PyObject
* obj0
= 0 ;
14053 PyObject
* obj1
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self",(char *) "change", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14063 if (SWIG_arg_fail(2)) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 (arg1
)->SetButtonChange(arg2
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 Py_INCREF(Py_None
); resultobj
= Py_None
;
14079 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
= NULL
;
14081 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14082 wxPoint
*arg2
= 0 ;
14084 PyObject
* obj0
= 0 ;
14085 PyObject
* obj1
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self",(char *) "pos", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14092 if (SWIG_arg_fail(1)) SWIG_fail
;
14095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 Py_INCREF(Py_None
); resultobj
= Py_None
;
14111 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= NULL
;
14113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self",(char *) "zPos", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14123 if (SWIG_arg_fail(1)) SWIG_fail
;
14125 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14126 if (SWIG_arg_fail(2)) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->SetZPosition(arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 Py_INCREF(Py_None
); resultobj
= Py_None
;
14142 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
= NULL
;
14144 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14170 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
= NULL
;
14172 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
14180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14181 if (SWIG_arg_fail(1)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14198 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
= NULL
;
14200 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14226 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= NULL
;
14228 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14229 int arg2
= (int) wxJOY_BUTTON_ANY
;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "but", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14239 if (SWIG_arg_fail(1)) SWIG_fail
;
14242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14243 if (SWIG_arg_fail(2)) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14262 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
= NULL
;
14264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14265 int arg2
= (int) wxJOY_BUTTON_ANY
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "but", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14275 if (SWIG_arg_fail(1)) SWIG_fail
;
14278 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14279 if (SWIG_arg_fail(2)) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14298 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
= NULL
;
14300 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14301 int arg2
= (int) wxJOY_BUTTON_ANY
;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self",(char *) "but", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14311 if (SWIG_arg_fail(1)) SWIG_fail
;
14314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14315 if (SWIG_arg_fail(2)) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14334 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= NULL
;
14343 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14344 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14346 bool temp1
= false ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "fileName", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14355 arg1
= wxString_in_helper(obj0
);
14356 if (arg1
== NULL
) SWIG_fail
;
14361 if (!wxPyCheckForApp()) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14383 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= NULL
;
14385 PyObject
*arg1
= (PyObject
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "data", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14395 if (!wxPyCheckForApp()) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxSound
*)new_wxSound(arg1
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14409 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= NULL
;
14411 wxSound
*arg1
= (wxSound
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
= NULL
;
14436 wxSound
*arg1
= (wxSound
*) 0 ;
14437 wxString
*arg2
= 0 ;
14439 bool temp2
= false ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "fileName", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail
;
14450 arg2
= wxString_in_helper(obj1
);
14451 if (arg2
== NULL
) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
= NULL
;
14480 wxSound
*arg1
= (wxSound
*) 0 ;
14481 PyObject
*arg2
= (PyObject
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "data", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14509 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
= NULL
;
14511 wxSound
*arg1
= (wxSound
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->IsOk();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
= NULL
;
14539 wxSound
*arg1
= (wxSound
*) 0 ;
14540 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14542 PyObject
* obj0
= 0 ;
14543 PyObject
* obj1
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self",(char *) "flags", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail
;
14553 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14554 if (SWIG_arg_fail(2)) SWIG_fail
;
14558 if (!wxPyCheckForApp()) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= NULL
;
14576 wxString
*arg1
= 0 ;
14577 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14579 bool temp1
= false ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "filename",(char *) "flags", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14588 arg1
= wxString_in_helper(obj0
);
14589 if (arg1
== NULL
) SWIG_fail
;
14594 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14595 if (SWIG_arg_fail(2)) SWIG_fail
;
14599 if (!wxPyCheckForApp()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14623 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
= NULL
;
14625 char *kwnames
[] = {
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14631 if (!wxPyCheckForApp()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14648 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14650 return Py_BuildValue((char *)"");
14652 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
= NULL
;
14654 wxString
*arg1
= 0 ;
14655 wxString
*arg2
= 0 ;
14656 wxString
*arg3
= 0 ;
14657 wxString
*arg4
= 0 ;
14658 wxFileTypeInfo
*result
;
14659 bool temp1
= false ;
14660 bool temp2
= false ;
14661 bool temp3
= false ;
14662 bool temp4
= false ;
14663 PyObject
* obj0
= 0 ;
14664 PyObject
* obj1
= 0 ;
14665 PyObject
* obj2
= 0 ;
14666 PyObject
* obj3
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14673 arg1
= wxString_in_helper(obj0
);
14674 if (arg1
== NULL
) SWIG_fail
;
14678 arg2
= wxString_in_helper(obj1
);
14679 if (arg2
== NULL
) SWIG_fail
;
14683 arg3
= wxString_in_helper(obj2
);
14684 if (arg3
== NULL
) SWIG_fail
;
14688 arg4
= wxString_in_helper(obj3
);
14689 if (arg4
== NULL
) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14738 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
= NULL
;
14740 wxArrayString
*arg1
= 0 ;
14741 wxFileTypeInfo
*result
;
14742 bool temp1
= false ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "sArray", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14750 if (! PySequence_Check(obj0
)) {
14751 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14754 arg1
= new wxArrayString
;
14756 int i
, len
=PySequence_Length(obj0
);
14757 for (i
=0; i
<len
; i
++) {
14758 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14759 wxString
* s
= wxString_in_helper(item
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14775 if (temp1
) delete arg1
;
14780 if (temp1
) delete arg1
;
14786 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
= NULL
;
14788 wxFileTypeInfo
*result
;
14789 char *kwnames
[] = {
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14808 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= NULL
;
14810 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
= NULL
;
14838 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14839 wxString
*arg2
= 0 ;
14840 int arg3
= (int) 0 ;
14841 bool temp2
= false ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 PyObject
* obj2
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14851 if (SWIG_arg_fail(1)) SWIG_fail
;
14853 arg2
= wxString_in_helper(obj1
);
14854 if (arg2
== NULL
) SWIG_fail
;
14859 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14860 if (SWIG_arg_fail(3)) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
= NULL
;
14887 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14888 wxString
*arg2
= 0 ;
14889 bool temp2
= false ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "shortDesc", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail
;
14900 arg2
= wxString_in_helper(obj1
);
14901 if (arg2
== NULL
) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 Py_INCREF(Py_None
); resultobj
= Py_None
;
14926 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= NULL
;
14928 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14942 result
= (wxString
*) &_result_ref
;
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14952 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14961 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= NULL
;
14963 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14972 if (SWIG_arg_fail(1)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14977 result
= (wxString
*) &_result_ref
;
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14996 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= NULL
;
14998 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
15012 result
= (wxString
*) &_result_ref
;
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15031 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= NULL
;
15033 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15047 result
= (wxString
*) &_result_ref
;
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15066 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
= NULL
;
15068 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15082 result
= (wxString
*) &_result_ref
;
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15101 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= NULL
;
15103 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15104 wxArrayString
*result
;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(1)) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15117 result
= (wxArrayString
*) &_result_ref
;
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= wxArrayString2PyList_helper(*result
);
15132 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= NULL
;
15134 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15136 PyObject
* obj0
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15143 if (SWIG_arg_fail(1)) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_From_int(static_cast<int >(result
));
15160 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
= NULL
;
15162 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15176 result
= (wxString
*) &_result_ref
;
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15195 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= NULL
;
15197 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_From_int(static_cast<int >(result
));
15223 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15226 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15228 return Py_BuildValue((char *)"");
15230 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
= NULL
;
15232 wxFileTypeInfo
*arg1
= 0 ;
15233 wxFileType
*result
;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "ftInfo", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 if (arg1
== NULL
) {
15244 SWIG_null_ref("wxFileTypeInfo");
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15262 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
= NULL
;
15264 wxFileType
*arg1
= (wxFileType
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 Py_INCREF(Py_None
); resultobj
= Py_None
;
15287 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= NULL
;
15289 wxFileType
*arg1
= (wxFileType
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
;
15313 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
= NULL
;
15315 wxFileType
*arg1
= (wxFileType
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
;
15339 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
= NULL
;
15341 wxFileType
*arg1
= (wxFileType
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
;
15365 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
= NULL
;
15367 wxFileType
*arg1
= (wxFileType
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15376 if (SWIG_arg_fail(1)) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15391 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= NULL
;
15393 wxFileType
*arg1
= (wxFileType
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= result
;
15417 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
= NULL
;
15419 wxFileType
*arg1
= (wxFileType
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
;
15443 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
= NULL
;
15445 wxFileType
*arg1
= (wxFileType
*) 0 ;
15446 wxString
*arg2
= 0 ;
15447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15450 bool temp2
= false ;
15451 bool temp3
= false ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 arg2
= wxString_in_helper(obj1
);
15464 if (arg2
== NULL
) SWIG_fail
;
15469 arg3
= wxString_in_helper(obj2
);
15470 if (arg3
== NULL
) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= result
;
15504 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= NULL
;
15506 wxFileType
*arg1
= (wxFileType
*) 0 ;
15507 wxString
*arg2
= 0 ;
15508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15511 bool temp2
= false ;
15512 bool temp3
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 arg2
= wxString_in_helper(obj1
);
15525 if (arg2
== NULL
) SWIG_fail
;
15530 arg3
= wxString_in_helper(obj2
);
15531 if (arg3
== NULL
) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= result
;
15565 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= NULL
;
15567 wxFileType
*arg1
= (wxFileType
*) 0 ;
15568 wxString
*arg2
= 0 ;
15569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15572 bool temp2
= false ;
15573 bool temp3
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail
;
15585 arg2
= wxString_in_helper(obj1
);
15586 if (arg2
== NULL
) SWIG_fail
;
15591 arg3
= wxString_in_helper(obj2
);
15592 if (arg3
== NULL
) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= result
;
15626 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= NULL
;
15628 wxFileType
*arg1
= (wxFileType
*) 0 ;
15629 wxString
*arg2
= 0 ;
15630 wxString
*arg3
= 0 ;
15631 bool arg4
= (bool) true ;
15633 bool temp2
= false ;
15634 bool temp3
= false ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 PyObject
* obj2
= 0 ;
15638 PyObject
* obj3
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15645 if (SWIG_arg_fail(1)) SWIG_fail
;
15647 arg2
= wxString_in_helper(obj1
);
15648 if (arg2
== NULL
) SWIG_fail
;
15652 arg3
= wxString_in_helper(obj2
);
15653 if (arg3
== NULL
) SWIG_fail
;
15658 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15659 if (SWIG_arg_fail(4)) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15694 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
= NULL
;
15696 wxFileType
*arg1
= (wxFileType
*) 0 ;
15697 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15699 int arg3
= (int) 0 ;
15701 bool temp2
= false ;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "cmd",(char *) "index", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail
;
15714 arg2
= wxString_in_helper(obj1
);
15715 if (arg2
== NULL
) SWIG_fail
;
15721 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15722 if (SWIG_arg_fail(3)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
= NULL
;
15751 wxFileType
*arg1
= (wxFileType
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)(arg1
)->Unassociate();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
= NULL
;
15779 wxString
*arg1
= 0 ;
15780 wxString
*arg2
= 0 ;
15781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15784 bool temp1
= false ;
15785 bool temp2
= false ;
15786 bool temp3
= false ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15796 arg1
= wxString_in_helper(obj0
);
15797 if (arg1
== NULL
) SWIG_fail
;
15801 arg2
= wxString_in_helper(obj1
);
15802 if (arg2
== NULL
) SWIG_fail
;
15807 arg3
= wxString_in_helper(obj2
);
15808 if (arg3
== NULL
) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15856 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15861 return Py_BuildValue((char *)"");
15863 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15864 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15869 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15870 PyObject
*pyobj
= NULL
;
15872 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15877 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= NULL
;
15879 wxString
*arg1
= 0 ;
15880 wxString
*arg2
= 0 ;
15882 bool temp1
= false ;
15883 bool temp2
= false ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "mimeType",(char *) "wildcard", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 arg1
= wxString_in_helper(obj0
);
15893 if (arg1
== NULL
) SWIG_fail
;
15897 arg2
= wxString_in_helper(obj1
);
15898 if (arg2
== NULL
) SWIG_fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15933 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= NULL
;
15935 wxMimeTypesManager
*result
;
15936 char *kwnames
[] = {
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15955 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
= NULL
;
15957 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15958 int arg2
= (int) wxMAILCAP_ALL
;
15959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15961 bool temp3
= false ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15971 if (SWIG_arg_fail(1)) SWIG_fail
;
15974 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15975 if (SWIG_arg_fail(2)) SWIG_fail
;
15980 arg3
= wxString_in_helper(obj2
);
15981 if (arg3
== NULL
) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
= NULL
;
16009 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
16016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16017 if (SWIG_arg_fail(1)) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->ClearData();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= NULL
;
16034 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16035 wxString
*arg2
= 0 ;
16036 wxFileType
*result
;
16037 bool temp2
= false ;
16038 PyObject
* obj0
= 0 ;
16039 PyObject
* obj1
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self",(char *) "ext", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 arg2
= wxString_in_helper(obj1
);
16049 if (arg2
== NULL
) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16074 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
= NULL
;
16076 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16077 wxString
*arg2
= 0 ;
16078 wxFileType
*result
;
16079 bool temp2
= false ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "mimeType", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail
;
16090 arg2
= wxString_in_helper(obj1
);
16091 if (arg2
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16116 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= NULL
;
16118 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16119 wxString
*arg2
= 0 ;
16120 bool arg3
= (bool) false ;
16122 bool temp2
= false ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 PyObject
* obj2
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16132 if (SWIG_arg_fail(1)) SWIG_fail
;
16134 arg2
= wxString_in_helper(obj1
);
16135 if (arg2
== NULL
) SWIG_fail
;
16140 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16141 if (SWIG_arg_fail(3)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
= NULL
;
16170 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16171 wxString
*arg2
= 0 ;
16173 bool temp2
= false ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "filename", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail
;
16184 arg2
= wxString_in_helper(obj1
);
16185 if (arg2
== NULL
) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16212 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
= NULL
;
16214 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= result
;
16238 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
= NULL
;
16240 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16241 wxFileTypeInfo
*arg2
= 0 ;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "ft", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16253 if (SWIG_arg_fail(2)) SWIG_fail
;
16254 if (arg2
== NULL
) {
16255 SWIG_null_ref("wxFileTypeInfo");
16257 if (SWIG_arg_fail(2)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
= NULL
;
16275 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16276 wxFileTypeInfo
*arg2
= 0 ;
16277 wxFileType
*result
;
16278 PyObject
* obj0
= 0 ;
16279 PyObject
* obj1
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self",(char *) "ftInfo", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16286 if (SWIG_arg_fail(1)) SWIG_fail
;
16288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(2)) SWIG_fail
;
16290 if (arg2
== NULL
) {
16291 SWIG_null_ref("wxFileTypeInfo");
16293 if (SWIG_arg_fail(2)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16309 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= NULL
;
16311 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16312 wxFileType
*arg2
= (wxFileType
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "ft", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16324 if (SWIG_arg_fail(2)) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)(arg1
)->Unassociate(arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16341 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
= NULL
;
16343 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 Py_INCREF(Py_None
); resultobj
= Py_None
;
16366 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16369 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16371 return Py_BuildValue((char *)"");
16373 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16379 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16380 PyObject
*pyobj
= NULL
;
16384 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16386 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16393 static int _wrap_ART_MENU_set(PyObject
*) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16399 static PyObject
*_wrap_ART_MENU_get(void) {
16400 PyObject
*pyobj
= NULL
;
16404 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16413 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16419 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16420 PyObject
*pyobj
= NULL
;
16424 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16433 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16439 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16440 PyObject
*pyobj
= NULL
;
16444 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16453 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16459 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16460 PyObject
*pyobj
= NULL
;
16464 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16473 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16474 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16479 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16480 PyObject
*pyobj
= NULL
;
16484 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16493 static int _wrap_ART_BUTTON_set(PyObject
*) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16499 static PyObject
*_wrap_ART_BUTTON_get(void) {
16500 PyObject
*pyobj
= NULL
;
16504 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16506 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16513 static int _wrap_ART_OTHER_set(PyObject
*) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16519 static PyObject
*_wrap_ART_OTHER_get(void) {
16520 PyObject
*pyobj
= NULL
;
16524 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16526 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16533 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16539 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16540 PyObject
*pyobj
= NULL
;
16544 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16546 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16553 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16559 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16560 PyObject
*pyobj
= NULL
;
16564 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16566 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16573 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16574 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16579 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16580 PyObject
*pyobj
= NULL
;
16584 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16586 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16593 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16594 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16599 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16600 PyObject
*pyobj
= NULL
;
16604 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16606 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16613 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16619 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16620 PyObject
*pyobj
= NULL
;
16624 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16626 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16633 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16639 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16640 PyObject
*pyobj
= NULL
;
16644 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16646 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16653 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16659 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16660 PyObject
*pyobj
= NULL
;
16664 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16666 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16673 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16679 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16680 PyObject
*pyobj
= NULL
;
16684 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16686 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16693 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16694 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16699 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16700 PyObject
*pyobj
= NULL
;
16704 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16706 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16713 static int _wrap_ART_GO_UP_set(PyObject
*) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16719 static PyObject
*_wrap_ART_GO_UP_get(void) {
16720 PyObject
*pyobj
= NULL
;
16724 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16726 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16733 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16734 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16739 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16740 PyObject
*pyobj
= NULL
;
16744 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16746 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16753 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16754 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16759 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16760 PyObject
*pyobj
= NULL
;
16764 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16766 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16773 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16779 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16780 PyObject
*pyobj
= NULL
;
16784 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16786 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16793 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16794 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16799 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16800 PyObject
*pyobj
= NULL
;
16804 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16806 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16813 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16814 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16819 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16820 PyObject
*pyobj
= NULL
;
16824 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16826 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16833 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16834 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16839 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16840 PyObject
*pyobj
= NULL
;
16844 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16846 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16853 static int _wrap_ART_PRINT_set(PyObject
*) {
16854 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16859 static PyObject
*_wrap_ART_PRINT_get(void) {
16860 PyObject
*pyobj
= NULL
;
16864 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16866 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16873 static int _wrap_ART_HELP_set(PyObject
*) {
16874 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16879 static PyObject
*_wrap_ART_HELP_get(void) {
16880 PyObject
*pyobj
= NULL
;
16884 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16886 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16893 static int _wrap_ART_TIP_set(PyObject
*) {
16894 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16899 static PyObject
*_wrap_ART_TIP_get(void) {
16900 PyObject
*pyobj
= NULL
;
16904 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16906 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16913 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16919 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16920 PyObject
*pyobj
= NULL
;
16924 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16926 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16933 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16934 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16939 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16940 PyObject
*pyobj
= NULL
;
16944 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16946 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16953 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16954 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16959 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16960 PyObject
*pyobj
= NULL
;
16964 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16966 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16973 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16974 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16979 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16980 PyObject
*pyobj
= NULL
;
16984 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16986 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16993 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16994 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16999 static PyObject
*_wrap_ART_FLOPPY_get(void) {
17000 PyObject
*pyobj
= NULL
;
17004 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17006 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
17013 static int _wrap_ART_CDROM_set(PyObject
*) {
17014 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
17019 static PyObject
*_wrap_ART_CDROM_get(void) {
17020 PyObject
*pyobj
= NULL
;
17024 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17026 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17033 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17034 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17039 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17040 PyObject
*pyobj
= NULL
;
17044 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17046 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17053 static int _wrap_ART_FOLDER_set(PyObject
*) {
17054 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17059 static PyObject
*_wrap_ART_FOLDER_get(void) {
17060 PyObject
*pyobj
= NULL
;
17064 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17066 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17073 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17074 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17079 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17080 PyObject
*pyobj
= NULL
;
17084 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17086 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17093 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17094 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17099 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17100 PyObject
*pyobj
= NULL
;
17104 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17106 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17113 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17114 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17119 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17120 PyObject
*pyobj
= NULL
;
17124 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17126 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17133 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17134 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17139 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17140 PyObject
*pyobj
= NULL
;
17144 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17146 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17153 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17154 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17159 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17160 PyObject
*pyobj
= NULL
;
17164 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17166 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17173 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17174 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17179 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17180 PyObject
*pyobj
= NULL
;
17184 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17186 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17193 static int _wrap_ART_ERROR_set(PyObject
*) {
17194 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17199 static PyObject
*_wrap_ART_ERROR_get(void) {
17200 PyObject
*pyobj
= NULL
;
17204 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17206 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17213 static int _wrap_ART_QUESTION_set(PyObject
*) {
17214 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17219 static PyObject
*_wrap_ART_QUESTION_get(void) {
17220 PyObject
*pyobj
= NULL
;
17224 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17226 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17233 static int _wrap_ART_WARNING_set(PyObject
*) {
17234 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17239 static PyObject
*_wrap_ART_WARNING_get(void) {
17240 PyObject
*pyobj
= NULL
;
17244 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17246 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17253 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17254 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17259 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17260 PyObject
*pyobj
= NULL
;
17264 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17266 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17273 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17274 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17279 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17280 PyObject
*pyobj
= NULL
;
17284 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17286 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17293 static int _wrap_ART_COPY_set(PyObject
*) {
17294 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17299 static PyObject
*_wrap_ART_COPY_get(void) {
17300 PyObject
*pyobj
= NULL
;
17304 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17306 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17313 static int _wrap_ART_CUT_set(PyObject
*) {
17314 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17319 static PyObject
*_wrap_ART_CUT_get(void) {
17320 PyObject
*pyobj
= NULL
;
17324 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17326 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17333 static int _wrap_ART_PASTE_set(PyObject
*) {
17334 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17339 static PyObject
*_wrap_ART_PASTE_get(void) {
17340 PyObject
*pyobj
= NULL
;
17344 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17346 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17353 static int _wrap_ART_DELETE_set(PyObject
*) {
17354 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17359 static PyObject
*_wrap_ART_DELETE_get(void) {
17360 PyObject
*pyobj
= NULL
;
17364 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17366 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17373 static int _wrap_ART_NEW_set(PyObject
*) {
17374 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17379 static PyObject
*_wrap_ART_NEW_get(void) {
17380 PyObject
*pyobj
= NULL
;
17384 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17386 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17393 static int _wrap_ART_UNDO_set(PyObject
*) {
17394 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17399 static PyObject
*_wrap_ART_UNDO_get(void) {
17400 PyObject
*pyobj
= NULL
;
17404 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17406 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17413 static int _wrap_ART_REDO_set(PyObject
*) {
17414 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17419 static PyObject
*_wrap_ART_REDO_get(void) {
17420 PyObject
*pyobj
= NULL
;
17424 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17426 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17433 static int _wrap_ART_QUIT_set(PyObject
*) {
17434 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17439 static PyObject
*_wrap_ART_QUIT_get(void) {
17440 PyObject
*pyobj
= NULL
;
17444 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17446 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17453 static int _wrap_ART_FIND_set(PyObject
*) {
17454 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17459 static PyObject
*_wrap_ART_FIND_get(void) {
17460 PyObject
*pyobj
= NULL
;
17464 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17466 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17473 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17474 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17479 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17480 PyObject
*pyobj
= NULL
;
17484 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17486 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17493 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= NULL
;
17495 wxPyArtProvider
*result
;
17496 char *kwnames
[] = {
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17502 if (!wxPyCheckForApp()) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17516 static PyObject
*_wrap_delete_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= NULL
;
17518 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
17525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17526 if (SWIG_arg_fail(1)) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= NULL
;
17543 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17544 PyObject
*arg2
= (PyObject
*) 0 ;
17545 PyObject
*arg3
= (PyObject
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 PyObject
* obj2
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "self",(char *) "_class", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17555 if (SWIG_arg_fail(1)) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 Py_INCREF(Py_None
); resultobj
= Py_None
;
17572 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
= NULL
;
17574 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "provider", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17582 if (SWIG_arg_fail(1)) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 wxPyArtProvider::PushProvider(arg1
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 Py_INCREF(Py_None
); resultobj
= Py_None
;
17597 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
= NULL
;
17600 char *kwnames
[] = {
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)wxPyArtProvider::PopProvider();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= NULL
;
17623 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "provider", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
= NULL
;
17651 wxString
*arg1
= 0 ;
17652 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17653 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17654 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17655 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17657 bool temp1
= false ;
17658 bool temp2
= false ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "id",(char *) "client",(char *) "size", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17669 arg1
= wxString_in_helper(obj0
);
17670 if (arg1
== NULL
) SWIG_fail
;
17675 arg2
= wxString_in_helper(obj1
);
17676 if (arg2
== NULL
) SWIG_fail
;
17683 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17687 if (!wxPyCheckForApp()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 wxBitmap
* resultptr
;
17696 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17721 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
= NULL
;
17723 wxString
*arg1
= 0 ;
17724 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17725 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17726 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17727 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17729 bool temp1
= false ;
17730 bool temp2
= false ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "id",(char *) "client",(char *) "size", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17741 arg1
= wxString_in_helper(obj0
);
17742 if (arg1
== NULL
) SWIG_fail
;
17747 arg2
= wxString_in_helper(obj1
);
17748 if (arg2
== NULL
) SWIG_fail
;
17755 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17759 if (!wxPyCheckForApp()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 wxIcon
* resultptr
;
17768 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17793 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= NULL
;
17795 wxString
*arg1
= 0 ;
17796 bool arg2
= (bool) false ;
17798 bool temp1
= false ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "client",(char *) "platform_dependent", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17807 arg1
= wxString_in_helper(obj0
);
17808 if (arg1
== NULL
) SWIG_fail
;
17813 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17814 if (SWIG_arg_fail(2)) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 wxSize
* resultptr
;
17826 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17843 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= NULL
;
17845 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 wxPyArtProvider_Destroy(arg1
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17871 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17873 return Py_BuildValue((char *)"");
17875 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= NULL
;
17877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 Py_INCREF(Py_None
); resultobj
= Py_None
;
17900 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
= NULL
;
17902 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17903 wxConfigBase
*result
;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "config", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17926 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
= NULL
;
17928 bool arg1
= (bool) true ;
17929 wxConfigBase
*result
;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "createOnDemand", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17938 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17939 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17956 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
= NULL
;
17958 wxConfigBase
*result
;
17959 char *kwnames
[] = {
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (wxConfigBase
*)wxConfigBase::Create();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17978 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= NULL
;
17980 char *kwnames
[] = {
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 wxConfigBase::DontCreateOnDemand();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 Py_INCREF(Py_None
); resultobj
= Py_None
;
17999 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
= NULL
;
18001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18002 wxString
*arg2
= 0 ;
18003 bool temp2
= false ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self",(char *) "path", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18012 if (SWIG_arg_fail(1)) SWIG_fail
;
18014 arg2
= wxString_in_helper(obj1
);
18015 if (arg2
== NULL
) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->SetPath((wxString
const &)*arg2
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 Py_INCREF(Py_None
); resultobj
= Py_None
;
18040 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
= NULL
;
18042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18056 result
= (wxString
*) &_result_ref
;
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18075 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= NULL
;
18077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= result
;
18101 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
= NULL
;
18103 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 PyObject
* obj1
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "index", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18114 if (SWIG_arg_fail(1)) SWIG_fail
;
18116 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18117 if (SWIG_arg_fail(2)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
;
18133 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= NULL
;
18135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18144 if (SWIG_arg_fail(1)) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
;
18159 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= NULL
;
18161 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "index", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18175 if (SWIG_arg_fail(2)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
;
18191 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
= NULL
;
18193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18194 bool arg2
= (bool) false ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "recursive", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18204 if (SWIG_arg_fail(1)) SWIG_fail
;
18207 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18208 if (SWIG_arg_fail(2)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18227 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= NULL
;
18229 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18230 bool arg2
= (bool) false ;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "self",(char *) "recursive", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18240 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18244 if (SWIG_arg_fail(2)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18263 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
= NULL
;
18265 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18266 wxString
*arg2
= 0 ;
18268 bool temp2
= false ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "name", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18277 if (SWIG_arg_fail(1)) SWIG_fail
;
18279 arg2
= wxString_in_helper(obj1
);
18280 if (arg2
== NULL
) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= NULL
;
18309 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18310 wxString
*arg2
= 0 ;
18312 bool temp2
= false ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "name", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 arg2
= wxString_in_helper(obj1
);
18324 if (arg2
== NULL
) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18351 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= NULL
;
18353 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18354 wxString
*arg2
= 0 ;
18356 bool temp2
= false ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "name", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18367 arg2
= wxString_in_helper(obj1
);
18368 if (arg2
== NULL
) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18395 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= NULL
;
18397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18398 wxString
*arg2
= 0 ;
18399 wxConfigBase::EntryType result
;
18400 bool temp2
= false ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "name", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail
;
18411 arg2
= wxString_in_helper(obj1
);
18412 if (arg2
== NULL
) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_From_int((result
));
18437 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
= NULL
;
18439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18440 wxString
*arg2
= 0 ;
18441 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18442 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18444 bool temp2
= false ;
18445 bool temp3
= false ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18455 if (SWIG_arg_fail(1)) SWIG_fail
;
18457 arg2
= wxString_in_helper(obj1
);
18458 if (arg2
== NULL
) SWIG_fail
;
18463 arg3
= wxString_in_helper(obj2
);
18464 if (arg3
== NULL
) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18504 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= NULL
;
18506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18507 wxString
*arg2
= 0 ;
18508 long arg3
= (long) 0 ;
18510 bool temp2
= false ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 PyObject
* obj2
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 arg2
= wxString_in_helper(obj1
);
18523 if (arg2
== NULL
) SWIG_fail
;
18528 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18529 if (SWIG_arg_fail(3)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_long(static_cast<long >(result
));
18556 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
= NULL
;
18558 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18559 wxString
*arg2
= 0 ;
18560 double arg3
= (double) 0.0 ;
18562 bool temp2
= false ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 PyObject
* obj2
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18572 if (SWIG_arg_fail(1)) SWIG_fail
;
18574 arg2
= wxString_in_helper(obj1
);
18575 if (arg2
== NULL
) SWIG_fail
;
18580 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18581 if (SWIG_arg_fail(3)) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_From_double(static_cast<double >(result
));
18608 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
= NULL
;
18610 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18611 wxString
*arg2
= 0 ;
18612 bool arg3
= (bool) false ;
18614 bool temp2
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 arg2
= wxString_in_helper(obj1
);
18627 if (arg2
== NULL
) SWIG_fail
;
18632 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18633 if (SWIG_arg_fail(3)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= NULL
;
18662 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18663 wxString
*arg2
= 0 ;
18664 wxString
*arg3
= 0 ;
18666 bool temp2
= false ;
18667 bool temp3
= false ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "key",(char *) "value", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 arg2
= wxString_in_helper(obj1
);
18680 if (arg2
== NULL
) SWIG_fail
;
18684 arg3
= wxString_in_helper(obj2
);
18685 if (arg3
== NULL
) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18720 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= NULL
;
18722 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18723 wxString
*arg2
= 0 ;
18726 bool temp2
= false ;
18727 PyObject
* obj0
= 0 ;
18728 PyObject
* obj1
= 0 ;
18729 PyObject
* obj2
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self",(char *) "key",(char *) "value", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail
;
18738 arg2
= wxString_in_helper(obj1
);
18739 if (arg2
== NULL
) SWIG_fail
;
18743 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18744 if (SWIG_arg_fail(3)) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18770 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
= NULL
;
18772 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18773 wxString
*arg2
= 0 ;
18776 bool temp2
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "key",(char *) "value", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 arg2
= wxString_in_helper(obj1
);
18789 if (arg2
== NULL
) SWIG_fail
;
18793 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18794 if (SWIG_arg_fail(3)) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18820 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= NULL
;
18822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18823 wxString
*arg2
= 0 ;
18826 bool temp2
= false ;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 PyObject
* obj2
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "key",(char *) "value", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18836 if (SWIG_arg_fail(1)) SWIG_fail
;
18838 arg2
= wxString_in_helper(obj1
);
18839 if (arg2
== NULL
) SWIG_fail
;
18843 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18844 if (SWIG_arg_fail(3)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18870 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
= NULL
;
18872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18873 bool arg2
= (bool) false ;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "currentOnly", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18887 if (SWIG_arg_fail(2)) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (bool)(arg1
)->Flush(arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18906 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
= NULL
;
18908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18909 wxString
*arg2
= 0 ;
18910 wxString
*arg3
= 0 ;
18912 bool temp2
= false ;
18913 bool temp3
= false ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18923 if (SWIG_arg_fail(1)) SWIG_fail
;
18925 arg2
= wxString_in_helper(obj1
);
18926 if (arg2
== NULL
) SWIG_fail
;
18930 arg3
= wxString_in_helper(obj2
);
18931 if (arg3
== NULL
) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18966 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= NULL
;
18968 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18969 wxString
*arg2
= 0 ;
18970 wxString
*arg3
= 0 ;
18972 bool temp2
= false ;
18973 bool temp3
= false ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 PyObject
* obj2
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail
;
18985 arg2
= wxString_in_helper(obj1
);
18986 if (arg2
== NULL
) SWIG_fail
;
18990 arg3
= wxString_in_helper(obj2
);
18991 if (arg3
== NULL
) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19026 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= NULL
;
19028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19029 wxString
*arg2
= 0 ;
19030 bool arg3
= (bool) true ;
19032 bool temp2
= false ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 PyObject
* obj2
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 arg2
= wxString_in_helper(obj1
);
19045 if (arg2
== NULL
) SWIG_fail
;
19050 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
19051 if (SWIG_arg_fail(3)) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19078 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
= NULL
;
19080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19081 wxString
*arg2
= 0 ;
19083 bool temp2
= false ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "key", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 arg2
= wxString_in_helper(obj1
);
19095 if (arg2
== NULL
) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19122 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
= NULL
;
19124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (bool)(arg1
)->DeleteAll();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19150 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= NULL
;
19152 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19153 bool arg2
= (bool) true ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "doIt", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19166 if (SWIG_arg_fail(2)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetExpandEnvVars(arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
= NULL
;
19185 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19211 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= NULL
;
19213 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19214 bool arg2
= (bool) true ;
19215 PyObject
* obj0
= 0 ;
19216 PyObject
* obj1
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self",(char *) "doIt", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19223 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19227 if (SWIG_arg_fail(2)) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetRecordDefaults(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 Py_INCREF(Py_None
); resultobj
= Py_None
;
19244 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= NULL
;
19246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19255 if (SWIG_arg_fail(1)) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19272 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= NULL
;
19274 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19275 wxString
*arg2
= 0 ;
19277 bool temp2
= false ;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self",(char *) "str", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 arg2
= wxString_in_helper(obj1
);
19289 if (arg2
== NULL
) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19320 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= NULL
;
19322 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19331 if (SWIG_arg_fail(1)) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19352 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
= NULL
;
19354 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19363 if (SWIG_arg_fail(1)) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19384 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
= NULL
;
19386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19387 wxString
*arg2
= 0 ;
19388 bool temp2
= false ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "appName", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19397 if (SWIG_arg_fail(1)) SWIG_fail
;
19399 arg2
= wxString_in_helper(obj1
);
19400 if (arg2
== NULL
) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 (arg1
)->SetAppName((wxString
const &)*arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
= NULL
;
19427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19428 wxString
*arg2
= 0 ;
19429 bool temp2
= false ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "vendorName", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19438 if (SWIG_arg_fail(1)) SWIG_fail
;
19440 arg2
= wxString_in_helper(obj1
);
19441 if (arg2
== NULL
) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= NULL
;
19468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 PyObject
* obj1
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "style", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail
;
19480 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19481 if (SWIG_arg_fail(2)) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->SetStyle(arg2
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
= NULL
;
19499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19508 if (SWIG_arg_fail(1)) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_From_long(static_cast<long >(result
));
19525 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19528 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19530 return Py_BuildValue((char *)"");
19532 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= NULL
;
19534 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19535 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19536 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19537 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19540 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19542 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19544 bool temp1
= false ;
19545 bool temp2
= false ;
19546 bool temp3
= false ;
19547 bool temp4
= false ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 PyObject
* obj2
= 0 ;
19551 PyObject
* obj3
= 0 ;
19552 PyObject
* obj4
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19560 arg1
= wxString_in_helper(obj0
);
19561 if (arg1
== NULL
) SWIG_fail
;
19567 arg2
= wxString_in_helper(obj1
);
19568 if (arg2
== NULL
) SWIG_fail
;
19574 arg3
= wxString_in_helper(obj2
);
19575 if (arg3
== NULL
) SWIG_fail
;
19581 arg4
= wxString_in_helper(obj3
);
19582 if (arg4
== NULL
) SWIG_fail
;
19588 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19589 if (SWIG_arg_fail(5)) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19638 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
= NULL
;
19640 wxConfig
*arg1
= (wxConfig
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19648 if (SWIG_arg_fail(1)) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19666 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19668 return Py_BuildValue((char *)"");
19670 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= NULL
;
19672 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19673 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19674 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19676 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19677 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19678 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19679 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19680 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19681 wxFileConfig
*result
;
19682 bool temp1
= false ;
19683 bool temp2
= false ;
19684 bool temp3
= false ;
19685 bool temp4
= false ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 PyObject
* obj2
= 0 ;
19689 PyObject
* obj3
= 0 ;
19690 PyObject
* obj4
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19698 arg1
= wxString_in_helper(obj0
);
19699 if (arg1
== NULL
) SWIG_fail
;
19705 arg2
= wxString_in_helper(obj1
);
19706 if (arg2
== NULL
) SWIG_fail
;
19712 arg3
= wxString_in_helper(obj2
);
19713 if (arg3
== NULL
) SWIG_fail
;
19719 arg4
= wxString_in_helper(obj3
);
19720 if (arg4
== NULL
) SWIG_fail
;
19726 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19727 if (SWIG_arg_fail(5)) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19776 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= NULL
;
19778 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 Py_INCREF(Py_None
); resultobj
= Py_None
;
19801 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19804 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19806 return Py_BuildValue((char *)"");
19808 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
= NULL
;
19810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19811 wxString
*arg2
= 0 ;
19812 wxConfigPathChanger
*result
;
19813 bool temp2
= false ;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "config",(char *) "entry", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail
;
19824 arg2
= wxString_in_helper(obj1
);
19825 if (arg2
== NULL
) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19850 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
= NULL
;
19852 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19860 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 Py_INCREF(Py_None
); resultobj
= Py_None
;
19875 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
= NULL
;
19877 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19891 result
= (wxString
*) &_result_ref
;
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19910 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19913 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19915 return Py_BuildValue((char *)"");
19917 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= NULL
;
19919 wxString
*arg1
= 0 ;
19921 bool temp1
= false ;
19922 PyObject
* obj0
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "sz", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19929 arg1
= wxString_in_helper(obj0
);
19930 if (arg1
== NULL
) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19961 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19962 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19967 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19968 PyObject
*pyobj
= NULL
;
19972 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19974 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19981 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19982 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19987 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19988 PyObject
*pyobj
= NULL
;
19992 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19994 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
20001 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= NULL
;
20003 wxDateTime::Country arg1
;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "country", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
20011 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20012 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 wxDateTime::SetCountry(arg1
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= NULL
;
20030 wxDateTime::Country result
;
20031 char *kwnames
[] = {
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_From_int((result
));
20050 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
= NULL
;
20052 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "country", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20062 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20063 if (SWIG_arg_fail(1)) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20082 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
= NULL
;
20084 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "cal", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20094 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20095 if (SWIG_arg_fail(1)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_From_int(static_cast<int >(result
));
20114 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
= NULL
;
20118 PyObject
* obj0
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "year", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20125 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20126 if (SWIG_arg_fail(1)) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= SWIG_From_int(static_cast<int >(result
));
20144 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
= NULL
;
20146 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20147 wxDateTime::Month result
;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "cal", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20156 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_From_int((result
));
20174 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
= NULL
;
20176 int arg1
= (int) wxDateTime::Inv_Year
;
20177 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "year",(char *) "cal", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20188 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20189 if (SWIG_arg_fail(1)) SWIG_fail
;
20194 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20195 if (SWIG_arg_fail(2)) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20214 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= NULL
;
20216 int arg1
= (int) wxDateTime::Inv_Year
;
20218 PyObject
* obj0
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "year", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20226 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20227 if (SWIG_arg_fail(1)) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (int)wxDateTime::GetCentury(arg1
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_From_int(static_cast<int >(result
));
20246 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= NULL
;
20249 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "year",(char *) "cal", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20265 if (SWIG_arg_fail(2)) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_From_int(static_cast<int >(result
));
20284 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= NULL
;
20286 wxDateTime::Month arg1
;
20287 int arg2
= (int) wxDateTime::Inv_Year
;
20288 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 PyObject
* obj2
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "month",(char *) "year",(char *) "cal", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20299 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20305 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20311 if (SWIG_arg_fail(3)) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_From_int(static_cast<int >(result
));
20330 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= NULL
;
20332 wxDateTime::Month arg1
;
20333 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "month",(char *) "flags", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20343 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20344 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20349 if (SWIG_arg_fail(2)) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20372 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
= NULL
;
20374 wxDateTime::WeekDay arg1
;
20375 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "weekday",(char *) "flags", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20385 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20390 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20391 if (SWIG_arg_fail(2)) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20414 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= NULL
;
20417 char *kwnames
[] = {
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= result
;
20436 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
= NULL
;
20438 int arg1
= (int) wxDateTime::Inv_Year
;
20439 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "year",(char *) "country", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20450 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20451 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20457 if (SWIG_arg_fail(2)) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20476 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= NULL
;
20478 int arg1
= (int) wxDateTime::Inv_Year
;
20479 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "year",(char *) "country", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20490 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20491 if (SWIG_arg_fail(1)) SWIG_fail
;
20496 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20497 if (SWIG_arg_fail(2)) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 wxDateTime
* resultptr
;
20509 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20518 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
= NULL
;
20520 int arg1
= (int) wxDateTime::Inv_Year
;
20521 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "year",(char *) "country", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20532 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20533 if (SWIG_arg_fail(1)) SWIG_fail
;
20538 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20539 if (SWIG_arg_fail(2)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20550 wxDateTime
* resultptr
;
20551 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20560 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= NULL
;
20563 char *kwnames
[] = {
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= wxDateTime::Now();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 wxDateTime
* resultptr
;
20577 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20586 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
= NULL
;
20589 char *kwnames
[] = {
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 result
= wxDateTime::UNow();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 wxDateTime
* resultptr
;
20603 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20612 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= NULL
;
20615 char *kwnames
[] = {
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= wxDateTime::Today();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20628 wxDateTime
* resultptr
;
20629 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20638 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= NULL
;
20640 wxDateTime
*result
;
20641 char *kwnames
[] = {
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (wxDateTime
*)new wxDateTime();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20660 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= NULL
;
20663 wxDateTime
*result
;
20664 PyObject
* obj0
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "timet", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20671 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20672 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (wxDateTime
*)new wxDateTime(arg1
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20688 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
= NULL
;
20691 wxDateTime
*result
;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "jdn", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20699 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20700 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (wxDateTime
*)new wxDateTime(arg1
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20716 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
= NULL
;
20719 int arg2
= (int) 0 ;
20720 int arg3
= (int) 0 ;
20721 int arg4
= (int) 0 ;
20722 wxDateTime
*result
;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 PyObject
* obj2
= 0 ;
20726 PyObject
* obj3
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20733 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20734 if (SWIG_arg_fail(1)) SWIG_fail
;
20738 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20739 if (SWIG_arg_fail(2)) SWIG_fail
;
20744 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20745 if (SWIG_arg_fail(3)) SWIG_fail
;
20750 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20751 if (SWIG_arg_fail(4)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20768 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
= NULL
;
20771 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20772 int arg3
= (int) wxDateTime::Inv_Year
;
20773 int arg4
= (int) 0 ;
20774 int arg5
= (int) 0 ;
20775 int arg6
= (int) 0 ;
20776 int arg7
= (int) 0 ;
20777 wxDateTime
*result
;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 PyObject
* obj2
= 0 ;
20781 PyObject
* obj3
= 0 ;
20782 PyObject
* obj4
= 0 ;
20783 PyObject
* obj5
= 0 ;
20784 PyObject
* obj6
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20791 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20797 if (SWIG_arg_fail(2)) SWIG_fail
;
20802 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20803 if (SWIG_arg_fail(3)) SWIG_fail
;
20808 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20809 if (SWIG_arg_fail(4)) SWIG_fail
;
20814 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20815 if (SWIG_arg_fail(5)) SWIG_fail
;
20820 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20821 if (SWIG_arg_fail(6)) SWIG_fail
;
20826 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20827 if (SWIG_arg_fail(7)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20844 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= NULL
;
20846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 Py_INCREF(Py_None
); resultobj
= Py_None
;
20869 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
= NULL
;
20871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20872 wxDateTime
*result
;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20885 result
= (wxDateTime
*) &_result_ref
;
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20898 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= NULL
;
20900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20902 wxDateTime
*result
;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self",(char *) "timet", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20911 if (SWIG_arg_fail(1)) SWIG_fail
;
20913 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20914 if (SWIG_arg_fail(2)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20920 result
= (wxDateTime
*) &_result_ref
;
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20933 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
= NULL
;
20935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20937 wxDateTime
*result
;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "jdn", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20946 if (SWIG_arg_fail(1)) SWIG_fail
;
20948 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20949 if (SWIG_arg_fail(2)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20955 result
= (wxDateTime
*) &_result_ref
;
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20968 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
= NULL
;
20970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20972 int arg3
= (int) 0 ;
20973 int arg4
= (int) 0 ;
20974 int arg5
= (int) 0 ;
20975 wxDateTime
*result
;
20976 PyObject
* obj0
= 0 ;
20977 PyObject
* obj1
= 0 ;
20978 PyObject
* obj2
= 0 ;
20979 PyObject
* obj3
= 0 ;
20980 PyObject
* obj4
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail
;
20989 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20990 if (SWIG_arg_fail(2)) SWIG_fail
;
20994 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20995 if (SWIG_arg_fail(3)) SWIG_fail
;
21000 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21001 if (SWIG_arg_fail(4)) SWIG_fail
;
21006 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21007 if (SWIG_arg_fail(5)) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
21014 result
= (wxDateTime
*) &_result_ref
;
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21027 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= NULL
;
21029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21031 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21032 int arg4
= (int) wxDateTime::Inv_Year
;
21033 int arg5
= (int) 0 ;
21034 int arg6
= (int) 0 ;
21035 int arg7
= (int) 0 ;
21036 int arg8
= (int) 0 ;
21037 wxDateTime
*result
;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 PyObject
* obj2
= 0 ;
21041 PyObject
* obj3
= 0 ;
21042 PyObject
* obj4
= 0 ;
21043 PyObject
* obj5
= 0 ;
21044 PyObject
* obj6
= 0 ;
21045 PyObject
* obj7
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21052 if (SWIG_arg_fail(1)) SWIG_fail
;
21054 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21055 if (SWIG_arg_fail(2)) SWIG_fail
;
21059 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21060 if (SWIG_arg_fail(3)) SWIG_fail
;
21065 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21066 if (SWIG_arg_fail(4)) SWIG_fail
;
21071 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21072 if (SWIG_arg_fail(5)) SWIG_fail
;
21077 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21078 if (SWIG_arg_fail(6)) SWIG_fail
;
21083 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21084 if (SWIG_arg_fail(7)) SWIG_fail
;
21089 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21090 if (SWIG_arg_fail(8)) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21097 result
= (wxDateTime
*) &_result_ref
;
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21110 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
= NULL
;
21112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21113 wxDateTime
*result
;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21121 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21126 result
= (wxDateTime
*) &_result_ref
;
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21139 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
= NULL
;
21141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21143 wxDateTime
*result
;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "year", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21152 if (SWIG_arg_fail(1)) SWIG_fail
;
21154 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21155 if (SWIG_arg_fail(2)) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21161 result
= (wxDateTime
*) &_result_ref
;
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21174 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
= NULL
;
21176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21177 wxDateTime::Month arg2
;
21178 wxDateTime
*result
;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "month", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21189 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21190 if (SWIG_arg_fail(2)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21196 result
= (wxDateTime
*) &_result_ref
;
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21209 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
= NULL
;
21211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21213 wxDateTime
*result
;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "self",(char *) "day", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21222 if (SWIG_arg_fail(1)) SWIG_fail
;
21224 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21225 if (SWIG_arg_fail(2)) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21231 result
= (wxDateTime
*) &_result_ref
;
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21244 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= NULL
;
21246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21248 wxDateTime
*result
;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self",(char *) "hour", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21257 if (SWIG_arg_fail(1)) SWIG_fail
;
21259 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21260 if (SWIG_arg_fail(2)) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21266 result
= (wxDateTime
*) &_result_ref
;
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21279 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
= NULL
;
21281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21283 wxDateTime
*result
;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "minute", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21292 if (SWIG_arg_fail(1)) SWIG_fail
;
21294 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21295 if (SWIG_arg_fail(2)) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21301 result
= (wxDateTime
*) &_result_ref
;
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21314 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
= NULL
;
21316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21318 wxDateTime
*result
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char *kwnames
[] = {
21322 (char *) "self",(char *) "second", NULL
21325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21327 if (SWIG_arg_fail(1)) SWIG_fail
;
21329 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21330 if (SWIG_arg_fail(2)) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21336 result
= (wxDateTime
*) &_result_ref
;
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21349 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
= NULL
;
21351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21353 wxDateTime
*result
;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "millisecond", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21365 if (SWIG_arg_fail(2)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21371 result
= (wxDateTime
*) &_result_ref
;
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21384 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
= NULL
;
21386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21387 wxDateTime::WeekDay arg2
;
21388 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21389 wxDateTime
*result
;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 PyObject
* obj2
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21401 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21402 if (SWIG_arg_fail(2)) SWIG_fail
;
21406 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21407 if (SWIG_arg_fail(3)) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21414 result
= (wxDateTime
*) &_result_ref
;
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21427 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= NULL
;
21429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21430 wxDateTime::WeekDay arg2
;
21431 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21444 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21445 if (SWIG_arg_fail(2)) SWIG_fail
;
21449 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21450 if (SWIG_arg_fail(3)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 wxDateTime
* resultptr
;
21462 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21471 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
= NULL
;
21473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21474 wxDateTime::WeekDay arg2
;
21475 wxDateTime
*result
;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "self",(char *) "weekday", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21484 if (SWIG_arg_fail(1)) SWIG_fail
;
21486 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21487 if (SWIG_arg_fail(2)) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21493 result
= (wxDateTime
*) &_result_ref
;
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21506 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
= NULL
;
21508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21509 wxDateTime::WeekDay arg2
;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "weekday", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21519 if (SWIG_arg_fail(1)) SWIG_fail
;
21521 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21522 if (SWIG_arg_fail(2)) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (arg1
)->GetNextWeekDay(arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 wxDateTime
* resultptr
;
21533 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21542 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= NULL
;
21544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21545 wxDateTime::WeekDay arg2
;
21546 wxDateTime
*result
;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "weekday", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21555 if (SWIG_arg_fail(1)) SWIG_fail
;
21557 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21558 if (SWIG_arg_fail(2)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21564 result
= (wxDateTime
*) &_result_ref
;
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21577 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= NULL
;
21579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21580 wxDateTime::WeekDay arg2
;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "weekday", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21590 if (SWIG_arg_fail(1)) SWIG_fail
;
21592 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21593 if (SWIG_arg_fail(2)) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (arg1
)->GetPrevWeekDay(arg2
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 wxDateTime
* resultptr
;
21604 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21613 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
= NULL
;
21615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21616 wxDateTime::WeekDay arg2
;
21617 int arg3
= (int) 1 ;
21618 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21619 int arg5
= (int) wxDateTime::Inv_Year
;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 PyObject
* obj3
= 0 ;
21625 PyObject
* obj4
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21635 if (SWIG_arg_fail(2)) SWIG_fail
;
21639 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21640 if (SWIG_arg_fail(3)) SWIG_fail
;
21645 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21646 if (SWIG_arg_fail(4)) SWIG_fail
;
21651 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21652 if (SWIG_arg_fail(5)) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21671 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= NULL
;
21673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21674 wxDateTime::WeekDay arg2
;
21675 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21676 int arg4
= (int) wxDateTime::Inv_Year
;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 PyObject
* obj2
= 0 ;
21681 PyObject
* obj3
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21688 if (SWIG_arg_fail(1)) SWIG_fail
;
21690 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21691 if (SWIG_arg_fail(2)) SWIG_fail
;
21695 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21696 if (SWIG_arg_fail(3)) SWIG_fail
;
21701 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21702 if (SWIG_arg_fail(4)) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21721 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
= NULL
;
21723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21724 wxDateTime::WeekDay arg2
;
21725 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21726 int arg4
= (int) wxDateTime::Inv_Year
;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 PyObject
* obj2
= 0 ;
21731 PyObject
* obj3
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21738 if (SWIG_arg_fail(1)) SWIG_fail
;
21740 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21741 if (SWIG_arg_fail(2)) SWIG_fail
;
21745 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21746 if (SWIG_arg_fail(3)) SWIG_fail
;
21751 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21752 if (SWIG_arg_fail(4)) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 wxDateTime
* resultptr
;
21764 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21773 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
= NULL
;
21775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21777 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21778 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 PyObject
* obj3
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21790 if (SWIG_arg_fail(1)) SWIG_fail
;
21792 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21793 if (SWIG_arg_fail(2)) SWIG_fail
;
21797 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21798 if (SWIG_arg_fail(3)) SWIG_fail
;
21803 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21804 if (SWIG_arg_fail(4)) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= NULL
;
21825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21827 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21828 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 PyObject
* obj2
= 0 ;
21833 PyObject
* obj3
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21843 if (SWIG_arg_fail(2)) SWIG_fail
;
21847 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21848 if (SWIG_arg_fail(3)) SWIG_fail
;
21853 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21854 if (SWIG_arg_fail(4)) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 wxDateTime
* resultptr
;
21866 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21875 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
= NULL
;
21879 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21890 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21891 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21895 if (SWIG_arg_fail(2)) SWIG_fail
;
21899 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21900 if (SWIG_arg_fail(3)) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 wxDateTime
* resultptr
;
21912 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21921 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= NULL
;
21923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21924 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21925 int arg3
= (int) wxDateTime::Inv_Year
;
21926 wxDateTime
*result
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 PyObject
* obj2
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "month",(char *) "year", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21940 if (SWIG_arg_fail(2)) SWIG_fail
;
21945 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21946 if (SWIG_arg_fail(3)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21953 result
= (wxDateTime
*) &_result_ref
;
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21966 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= NULL
;
21968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21969 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21970 int arg3
= (int) wxDateTime::Inv_Year
;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "self",(char *) "month",(char *) "year", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21981 if (SWIG_arg_fail(1)) SWIG_fail
;
21984 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21985 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21991 if (SWIG_arg_fail(3)) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 wxDateTime
* resultptr
;
22003 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22012 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
= NULL
;
22014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22016 wxDateTime
*result
;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "yday", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22028 if (SWIG_arg_fail(2)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
22034 result
= (wxDateTime
*) &_result_ref
;
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22047 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= NULL
;
22049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "yday", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22060 if (SWIG_arg_fail(1)) SWIG_fail
;
22062 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22063 if (SWIG_arg_fail(2)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (arg1
)->GetYearDay(arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 wxDateTime
* resultptr
;
22074 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22083 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= NULL
;
22085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22094 if (SWIG_arg_fail(1)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (double)(arg1
)->GetJulianDayNumber();
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_From_double(static_cast<double >(result
));
22111 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= NULL
;
22113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (double)(arg1
)->GetJDN();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_From_double(static_cast<double >(result
));
22139 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= NULL
;
22141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22150 if (SWIG_arg_fail(1)) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_From_double(static_cast<double >(result
));
22167 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= NULL
;
22169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (double)(arg1
)->GetMJD();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_From_double(static_cast<double >(result
));
22195 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= NULL
;
22197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22206 if (SWIG_arg_fail(1)) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (double)(arg1
)->GetRataDie();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_From_double(static_cast<double >(result
));
22223 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
= NULL
;
22225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22226 wxDateTime::TimeZone
*arg2
= 0 ;
22227 bool arg3
= (bool) false ;
22229 bool temp2
= false ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 PyObject
* obj2
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22246 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22247 if (SWIG_arg_fail(3)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 wxDateTime
* resultptr
;
22259 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22263 if (temp2
) delete arg2
;
22268 if (temp2
) delete arg2
;
22274 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
= NULL
;
22276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22277 wxDateTime::TimeZone
*arg2
= 0 ;
22278 bool arg3
= (bool) false ;
22279 wxDateTime
*result
;
22280 bool temp2
= false ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(1)) SWIG_fail
;
22292 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22297 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22298 if (SWIG_arg_fail(3)) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22305 result
= (wxDateTime
*) &_result_ref
;
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22313 if (temp2
) delete arg2
;
22318 if (temp2
) delete arg2
;
22324 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
= NULL
;
22326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22327 wxDateTime::TimeZone
*arg2
= 0 ;
22328 bool arg3
= (bool) false ;
22330 bool temp2
= false ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 PyObject
* obj2
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22340 if (SWIG_arg_fail(1)) SWIG_fail
;
22342 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22347 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22348 if (SWIG_arg_fail(3)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 wxDateTime
* resultptr
;
22360 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22364 if (temp2
) delete arg2
;
22369 if (temp2
) delete arg2
;
22375 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
= NULL
;
22377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22378 wxDateTime::TimeZone
*arg2
= 0 ;
22379 bool arg3
= (bool) false ;
22380 wxDateTime
*result
;
22381 bool temp2
= false ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 PyObject
* obj2
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22398 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22399 if (SWIG_arg_fail(3)) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22406 result
= (wxDateTime
*) &_result_ref
;
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22414 if (temp2
) delete arg2
;
22419 if (temp2
) delete arg2
;
22425 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= NULL
;
22427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22428 bool arg2
= (bool) false ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "noDST", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22442 if (SWIG_arg_fail(2)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 wxDateTime
* resultptr
;
22454 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22463 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= NULL
;
22465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22466 bool arg2
= (bool) false ;
22467 wxDateTime
*result
;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "noDST", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22479 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22480 if (SWIG_arg_fail(2)) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22487 result
= (wxDateTime
*) &_result_ref
;
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22500 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
= NULL
;
22502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22503 bool arg2
= (bool) false ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "noDST", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22517 if (SWIG_arg_fail(2)) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22528 wxDateTime
* resultptr
;
22529 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22538 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
= NULL
;
22540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22541 bool arg2
= (bool) false ;
22542 wxDateTime
*result
;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "noDST", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22551 if (SWIG_arg_fail(1)) SWIG_fail
;
22554 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22555 if (SWIG_arg_fail(2)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22562 result
= (wxDateTime
*) &_result_ref
;
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22575 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= NULL
;
22577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22578 bool arg2
= (bool) false ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self",(char *) "noDST", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22588 if (SWIG_arg_fail(1)) SWIG_fail
;
22591 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22592 if (SWIG_arg_fail(2)) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 wxDateTime
* resultptr
;
22604 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22613 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
= NULL
;
22615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22616 bool arg2
= (bool) false ;
22617 wxDateTime
*result
;
22618 PyObject
* obj0
= 0 ;
22619 PyObject
* obj1
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self",(char *) "noDST", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22626 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22637 result
= (wxDateTime
*) &_result_ref
;
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22650 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= NULL
;
22652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22653 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "country", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22667 if (SWIG_arg_fail(2)) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= (int)(arg1
)->IsDST(arg2
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= SWIG_From_int(static_cast<int >(result
));
22686 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
= NULL
;
22688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22697 if (SWIG_arg_fail(1)) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22714 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= NULL
;
22716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22742 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
= NULL
;
22744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22745 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22746 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22748 bool temp2
= false ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self",(char *) "tz", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22757 if (SWIG_arg_fail(1)) SWIG_fail
;
22760 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_From_int(static_cast<int >(result
));
22775 if (temp2
) delete arg2
;
22780 if (temp2
) delete arg2
;
22786 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= NULL
;
22788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22789 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22790 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22791 wxDateTime::Month result
;
22792 bool temp2
= false ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "tz", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22801 if (SWIG_arg_fail(1)) SWIG_fail
;
22804 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_From_int((result
));
22817 if (temp2
) delete arg2
;
22822 if (temp2
) delete arg2
;
22828 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= NULL
;
22830 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22831 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22832 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22834 bool temp2
= false ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "tz", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_From_int(static_cast<int >(result
));
22861 if (temp2
) delete arg2
;
22866 if (temp2
) delete arg2
;
22872 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
= NULL
;
22874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22875 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22876 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22877 wxDateTime::WeekDay result
;
22878 bool temp2
= false ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "tz", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22887 if (SWIG_arg_fail(1)) SWIG_fail
;
22890 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_From_int((result
));
22903 if (temp2
) delete arg2
;
22908 if (temp2
) delete arg2
;
22914 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= NULL
;
22916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22917 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22918 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22920 bool temp2
= false ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "tz", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22929 if (SWIG_arg_fail(1)) SWIG_fail
;
22932 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_From_int(static_cast<int >(result
));
22947 if (temp2
) delete arg2
;
22952 if (temp2
) delete arg2
;
22958 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
= NULL
;
22960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22961 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22962 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22964 bool temp2
= false ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "tz", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail
;
22976 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_From_int(static_cast<int >(result
));
22991 if (temp2
) delete arg2
;
22996 if (temp2
) delete arg2
;
23002 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
= NULL
;
23004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23005 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23006 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23008 bool temp2
= false ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "tz", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(1)) SWIG_fail
;
23020 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= SWIG_From_int(static_cast<int >(result
));
23035 if (temp2
) delete arg2
;
23040 if (temp2
) delete arg2
;
23046 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
= NULL
;
23048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23049 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23050 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23052 bool temp2
= false ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self",(char *) "tz", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23061 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_From_int(static_cast<int >(result
));
23079 if (temp2
) delete arg2
;
23084 if (temp2
) delete arg2
;
23090 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
= NULL
;
23092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23093 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23094 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23096 bool temp2
= false ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self",(char *) "tz", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23108 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_From_int(static_cast<int >(result
));
23123 if (temp2
) delete arg2
;
23128 if (temp2
) delete arg2
;
23134 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
= NULL
;
23136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23137 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23138 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23139 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23141 bool temp3
= false ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 PyObject
* obj2
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "flags",(char *) "tz", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23154 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23155 if (SWIG_arg_fail(2)) SWIG_fail
;
23160 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_From_int(static_cast<int >(result
));
23175 if (temp3
) delete arg3
;
23180 if (temp3
) delete arg3
;
23186 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= NULL
;
23188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23189 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23190 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23191 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23193 bool temp3
= false ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "flags",(char *) "tz", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23206 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23207 if (SWIG_arg_fail(2)) SWIG_fail
;
23212 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_From_int(static_cast<int >(result
));
23227 if (temp3
) delete arg3
;
23232 if (temp3
) delete arg3
;
23238 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
= NULL
;
23240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23241 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23243 PyObject
* obj0
= 0 ;
23244 PyObject
* obj1
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self",(char *) "country", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail
;
23254 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23255 if (SWIG_arg_fail(2)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
= NULL
;
23276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23277 wxDateTime
*arg2
= 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "datetime", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(2)) SWIG_fail
;
23291 if (arg2
== NULL
) {
23292 SWIG_null_ref("wxDateTime");
23294 if (SWIG_arg_fail(2)) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23312 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= NULL
;
23314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23315 wxDateTime
*arg2
= 0 ;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self",(char *) "datetime", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(2)) SWIG_fail
;
23329 if (arg2
== NULL
) {
23330 SWIG_null_ref("wxDateTime");
23332 if (SWIG_arg_fail(2)) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23350 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
= NULL
;
23352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23353 wxDateTime
*arg2
= 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "datetime", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail
;
23365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(2)) SWIG_fail
;
23367 if (arg2
== NULL
) {
23368 SWIG_null_ref("wxDateTime");
23370 if (SWIG_arg_fail(2)) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23388 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
= NULL
;
23390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23391 wxDateTime
*arg2
= 0 ;
23392 wxDateTime
*arg3
= 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 PyObject
* obj2
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "t1",(char *) "t2", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail
;
23405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(2)) SWIG_fail
;
23407 if (arg2
== NULL
) {
23408 SWIG_null_ref("wxDateTime");
23410 if (SWIG_arg_fail(2)) SWIG_fail
;
23413 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(3)) SWIG_fail
;
23415 if (arg3
== NULL
) {
23416 SWIG_null_ref("wxDateTime");
23418 if (SWIG_arg_fail(3)) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23436 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
= NULL
;
23438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23439 wxDateTime
*arg2
= 0 ;
23440 wxDateTime
*arg3
= 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 PyObject
* obj2
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "t1",(char *) "t2", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail
;
23453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23454 if (SWIG_arg_fail(2)) SWIG_fail
;
23455 if (arg2
== NULL
) {
23456 SWIG_null_ref("wxDateTime");
23458 if (SWIG_arg_fail(2)) SWIG_fail
;
23461 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(3)) SWIG_fail
;
23463 if (arg3
== NULL
) {
23464 SWIG_null_ref("wxDateTime");
23466 if (SWIG_arg_fail(3)) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23484 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
= NULL
;
23486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23487 wxDateTime
*arg2
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "dt", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(2)) SWIG_fail
;
23501 if (arg2
== NULL
) {
23502 SWIG_null_ref("wxDateTime");
23504 if (SWIG_arg_fail(2)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23522 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= NULL
;
23524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23525 wxDateTime
*arg2
= 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "dt", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23535 if (SWIG_arg_fail(1)) SWIG_fail
;
23537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23538 if (SWIG_arg_fail(2)) SWIG_fail
;
23539 if (arg2
== NULL
) {
23540 SWIG_null_ref("wxDateTime");
23542 if (SWIG_arg_fail(2)) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23560 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
= NULL
;
23562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23563 wxDateTime
*arg2
= 0 ;
23564 wxTimeSpan
*arg3
= 0 ;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 PyObject
* obj2
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "dt",(char *) "ts", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23578 if (SWIG_arg_fail(2)) SWIG_fail
;
23579 if (arg2
== NULL
) {
23580 SWIG_null_ref("wxDateTime");
23582 if (SWIG_arg_fail(2)) SWIG_fail
;
23585 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(3)) SWIG_fail
;
23587 if (arg3
== NULL
) {
23588 SWIG_null_ref("wxTimeSpan");
23590 if (SWIG_arg_fail(3)) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23608 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
= NULL
;
23610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23611 wxTimeSpan
*arg2
= 0 ;
23612 wxDateTime
*result
;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "diff", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail
;
23623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23624 if (SWIG_arg_fail(2)) SWIG_fail
;
23625 if (arg2
== NULL
) {
23626 SWIG_null_ref("wxTimeSpan");
23628 if (SWIG_arg_fail(2)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23634 result
= (wxDateTime
*) &_result_ref
;
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23647 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= NULL
;
23649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23650 wxDateSpan
*arg2
= 0 ;
23651 wxDateTime
*result
;
23652 PyObject
* obj0
= 0 ;
23653 PyObject
* obj1
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self",(char *) "diff", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail
;
23662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23663 if (SWIG_arg_fail(2)) SWIG_fail
;
23664 if (arg2
== NULL
) {
23665 SWIG_null_ref("wxDateSpan");
23667 if (SWIG_arg_fail(2)) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23673 result
= (wxDateTime
*) &_result_ref
;
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23686 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= NULL
;
23688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23689 wxTimeSpan
*arg2
= 0 ;
23690 wxDateTime
*result
;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self",(char *) "diff", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail
;
23701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23702 if (SWIG_arg_fail(2)) SWIG_fail
;
23703 if (arg2
== NULL
) {
23704 SWIG_null_ref("wxTimeSpan");
23706 if (SWIG_arg_fail(2)) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23712 result
= (wxDateTime
*) &_result_ref
;
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23725 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
= NULL
;
23727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23728 wxDateSpan
*arg2
= 0 ;
23729 wxDateTime
*result
;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "diff", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23741 if (SWIG_arg_fail(2)) SWIG_fail
;
23742 if (arg2
== NULL
) {
23743 SWIG_null_ref("wxDateSpan");
23745 if (SWIG_arg_fail(2)) SWIG_fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23751 result
= (wxDateTime
*) &_result_ref
;
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23764 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
= NULL
;
23766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23767 wxDateTime
*arg2
= 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self",(char *) "dt", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23777 if (SWIG_arg_fail(1)) SWIG_fail
;
23779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23780 if (SWIG_arg_fail(2)) SWIG_fail
;
23781 if (arg2
== NULL
) {
23782 SWIG_null_ref("wxDateTime");
23784 if (SWIG_arg_fail(2)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 wxTimeSpan
* resultptr
;
23795 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23804 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23805 PyObject
*resultobj
= NULL
;
23806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23807 wxTimeSpan
*arg2
= 0 ;
23808 wxDateTime
*result
;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23812 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23814 if (SWIG_arg_fail(1)) SWIG_fail
;
23816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23817 if (SWIG_arg_fail(2)) SWIG_fail
;
23818 if (arg2
== NULL
) {
23819 SWIG_null_ref("wxTimeSpan");
23821 if (SWIG_arg_fail(2)) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23827 result
= (wxDateTime
*) &_result_ref
;
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23840 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23841 PyObject
*resultobj
= NULL
;
23842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23843 wxDateSpan
*arg2
= 0 ;
23844 wxDateTime
*result
;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23848 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23850 if (SWIG_arg_fail(1)) SWIG_fail
;
23852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(2)) SWIG_fail
;
23854 if (arg2
== NULL
) {
23855 SWIG_null_ref("wxDateSpan");
23857 if (SWIG_arg_fail(2)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23863 result
= (wxDateTime
*) &_result_ref
;
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23876 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23881 argc
= PyObject_Length(args
);
23882 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23907 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23925 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23933 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23938 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23943 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23944 PyObject
*resultobj
= NULL
;
23945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23946 wxTimeSpan
*arg2
= 0 ;
23947 wxDateTime
*result
;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23951 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23953 if (SWIG_arg_fail(1)) SWIG_fail
;
23955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(2)) SWIG_fail
;
23957 if (arg2
== NULL
) {
23958 SWIG_null_ref("wxTimeSpan");
23960 if (SWIG_arg_fail(2)) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23966 result
= (wxDateTime
*) &_result_ref
;
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23979 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23980 PyObject
*resultobj
= NULL
;
23981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23982 wxDateSpan
*arg2
= 0 ;
23983 wxDateTime
*result
;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23987 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23989 if (SWIG_arg_fail(1)) SWIG_fail
;
23991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23992 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 if (arg2
== NULL
) {
23994 SWIG_null_ref("wxDateSpan");
23996 if (SWIG_arg_fail(2)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24002 result
= (wxDateTime
*) &_result_ref
;
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
24015 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
24020 argc
= PyObject_Length(args
);
24021 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24022 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24028 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24038 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24046 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24064 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24072 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24077 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24082 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24083 PyObject
*resultobj
= NULL
;
24084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24085 wxTimeSpan
*arg2
= 0 ;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24090 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24092 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24095 if (SWIG_arg_fail(2)) SWIG_fail
;
24096 if (arg2
== NULL
) {
24097 SWIG_null_ref("wxTimeSpan");
24099 if (SWIG_arg_fail(2)) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 wxDateTime
* resultptr
;
24110 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24119 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24120 PyObject
*resultobj
= NULL
;
24121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24122 wxDateSpan
*arg2
= 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24127 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail
;
24131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24132 if (SWIG_arg_fail(2)) SWIG_fail
;
24133 if (arg2
== NULL
) {
24134 SWIG_null_ref("wxDateSpan");
24136 if (SWIG_arg_fail(2)) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 wxDateTime
* resultptr
;
24147 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24156 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24161 argc
= PyObject_Length(args
);
24162 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24163 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24169 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24179 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24187 return _wrap_DateTime___add____SWIG_0(self
,args
);
24195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24213 return _wrap_DateTime___add____SWIG_1(self
,args
);
24218 Py_INCREF(Py_NotImplemented
);
24219 return Py_NotImplemented
;
24223 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24224 PyObject
*resultobj
= NULL
;
24225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24226 wxDateTime
*arg2
= 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24231 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24233 if (SWIG_arg_fail(1)) SWIG_fail
;
24235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24236 if (SWIG_arg_fail(2)) SWIG_fail
;
24237 if (arg2
== NULL
) {
24238 SWIG_null_ref("wxDateTime");
24240 if (SWIG_arg_fail(2)) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 wxTimeSpan
* resultptr
;
24251 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24260 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24261 PyObject
*resultobj
= NULL
;
24262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24263 wxTimeSpan
*arg2
= 0 ;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24268 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail
;
24272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24273 if (SWIG_arg_fail(2)) SWIG_fail
;
24274 if (arg2
== NULL
) {
24275 SWIG_null_ref("wxTimeSpan");
24277 if (SWIG_arg_fail(2)) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24287 wxDateTime
* resultptr
;
24288 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24297 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24298 PyObject
*resultobj
= NULL
;
24299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24300 wxDateSpan
*arg2
= 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24305 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(2)) SWIG_fail
;
24311 if (arg2
== NULL
) {
24312 SWIG_null_ref("wxDateSpan");
24314 if (SWIG_arg_fail(2)) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 wxDateTime
* resultptr
;
24325 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24334 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24339 argc
= PyObject_Length(args
);
24340 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24341 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24365 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24373 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24383 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24391 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24399 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24409 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24417 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24422 Py_INCREF(Py_NotImplemented
);
24423 return Py_NotImplemented
;
24427 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= NULL
;
24429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24430 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "other", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24459 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
= NULL
;
24461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24462 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "other", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24491 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
= NULL
;
24493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24494 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "other", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(2)) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24523 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
= NULL
;
24525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24526 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "other", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(2)) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24555 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
= NULL
;
24557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24558 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "other", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24568 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(2)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
= NULL
;
24589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24590 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "other", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(2)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24619 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= NULL
;
24621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24622 wxString
*arg2
= 0 ;
24624 bool temp2
= false ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "date", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24633 if (SWIG_arg_fail(1)) SWIG_fail
;
24635 arg2
= wxString_in_helper(obj1
);
24636 if (arg2
== NULL
) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_From_int(static_cast<int >(result
));
24663 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= NULL
;
24665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24666 wxString
*arg2
= 0 ;
24667 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24669 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24670 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24672 bool temp2
= false ;
24673 bool temp3
= false ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 PyObject
* obj3
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= wxString_in_helper(obj1
);
24687 if (arg2
== NULL
) SWIG_fail
;
24692 arg3
= wxString_in_helper(obj2
);
24693 if (arg3
== NULL
) SWIG_fail
;
24699 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(4)) SWIG_fail
;
24701 if (arg4
== NULL
) {
24702 SWIG_null_ref("wxDateTime");
24704 if (SWIG_arg_fail(4)) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_From_int(static_cast<int >(result
));
24739 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= NULL
;
24741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24742 wxString
*arg2
= 0 ;
24744 bool temp2
= false ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "datetime", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24753 if (SWIG_arg_fail(1)) SWIG_fail
;
24755 arg2
= wxString_in_helper(obj1
);
24756 if (arg2
== NULL
) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_From_int(static_cast<int >(result
));
24783 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
= NULL
;
24785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24786 wxString
*arg2
= 0 ;
24788 bool temp2
= false ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self",(char *) "date", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24797 if (SWIG_arg_fail(1)) SWIG_fail
;
24799 arg2
= wxString_in_helper(obj1
);
24800 if (arg2
== NULL
) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_From_int(static_cast<int >(result
));
24827 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
= NULL
;
24829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24830 wxString
*arg2
= 0 ;
24832 bool temp2
= false ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "time", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 arg2
= wxString_in_helper(obj1
);
24844 if (arg2
== NULL
) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_From_int(static_cast<int >(result
));
24871 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
= NULL
;
24873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24874 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24875 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24876 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24877 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24879 bool temp2
= false ;
24880 bool temp3
= false ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 PyObject
* obj2
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "format",(char *) "tz", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 arg2
= wxString_in_helper(obj1
);
24894 if (arg2
== NULL
) SWIG_fail
;
24900 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24923 if (temp3
) delete arg3
;
24932 if (temp3
) delete arg3
;
24938 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
= NULL
;
24940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "self", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24949 if (SWIG_arg_fail(1)) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24970 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
= NULL
;
24972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24981 if (SWIG_arg_fail(1)) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25002 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= NULL
;
25004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
25012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25013 if (SWIG_arg_fail(1)) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25034 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= NULL
;
25036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
25044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
25045 if (SWIG_arg_fail(1)) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25066 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25069 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25071 return Py_BuildValue((char *)"");
25073 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= NULL
;
25077 PyObject
* obj0
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "sec", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25084 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25085 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= wxTimeSpan::Seconds(arg1
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 wxTimeSpan
* resultptr
;
25096 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25105 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= NULL
;
25108 char *kwnames
[] = {
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= wxTimeSpan::Second();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25121 wxTimeSpan
* resultptr
;
25122 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25131 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
= NULL
;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "min", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25142 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25143 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= wxTimeSpan::Minutes(arg1
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 wxTimeSpan
* resultptr
;
25154 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25163 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= NULL
;
25166 char *kwnames
[] = {
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= wxTimeSpan::Minute();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25179 wxTimeSpan
* resultptr
;
25180 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25189 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
= NULL
;
25193 PyObject
* obj0
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "hours", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25200 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 result
= wxTimeSpan::Hours(arg1
);
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25211 wxTimeSpan
* resultptr
;
25212 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25221 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
= NULL
;
25224 char *kwnames
[] = {
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= wxTimeSpan::Hour();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25237 wxTimeSpan
* resultptr
;
25238 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25247 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
= NULL
;
25251 PyObject
* obj0
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "days", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25258 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= wxTimeSpan::Days(arg1
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 wxTimeSpan
* resultptr
;
25270 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25279 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
= NULL
;
25282 char *kwnames
[] = {
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= wxTimeSpan::Day();
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25295 wxTimeSpan
* resultptr
;
25296 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25305 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= NULL
;
25309 PyObject
* obj0
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "days", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25316 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 result
= wxTimeSpan::Weeks(arg1
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25327 wxTimeSpan
* resultptr
;
25328 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25337 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= NULL
;
25340 char *kwnames
[] = {
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= wxTimeSpan::Week();
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25353 wxTimeSpan
* resultptr
;
25354 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25363 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
= NULL
;
25365 long arg1
= (long) 0 ;
25366 long arg2
= (long) 0 ;
25367 long arg3
= (long) 0 ;
25368 long arg4
= (long) 0 ;
25369 wxTimeSpan
*result
;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 PyObject
* obj2
= 0 ;
25373 PyObject
* obj3
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25381 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25382 if (SWIG_arg_fail(1)) SWIG_fail
;
25387 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25388 if (SWIG_arg_fail(2)) SWIG_fail
;
25393 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25394 if (SWIG_arg_fail(3)) SWIG_fail
;
25399 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25400 if (SWIG_arg_fail(4)) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25417 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= NULL
;
25419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 Py_INCREF(Py_None
); resultobj
= Py_None
;
25442 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= NULL
;
25444 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25445 wxTimeSpan
*arg2
= 0 ;
25446 wxTimeSpan
*result
;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "diff", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(2)) SWIG_fail
;
25459 if (arg2
== NULL
) {
25460 SWIG_null_ref("wxTimeSpan");
25462 if (SWIG_arg_fail(2)) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25468 result
= (wxTimeSpan
*) &_result_ref
;
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25481 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= NULL
;
25483 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25484 wxTimeSpan
*arg2
= 0 ;
25485 wxTimeSpan
*result
;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self",(char *) "diff", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25497 if (SWIG_arg_fail(2)) SWIG_fail
;
25498 if (arg2
== NULL
) {
25499 SWIG_null_ref("wxTimeSpan");
25501 if (SWIG_arg_fail(2)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25507 result
= (wxTimeSpan
*) &_result_ref
;
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25520 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= NULL
;
25522 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25524 wxTimeSpan
*result
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "n", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25536 if (SWIG_arg_fail(2)) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25542 result
= (wxTimeSpan
*) &_result_ref
;
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25555 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= NULL
;
25557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25558 wxTimeSpan
*result
;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25571 result
= (wxTimeSpan
*) &_result_ref
;
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25584 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
= NULL
;
25586 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 wxTimeSpan
* resultptr
;
25605 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25614 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= NULL
;
25616 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25617 wxTimeSpan
*arg2
= 0 ;
25618 wxTimeSpan
*result
;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 char *kwnames
[] = {
25622 (char *) "self",(char *) "diff", NULL
25625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25627 if (SWIG_arg_fail(1)) SWIG_fail
;
25629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25630 if (SWIG_arg_fail(2)) SWIG_fail
;
25631 if (arg2
== NULL
) {
25632 SWIG_null_ref("wxTimeSpan");
25634 if (SWIG_arg_fail(2)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25640 result
= (wxTimeSpan
*) &_result_ref
;
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25653 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
= NULL
;
25655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25656 wxTimeSpan
*arg2
= 0 ;
25657 wxTimeSpan
*result
;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "diff", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25669 if (SWIG_arg_fail(2)) SWIG_fail
;
25670 if (arg2
== NULL
) {
25671 SWIG_null_ref("wxTimeSpan");
25673 if (SWIG_arg_fail(2)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25679 result
= (wxTimeSpan
*) &_result_ref
;
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25692 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= NULL
;
25694 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25696 wxTimeSpan
*result
;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self",(char *) "n", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25705 if (SWIG_arg_fail(1)) SWIG_fail
;
25707 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25708 if (SWIG_arg_fail(2)) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25714 result
= (wxTimeSpan
*) &_result_ref
;
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25727 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= NULL
;
25729 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25730 wxTimeSpan
*result
;
25731 PyObject
* obj0
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25738 if (SWIG_arg_fail(1)) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25743 result
= (wxTimeSpan
*) &_result_ref
;
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25756 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
= NULL
;
25758 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25759 wxTimeSpan
*arg2
= 0 ;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self",(char *) "other", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(1)) SWIG_fail
;
25771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25772 if (SWIG_arg_fail(2)) SWIG_fail
;
25773 if (arg2
== NULL
) {
25774 SWIG_null_ref("wxTimeSpan");
25776 if (SWIG_arg_fail(2)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 wxTimeSpan
* resultptr
;
25787 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25796 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
= NULL
;
25798 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25799 wxTimeSpan
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "other", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25809 if (SWIG_arg_fail(1)) SWIG_fail
;
25811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(2)) SWIG_fail
;
25813 if (arg2
== NULL
) {
25814 SWIG_null_ref("wxTimeSpan");
25816 if (SWIG_arg_fail(2)) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 wxTimeSpan
* resultptr
;
25827 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25836 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
= NULL
;
25838 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "n", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= wxTimeSpan___mul__(arg1
,arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 wxTimeSpan
* resultptr
;
25863 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25872 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
= NULL
;
25874 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "n", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail
;
25887 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25888 if (SWIG_arg_fail(2)) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 wxTimeSpan
* resultptr
;
25899 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25908 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
= NULL
;
25910 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25911 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "other", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail
;
25922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25923 if (SWIG_arg_fail(2)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25940 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
= NULL
;
25942 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25943 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "other", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail
;
25954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(2)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25972 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= NULL
;
25974 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25975 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "other", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25985 if (SWIG_arg_fail(1)) SWIG_fail
;
25986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25987 if (SWIG_arg_fail(2)) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26004 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= NULL
;
26006 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26007 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "other", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
26016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26017 if (SWIG_arg_fail(1)) SWIG_fail
;
26018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26019 if (SWIG_arg_fail(2)) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26036 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
= NULL
;
26038 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26039 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "other", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail
;
26050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26051 if (SWIG_arg_fail(2)) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26068 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
= NULL
;
26070 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26071 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "other", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26100 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= NULL
;
26102 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26128 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= NULL
;
26130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26156 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
= NULL
;
26158 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26184 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= NULL
;
26186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26187 wxTimeSpan
*arg2
= 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "ts", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(2)) SWIG_fail
;
26201 if (arg2
== NULL
) {
26202 SWIG_null_ref("wxTimeSpan");
26204 if (SWIG_arg_fail(2)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26222 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= NULL
;
26224 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26225 wxTimeSpan
*arg2
= 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "ts", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26239 if (arg2
== NULL
) {
26240 SWIG_null_ref("wxTimeSpan");
26242 if (SWIG_arg_fail(2)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26260 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= NULL
;
26262 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26263 wxTimeSpan
*arg2
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "t", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26273 if (SWIG_arg_fail(1)) SWIG_fail
;
26275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26276 if (SWIG_arg_fail(2)) SWIG_fail
;
26277 if (arg2
== NULL
) {
26278 SWIG_null_ref("wxTimeSpan");
26280 if (SWIG_arg_fail(2)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26298 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= NULL
;
26300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_From_int(static_cast<int >(result
));
26326 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
= NULL
;
26328 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "self", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26337 if (SWIG_arg_fail(1)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= SWIG_From_int(static_cast<int >(result
));
26354 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
= NULL
;
26356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_From_int(static_cast<int >(result
));
26382 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
= NULL
;
26384 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_From_int(static_cast<int >(result
));
26410 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
= NULL
;
26412 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 char *kwnames
[] = {
26416 (char *) "self", NULL
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26421 if (SWIG_arg_fail(1)) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26431 hi
= PyLong_FromLong( (&result
)->GetHi() );
26432 lo
= PyLong_FromLong( (&result
)->GetLo() );
26433 shifter
= PyLong_FromLong(32);
26434 shifted
= PyNumber_Lshift(hi
, shifter
);
26435 resultobj
= PyNumber_Or(shifted
, lo
);
26438 Py_DECREF(shifter
);
26439 Py_DECREF(shifted
);
26447 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= NULL
;
26449 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26451 PyObject
* obj0
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26458 if (SWIG_arg_fail(1)) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26467 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26468 hi
= PyLong_FromLong( (&result
)->GetHi() );
26469 lo
= PyLong_FromLong( (&result
)->GetLo() );
26470 shifter
= PyLong_FromLong(32);
26471 shifted
= PyNumber_Lshift(hi
, shifter
);
26472 resultobj
= PyNumber_Or(shifted
, lo
);
26475 Py_DECREF(shifter
);
26476 Py_DECREF(shifted
);
26484 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= NULL
;
26486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26487 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26488 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26490 bool temp2
= false ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self",(char *) "format", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26499 if (SWIG_arg_fail(1)) SWIG_fail
;
26502 arg2
= wxString_in_helper(obj1
);
26503 if (arg2
== NULL
) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26535 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26538 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26540 return Py_BuildValue((char *)"");
26542 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
= NULL
;
26544 int arg1
= (int) 0 ;
26545 int arg2
= (int) 0 ;
26546 int arg3
= (int) 0 ;
26547 int arg4
= (int) 0 ;
26548 wxDateSpan
*result
;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 PyObject
* obj2
= 0 ;
26552 PyObject
* obj3
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26560 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26561 if (SWIG_arg_fail(1)) SWIG_fail
;
26566 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26567 if (SWIG_arg_fail(2)) SWIG_fail
;
26572 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26573 if (SWIG_arg_fail(3)) SWIG_fail
;
26578 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26579 if (SWIG_arg_fail(4)) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26596 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
= NULL
;
26598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 Py_INCREF(Py_None
); resultobj
= Py_None
;
26621 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= NULL
;
26625 PyObject
* obj0
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "days", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26632 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26633 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= wxDateSpan::Days(arg1
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 wxDateSpan
* resultptr
;
26644 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26653 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
= NULL
;
26656 char *kwnames
[] = {
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= wxDateSpan::Day();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 wxDateSpan
* resultptr
;
26670 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26679 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
= NULL
;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "weeks", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26690 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26691 if (SWIG_arg_fail(1)) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= wxDateSpan::Weeks(arg1
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26701 wxDateSpan
* resultptr
;
26702 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26711 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
= NULL
;
26714 char *kwnames
[] = {
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= wxDateSpan::Week();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 wxDateSpan
* resultptr
;
26728 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26737 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= NULL
;
26741 PyObject
* obj0
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "mon", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26748 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26749 if (SWIG_arg_fail(1)) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= wxDateSpan::Months(arg1
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 wxDateSpan
* resultptr
;
26760 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26769 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= NULL
;
26772 char *kwnames
[] = {
26776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= wxDateSpan::Month();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 wxDateSpan
* resultptr
;
26786 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26795 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
= NULL
;
26799 PyObject
* obj0
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "years", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26806 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26807 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= wxDateSpan::Years(arg1
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 wxDateSpan
* resultptr
;
26818 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26827 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
= NULL
;
26830 char *kwnames
[] = {
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= wxDateSpan::Year();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 wxDateSpan
* resultptr
;
26844 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26853 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= NULL
;
26855 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26857 wxDateSpan
*result
;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "n", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail
;
26868 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26869 if (SWIG_arg_fail(2)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26875 result
= (wxDateSpan
*) &_result_ref
;
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26888 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
= NULL
;
26890 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26892 wxDateSpan
*result
;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self",(char *) "n", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail
;
26903 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26904 if (SWIG_arg_fail(2)) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26910 result
= (wxDateSpan
*) &_result_ref
;
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26923 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
= NULL
;
26925 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26927 wxDateSpan
*result
;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self",(char *) "n", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26936 if (SWIG_arg_fail(1)) SWIG_fail
;
26938 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26939 if (SWIG_arg_fail(2)) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26945 result
= (wxDateSpan
*) &_result_ref
;
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26958 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
= NULL
;
26960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26962 wxDateSpan
*result
;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self",(char *) "n", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26971 if (SWIG_arg_fail(1)) SWIG_fail
;
26973 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26974 if (SWIG_arg_fail(2)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26980 result
= (wxDateSpan
*) &_result_ref
;
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26993 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= NULL
;
26995 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 char *kwnames
[] = {
26999 (char *) "self", NULL
27002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
27003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27004 if (SWIG_arg_fail(1)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_From_int(static_cast<int >(result
));
27021 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
= NULL
;
27023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_From_int(static_cast<int >(result
));
27049 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
= NULL
;
27051 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_From_int(static_cast<int >(result
));
27077 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
= NULL
;
27079 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27088 if (SWIG_arg_fail(1)) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_From_int(static_cast<int >(result
));
27105 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
= NULL
;
27107 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_From_int(static_cast<int >(result
));
27133 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
= NULL
;
27135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27136 wxDateSpan
*arg2
= 0 ;
27137 wxDateSpan
*result
;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self",(char *) "other", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27146 if (SWIG_arg_fail(1)) SWIG_fail
;
27148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(2)) SWIG_fail
;
27150 if (arg2
== NULL
) {
27151 SWIG_null_ref("wxDateSpan");
27153 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27159 result
= (wxDateSpan
*) &_result_ref
;
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27172 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
= NULL
;
27174 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27175 wxDateSpan
*arg2
= 0 ;
27176 wxDateSpan
*result
;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "other", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(2)) SWIG_fail
;
27189 if (arg2
== NULL
) {
27190 SWIG_null_ref("wxDateSpan");
27192 if (SWIG_arg_fail(2)) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27198 result
= (wxDateSpan
*) &_result_ref
;
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27211 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
= NULL
;
27213 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27214 wxDateSpan
*result
;
27215 PyObject
* obj0
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27227 result
= (wxDateSpan
*) &_result_ref
;
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27240 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
= NULL
;
27242 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27244 wxDateSpan
*result
;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "factor", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27255 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27256 if (SWIG_arg_fail(2)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27262 result
= (wxDateSpan
*) &_result_ref
;
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27275 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= NULL
;
27277 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27278 wxDateSpan
*arg2
= 0 ;
27279 wxDateSpan
*result
;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self",(char *) "other", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27288 if (SWIG_arg_fail(1)) SWIG_fail
;
27290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27291 if (SWIG_arg_fail(2)) SWIG_fail
;
27292 if (arg2
== NULL
) {
27293 SWIG_null_ref("wxDateSpan");
27295 if (SWIG_arg_fail(2)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27301 result
= (wxDateSpan
*) &_result_ref
;
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27314 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
= NULL
;
27316 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27317 wxDateSpan
*arg2
= 0 ;
27318 wxDateSpan
*result
;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self",(char *) "other", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27330 if (SWIG_arg_fail(2)) SWIG_fail
;
27331 if (arg2
== NULL
) {
27332 SWIG_null_ref("wxDateSpan");
27334 if (SWIG_arg_fail(2)) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27340 result
= (wxDateSpan
*) &_result_ref
;
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27353 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
= NULL
;
27355 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27356 wxDateSpan
*result
;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27369 result
= (wxDateSpan
*) &_result_ref
;
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27382 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
= NULL
;
27384 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27386 wxDateSpan
*result
;
27387 PyObject
* obj0
= 0 ;
27388 PyObject
* obj1
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "factor", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27395 if (SWIG_arg_fail(1)) SWIG_fail
;
27397 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27398 if (SWIG_arg_fail(2)) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27404 result
= (wxDateSpan
*) &_result_ref
;
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27417 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
= NULL
;
27419 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27420 wxDateSpan
*arg2
= 0 ;
27422 PyObject
* obj0
= 0 ;
27423 PyObject
* obj1
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "self",(char *) "other", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27430 if (SWIG_arg_fail(1)) SWIG_fail
;
27432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27433 if (SWIG_arg_fail(2)) SWIG_fail
;
27434 if (arg2
== NULL
) {
27435 SWIG_null_ref("wxDateSpan");
27437 if (SWIG_arg_fail(2)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 wxDateSpan
* resultptr
;
27448 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27457 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
= NULL
;
27459 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27460 wxDateSpan
*arg2
= 0 ;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "other", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(1)) SWIG_fail
;
27472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27473 if (SWIG_arg_fail(2)) SWIG_fail
;
27474 if (arg2
== NULL
) {
27475 SWIG_null_ref("wxDateSpan");
27477 if (SWIG_arg_fail(2)) SWIG_fail
;
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27487 wxDateSpan
* resultptr
;
27488 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27497 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= NULL
;
27499 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "n", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail
;
27512 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27513 if (SWIG_arg_fail(2)) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= wxDateSpan___mul__(arg1
,arg2
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 wxDateSpan
* resultptr
;
27524 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27533 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
= NULL
;
27535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "n", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27548 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27549 if (SWIG_arg_fail(2)) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 result
= wxDateSpan___rmul__(arg1
,arg2
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27559 wxDateSpan
* resultptr
;
27560 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27569 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
= NULL
;
27571 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27572 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "other", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27582 if (SWIG_arg_fail(1)) SWIG_fail
;
27583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(2)) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27601 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
= NULL
;
27603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27604 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "other", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail
;
27615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27616 if (SWIG_arg_fail(2)) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27633 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27636 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27638 return Py_BuildValue((char *)"");
27640 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
= NULL
;
27643 char *kwnames
[] = {
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 result
= (long)wxGetLocalTime();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_From_long(static_cast<long >(result
));
27664 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
= NULL
;
27667 char *kwnames
[] = {
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (long)wxGetUTCTime();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= SWIG_From_long(static_cast<long >(result
));
27688 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
= NULL
;
27691 char *kwnames
[] = {
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 result
= (long)wxGetCurrentTime();
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_From_long(static_cast<long >(result
));
27712 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
= NULL
;
27715 char *kwnames
[] = {
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= wxGetLocalTimeMillis();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27728 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27729 hi
= PyLong_FromLong( (&result
)->GetHi() );
27730 lo
= PyLong_FromLong( (&result
)->GetLo() );
27731 shifter
= PyLong_FromLong(32);
27732 shifted
= PyNumber_Lshift(hi
, shifter
);
27733 resultobj
= PyNumber_Or(shifted
, lo
);
27736 Py_DECREF(shifter
);
27737 Py_DECREF(shifted
);
27745 static int _wrap_DefaultDateTime_set(PyObject
*) {
27746 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27751 static PyObject
*_wrap_DefaultDateTime_get(void) {
27752 PyObject
*pyobj
= NULL
;
27754 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27759 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
= NULL
;
27761 wxDataFormatId arg1
;
27762 wxDataFormat
*result
;
27763 PyObject
* obj0
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "type", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27770 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27787 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
= NULL
;
27789 wxString
*arg1
= 0 ;
27790 wxDataFormat
*result
;
27791 bool temp1
= false ;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "format", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27799 arg1
= wxString_in_helper(obj0
);
27800 if (arg1
== NULL
) SWIG_fail
;
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27825 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
= NULL
;
27827 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 char *kwnames
[] = {
27830 (char *) "self", NULL
27833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27835 if (SWIG_arg_fail(1)) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 Py_INCREF(Py_None
); resultobj
= Py_None
;
27850 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27851 PyObject
*resultobj
= NULL
;
27852 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27853 wxDataFormatId arg2
;
27855 PyObject
* obj0
= 0 ;
27856 PyObject
* obj1
= 0 ;
27858 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27860 if (SWIG_arg_fail(1)) SWIG_fail
;
27862 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27863 if (SWIG_arg_fail(2)) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27881 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27882 PyObject
*resultobj
= NULL
;
27883 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27884 wxDataFormatId arg2
;
27886 PyObject
* obj0
= 0 ;
27887 PyObject
* obj1
= 0 ;
27889 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail
;
27893 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27894 if (SWIG_arg_fail(2)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27912 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27913 PyObject
*resultobj
= NULL
;
27914 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27915 wxDataFormat
*arg2
= 0 ;
27917 PyObject
* obj0
= 0 ;
27918 PyObject
* obj1
= 0 ;
27920 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27922 if (SWIG_arg_fail(1)) SWIG_fail
;
27924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27925 if (SWIG_arg_fail(2)) SWIG_fail
;
27926 if (arg2
== NULL
) {
27927 SWIG_null_ref("wxDataFormat");
27929 if (SWIG_arg_fail(2)) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27947 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27952 argc
= PyObject_Length(args
);
27953 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27954 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27960 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27970 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27978 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27986 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27994 _v
= SWIG_Check_int(argv
[1]);
27996 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
28001 Py_INCREF(Py_NotImplemented
);
28002 return Py_NotImplemented
;
28006 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
28007 PyObject
*resultobj
= NULL
;
28008 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28009 wxDataFormat
*arg2
= 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28014 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
28015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28016 if (SWIG_arg_fail(1)) SWIG_fail
;
28018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28019 if (SWIG_arg_fail(2)) SWIG_fail
;
28020 if (arg2
== NULL
) {
28021 SWIG_null_ref("wxDataFormat");
28023 if (SWIG_arg_fail(2)) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28041 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
28046 argc
= PyObject_Length(args
);
28047 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
28048 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28064 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28072 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28080 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28088 _v
= SWIG_Check_int(argv
[1]);
28090 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28095 Py_INCREF(Py_NotImplemented
);
28096 return Py_NotImplemented
;
28100 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
= NULL
;
28102 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28103 wxDataFormatId arg2
;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self",(char *) "format", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28112 if (SWIG_arg_fail(1)) SWIG_fail
;
28114 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28115 if (SWIG_arg_fail(2)) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->SetType(arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 Py_INCREF(Py_None
); resultobj
= Py_None
;
28131 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
= NULL
;
28133 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28134 wxDataFormatId result
;
28135 PyObject
* obj0
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28142 if (SWIG_arg_fail(1)) SWIG_fail
;
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= SWIG_From_int((result
));
28157 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
= NULL
;
28159 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28168 if (SWIG_arg_fail(1)) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= ((wxDataFormat
const *)arg1
)->GetId();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28189 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
= NULL
;
28191 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28192 wxString
*arg2
= 0 ;
28193 bool temp2
= false ;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self",(char *) "format", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28202 if (SWIG_arg_fail(1)) SWIG_fail
;
28204 arg2
= wxString_in_helper(obj1
);
28205 if (arg2
== NULL
) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 (arg1
)->SetId((wxString
const &)*arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28233 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28235 return Py_BuildValue((char *)"");
28237 static int _wrap_FormatInvalid_set(PyObject
*) {
28238 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28243 static PyObject
*_wrap_FormatInvalid_get(void) {
28244 PyObject
*pyobj
= NULL
;
28246 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28251 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
= NULL
;
28253 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28261 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 Py_INCREF(Py_None
); resultobj
= Py_None
;
28276 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
= NULL
;
28278 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28279 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28280 SwigValueWrapper
<wxDataFormat
> result
;
28281 PyObject
* obj0
= 0 ;
28282 PyObject
* obj1
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "self",(char *) "dir", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28289 if (SWIG_arg_fail(1)) SWIG_fail
;
28292 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28293 if (SWIG_arg_fail(2)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28304 wxDataFormat
* resultptr
;
28305 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28314 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
= NULL
;
28316 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28317 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "self",(char *) "dir", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28327 if (SWIG_arg_fail(1)) SWIG_fail
;
28330 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28331 if (SWIG_arg_fail(2)) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28350 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
= NULL
;
28352 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28353 wxDataFormat
*arg2
= 0 ;
28354 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 PyObject
* obj2
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "format",(char *) "dir", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28365 if (SWIG_arg_fail(1)) SWIG_fail
;
28367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28368 if (SWIG_arg_fail(2)) SWIG_fail
;
28369 if (arg2
== NULL
) {
28370 SWIG_null_ref("wxDataFormat");
28372 if (SWIG_arg_fail(2)) SWIG_fail
;
28376 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28377 if (SWIG_arg_fail(3)) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28396 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
= NULL
;
28398 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28399 wxDataFormat
*arg2
= 0 ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "format", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28412 if (SWIG_arg_fail(2)) SWIG_fail
;
28413 if (arg2
== NULL
) {
28414 SWIG_null_ref("wxDataFormat");
28416 if (SWIG_arg_fail(2)) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28434 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= NULL
;
28436 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28437 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28439 PyObject
* obj0
= 0 ;
28440 PyObject
* obj1
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self",(char *) "dir", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(1)) SWIG_fail
;
28450 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28451 if (SWIG_arg_fail(2)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
;
28468 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
= NULL
;
28470 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28471 wxDataFormat
*arg2
= 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self",(char *) "format", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(1)) SWIG_fail
;
28483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(2)) SWIG_fail
;
28485 if (arg2
== NULL
) {
28486 SWIG_null_ref("wxDataFormat");
28488 if (SWIG_arg_fail(2)) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= result
;
28504 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
= NULL
;
28506 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28507 wxDataFormat
*arg2
= 0 ;
28508 PyObject
*arg3
= (PyObject
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 PyObject
* obj1
= 0 ;
28512 PyObject
* obj2
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self",(char *) "format",(char *) "data", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(2)) SWIG_fail
;
28523 if (arg2
== NULL
) {
28524 SWIG_null_ref("wxDataFormat");
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28545 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28548 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28550 return Py_BuildValue((char *)"");
28552 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
= NULL
;
28554 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28555 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28556 wxDataObjectSimple
*result
;
28557 PyObject
* obj0
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "format", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28566 if (SWIG_arg_fail(1)) SWIG_fail
;
28567 if (arg1
== NULL
) {
28568 SWIG_null_ref("wxDataFormat");
28570 if (SWIG_arg_fail(1)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28587 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
= NULL
;
28589 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28590 wxDataFormat
*result
;
28591 PyObject
* obj0
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28598 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28603 result
= (wxDataFormat
*) &_result_ref
;
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28616 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
= NULL
;
28618 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28619 wxDataFormat
*arg2
= 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "format", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28628 if (SWIG_arg_fail(1)) SWIG_fail
;
28630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 if (arg2
== NULL
) {
28633 SWIG_null_ref("wxDataFormat");
28635 if (SWIG_arg_fail(2)) SWIG_fail
;
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 Py_INCREF(Py_None
); resultobj
= Py_None
;
28651 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
= NULL
;
28653 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 char *kwnames
[] = {
28657 (char *) "self", NULL
28660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28662 if (SWIG_arg_fail(1)) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28679 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= NULL
;
28681 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 char *kwnames
[] = {
28685 (char *) "self", NULL
28688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(1)) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= result
;
28705 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
= NULL
;
28707 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28708 PyObject
*arg2
= (PyObject
*) 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "data", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28718 if (SWIG_arg_fail(1)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28736 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28741 return Py_BuildValue((char *)"");
28743 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
= NULL
;
28745 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28746 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28747 wxPyDataObjectSimple
*result
;
28748 PyObject
* obj0
= 0 ;
28749 char *kwnames
[] = {
28750 (char *) "format", NULL
28753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28757 if (SWIG_arg_fail(1)) SWIG_fail
;
28758 if (arg1
== NULL
) {
28759 SWIG_null_ref("wxDataFormat");
28761 if (SWIG_arg_fail(1)) SWIG_fail
;
28765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28766 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28778 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
= NULL
;
28780 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28781 PyObject
*arg2
= (PyObject
*) 0 ;
28782 PyObject
*arg3
= (PyObject
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "self",(char *) "_class", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(1)) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 Py_INCREF(Py_None
); resultobj
= Py_None
;
28809 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28812 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28814 return Py_BuildValue((char *)"");
28816 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= NULL
;
28818 wxDataObjectComposite
*result
;
28819 char *kwnames
[] = {
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28838 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= NULL
;
28840 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28841 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28842 bool arg3
= (bool) false ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28854 if (SWIG_arg_fail(2)) SWIG_fail
;
28857 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28858 if (SWIG_arg_fail(3)) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->Add(arg2
,arg3
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28878 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28880 return Py_BuildValue((char *)"");
28882 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
= NULL
;
28884 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28885 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28886 wxTextDataObject
*result
;
28887 bool temp1
= false ;
28888 PyObject
* obj0
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "text", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28896 arg1
= wxString_in_helper(obj0
);
28897 if (arg1
== NULL
) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28923 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
= NULL
;
28925 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28927 PyObject
* obj0
= 0 ;
28928 char *kwnames
[] = {
28929 (char *) "self", NULL
28932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28934 if (SWIG_arg_fail(1)) SWIG_fail
;
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (size_t)(arg1
)->GetTextLength();
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28951 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
= NULL
;
28953 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (arg1
)->GetText();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28983 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
= NULL
;
28985 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28986 wxString
*arg2
= 0 ;
28987 bool temp2
= false ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "text", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail
;
28998 arg2
= wxString_in_helper(obj1
);
28999 if (arg2
== NULL
) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 (arg1
)->SetText((wxString
const &)*arg2
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 Py_INCREF(Py_None
); resultobj
= Py_None
;
29024 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29027 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
29029 return Py_BuildValue((char *)"");
29031 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
= NULL
;
29033 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29034 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29035 wxPyTextDataObject
*result
;
29036 bool temp1
= false ;
29037 PyObject
* obj0
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "text", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
29045 arg1
= wxString_in_helper(obj0
);
29046 if (arg1
== NULL
) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29072 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= NULL
;
29074 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29075 PyObject
*arg2
= (PyObject
*) 0 ;
29076 PyObject
*arg3
= (PyObject
*) 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "self",(char *) "_class", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 Py_INCREF(Py_None
); resultobj
= Py_None
;
29103 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29106 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29108 return Py_BuildValue((char *)"");
29110 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
= NULL
;
29112 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29113 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29114 wxBitmapDataObject
*result
;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "bitmap", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29124 if (SWIG_arg_fail(1)) SWIG_fail
;
29125 if (arg1
== NULL
) {
29126 SWIG_null_ref("wxBitmap");
29128 if (SWIG_arg_fail(1)) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29145 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
= NULL
;
29147 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29165 wxBitmap
* resultptr
;
29166 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29175 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= NULL
;
29177 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29178 wxBitmap
*arg2
= 0 ;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self",(char *) "bitmap", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29187 if (SWIG_arg_fail(1)) SWIG_fail
;
29189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29190 if (SWIG_arg_fail(2)) SWIG_fail
;
29191 if (arg2
== NULL
) {
29192 SWIG_null_ref("wxBitmap");
29194 if (SWIG_arg_fail(2)) SWIG_fail
;
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 Py_INCREF(Py_None
); resultobj
= Py_None
;
29210 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29213 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29215 return Py_BuildValue((char *)"");
29217 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= NULL
;
29219 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29220 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29221 wxPyBitmapDataObject
*result
;
29222 PyObject
* obj0
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "bitmap", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail
;
29232 if (arg1
== NULL
) {
29233 SWIG_null_ref("wxBitmap");
29235 if (SWIG_arg_fail(1)) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29252 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= NULL
;
29254 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29255 PyObject
*arg2
= (PyObject
*) 0 ;
29256 PyObject
*arg3
= (PyObject
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 PyObject
* obj2
= 0 ;
29260 char *kwnames
[] = {
29261 (char *) "self",(char *) "self",(char *) "_class", NULL
29264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29266 if (SWIG_arg_fail(1)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 Py_INCREF(Py_None
); resultobj
= Py_None
;
29283 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29286 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29288 return Py_BuildValue((char *)"");
29290 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= NULL
;
29292 wxFileDataObject
*result
;
29293 char *kwnames
[] = {
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (wxFileDataObject
*)new wxFileDataObject();
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29312 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= NULL
;
29314 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29315 wxArrayString
*result
;
29316 PyObject
* obj0
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29328 result
= (wxArrayString
*) &_result_ref
;
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= wxArrayString2PyList_helper(*result
);
29343 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
= NULL
;
29345 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29346 wxString
*arg2
= 0 ;
29347 bool temp2
= false ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self",(char *) "filename", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29356 if (SWIG_arg_fail(1)) SWIG_fail
;
29358 arg2
= wxString_in_helper(obj1
);
29359 if (arg2
== NULL
) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->AddFile((wxString
const &)*arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29384 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29387 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29389 return Py_BuildValue((char *)"");
29391 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29392 PyObject
*resultobj
= NULL
;
29393 wxDataFormat
*arg1
= 0 ;
29394 wxCustomDataObject
*result
;
29395 PyObject
* obj0
= 0 ;
29397 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29400 if (SWIG_arg_fail(1)) SWIG_fail
;
29401 if (arg1
== NULL
) {
29402 SWIG_null_ref("wxDataFormat");
29404 if (SWIG_arg_fail(1)) SWIG_fail
;
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29420 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29421 PyObject
*resultobj
= NULL
;
29422 wxString
*arg1
= 0 ;
29423 wxCustomDataObject
*result
;
29424 bool temp1
= false ;
29425 PyObject
* obj0
= 0 ;
29427 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29429 arg1
= wxString_in_helper(obj0
);
29430 if (arg1
== NULL
) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29455 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29456 PyObject
*resultobj
= NULL
;
29457 wxCustomDataObject
*result
;
29459 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29474 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29479 argc
= PyObject_Length(args
);
29480 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29484 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29489 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29492 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29507 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29511 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29516 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
= NULL
;
29518 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29519 PyObject
*arg2
= (PyObject
*) 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char *kwnames
[] = {
29524 (char *) "self",(char *) "data", NULL
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29529 if (SWIG_arg_fail(1)) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= NULL
;
29549 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (size_t)(arg1
)->GetSize();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29575 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
= NULL
;
29577 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29579 PyObject
* obj0
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= result
;
29601 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29604 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29606 return Py_BuildValue((char *)"");
29608 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
= NULL
;
29610 wxURLDataObject
*result
;
29611 char *kwnames
[] = {
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (wxURLDataObject
*)new wxURLDataObject();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29630 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= NULL
;
29632 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (arg1
)->GetURL();
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29662 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29663 PyObject
*resultobj
= NULL
;
29664 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29665 wxString
*arg2
= 0 ;
29666 bool temp2
= false ;
29667 PyObject
* obj0
= 0 ;
29668 PyObject
* obj1
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self",(char *) "url", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29675 if (SWIG_arg_fail(1)) SWIG_fail
;
29677 arg2
= wxString_in_helper(obj1
);
29678 if (arg2
== NULL
) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 (arg1
)->SetURL((wxString
const &)*arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 Py_INCREF(Py_None
); resultobj
= Py_None
;
29703 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29706 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29708 return Py_BuildValue((char *)"");
29710 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= NULL
;
29712 wxMetafileDataObject
*result
;
29713 char *kwnames
[] = {
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29732 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
= NULL
;
29734 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29735 wxMetafile
*arg2
= 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "metafile", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29744 if (SWIG_arg_fail(1)) SWIG_fail
;
29746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29747 if (SWIG_arg_fail(2)) SWIG_fail
;
29748 if (arg2
== NULL
) {
29749 SWIG_null_ref("wxMetafile");
29751 if (SWIG_arg_fail(2)) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 Py_INCREF(Py_None
); resultobj
= Py_None
;
29767 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
= NULL
;
29769 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29778 if (SWIG_arg_fail(1)) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 wxMetafile
* resultptr
;
29788 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29797 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29800 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29802 return Py_BuildValue((char *)"");
29804 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= NULL
;
29806 wxDragResult arg1
;
29808 PyObject
* obj0
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "res", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29815 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29816 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (bool)wxIsDragResultOk(arg1
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29834 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
= NULL
;
29836 wxWindow
*arg1
= (wxWindow
*) 0 ;
29837 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29838 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29839 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29840 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29841 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29842 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29843 wxPyDropSource
*result
;
29844 PyObject
* obj0
= 0 ;
29845 PyObject
* obj1
= 0 ;
29846 PyObject
* obj2
= 0 ;
29847 PyObject
* obj3
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29854 if (SWIG_arg_fail(1)) SWIG_fail
;
29857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29858 if (SWIG_arg_fail(2)) SWIG_fail
;
29859 if (arg2
== NULL
) {
29860 SWIG_null_ref("wxCursor");
29862 if (SWIG_arg_fail(2)) SWIG_fail
;
29867 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29868 if (SWIG_arg_fail(3)) SWIG_fail
;
29869 if (arg3
== NULL
) {
29870 SWIG_null_ref("wxCursor");
29872 if (SWIG_arg_fail(3)) SWIG_fail
;
29877 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(4)) SWIG_fail
;
29879 if (arg4
== NULL
) {
29880 SWIG_null_ref("wxCursor");
29882 if (SWIG_arg_fail(4)) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29899 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
= NULL
;
29901 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29902 PyObject
*arg2
= (PyObject
*) 0 ;
29903 PyObject
*arg3
= (PyObject
*) 0 ;
29905 PyObject
* obj0
= 0 ;
29906 PyObject
* obj1
= 0 ;
29907 PyObject
* obj2
= 0 ;
29908 PyObject
* obj3
= 0 ;
29909 char *kwnames
[] = {
29910 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29915 if (SWIG_arg_fail(1)) SWIG_fail
;
29919 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29920 if (SWIG_arg_fail(4)) SWIG_fail
;
29923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29924 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29929 Py_INCREF(Py_None
); resultobj
= Py_None
;
29936 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
= NULL
;
29938 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29939 PyObject
* obj0
= 0 ;
29940 char *kwnames
[] = {
29941 (char *) "self", NULL
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29946 if (SWIG_arg_fail(1)) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 Py_INCREF(Py_None
); resultobj
= Py_None
;
29961 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
= NULL
;
29963 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29964 wxDataObject
*arg2
= 0 ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self",(char *) "data", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29973 if (SWIG_arg_fail(1)) SWIG_fail
;
29975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29976 if (SWIG_arg_fail(2)) SWIG_fail
;
29977 if (arg2
== NULL
) {
29978 SWIG_null_ref("wxDataObject");
29980 if (SWIG_arg_fail(2)) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 (arg1
)->SetData(*arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 Py_INCREF(Py_None
); resultobj
= Py_None
;
29996 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
= NULL
;
29998 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29999 wxDataObject
*result
;
30000 PyObject
* obj0
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
30006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30007 if (SWIG_arg_fail(1)) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30022 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
= NULL
;
30024 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30025 wxDragResult arg2
;
30026 wxCursor
*arg3
= 0 ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 PyObject
* obj2
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self",(char *) "res",(char *) "cursor", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30039 if (SWIG_arg_fail(2)) SWIG_fail
;
30042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(3)) SWIG_fail
;
30044 if (arg3
== NULL
) {
30045 SWIG_null_ref("wxCursor");
30047 if (SWIG_arg_fail(3)) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 Py_INCREF(Py_None
); resultobj
= Py_None
;
30063 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
= NULL
;
30065 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30066 int arg2
= (int) wxDrag_CopyOnly
;
30067 wxDragResult result
;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "flags", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail
;
30079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30080 if (SWIG_arg_fail(2)) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_From_int((result
));
30097 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= NULL
;
30099 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30100 wxDragResult arg2
;
30102 PyObject
* obj0
= 0 ;
30103 PyObject
* obj1
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self",(char *) "effect", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30110 if (SWIG_arg_fail(1)) SWIG_fail
;
30112 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30113 if (SWIG_arg_fail(2)) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (bool)(arg1
)->base_GiveFeedback(arg2
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30131 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30134 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30136 return Py_BuildValue((char *)"");
30138 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
= NULL
;
30140 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30141 wxPyDropTarget
*result
;
30142 PyObject
* obj0
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "dataObject", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30166 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
= NULL
;
30168 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30169 PyObject
*arg2
= (PyObject
*) 0 ;
30170 PyObject
*arg3
= (PyObject
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 PyObject
* obj2
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "self",(char *) "_class", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 Py_INCREF(Py_None
); resultobj
= Py_None
;
30197 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= NULL
;
30199 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30200 PyObject
* obj0
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30222 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
= NULL
;
30224 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30225 wxDataObject
*result
;
30226 PyObject
* obj0
= 0 ;
30227 char *kwnames
[] = {
30228 (char *) "self", NULL
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30233 if (SWIG_arg_fail(1)) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30248 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= NULL
;
30250 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30251 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "self",(char *) "dataObject", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30260 if (SWIG_arg_fail(1)) SWIG_fail
;
30261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30262 if (SWIG_arg_fail(2)) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 (arg1
)->SetDataObject(arg2
);
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 Py_INCREF(Py_None
); resultobj
= Py_None
;
30277 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= NULL
;
30279 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30282 wxDragResult arg4
;
30283 wxDragResult result
;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 PyObject
* obj3
= 0 ;
30288 char *kwnames
[] = {
30289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30294 if (SWIG_arg_fail(1)) SWIG_fail
;
30296 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30300 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30301 if (SWIG_arg_fail(3)) SWIG_fail
;
30304 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30305 if (SWIG_arg_fail(4)) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_From_int((result
));
30321 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
= NULL
;
30323 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30326 wxDragResult arg4
;
30327 wxDragResult result
;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 PyObject
* obj2
= 0 ;
30331 PyObject
* obj3
= 0 ;
30332 char *kwnames
[] = {
30333 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30338 if (SWIG_arg_fail(1)) SWIG_fail
;
30340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30341 if (SWIG_arg_fail(2)) SWIG_fail
;
30344 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30345 if (SWIG_arg_fail(3)) SWIG_fail
;
30348 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30349 if (SWIG_arg_fail(4)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_From_int((result
));
30365 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= NULL
;
30367 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30368 PyObject
* obj0
= 0 ;
30369 char *kwnames
[] = {
30370 (char *) "self", NULL
30373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30375 if (SWIG_arg_fail(1)) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->base_OnLeave();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 Py_INCREF(Py_None
); resultobj
= Py_None
;
30390 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= NULL
;
30392 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 PyObject
* obj2
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self",(char *) "x",(char *) "y", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail
;
30407 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30408 if (SWIG_arg_fail(2)) SWIG_fail
;
30411 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30412 if (SWIG_arg_fail(3)) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30430 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= NULL
;
30432 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "self", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30441 if (SWIG_arg_fail(1)) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 result
= (bool)(arg1
)->GetData();
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30458 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
= NULL
;
30460 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30461 wxDragResult arg2
;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self",(char *) "action", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail
;
30472 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30473 if (SWIG_arg_fail(2)) SWIG_fail
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 (arg1
)->SetDefaultAction(arg2
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 Py_INCREF(Py_None
); resultobj
= Py_None
;
30489 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= NULL
;
30491 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30492 wxDragResult result
;
30493 PyObject
* obj0
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(1)) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_From_int((result
));
30515 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30518 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30520 return Py_BuildValue((char *)"");
30522 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
= NULL
;
30524 wxPyTextDropTarget
*result
;
30525 char *kwnames
[] = {
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30544 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
= NULL
;
30546 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30547 PyObject
*arg2
= (PyObject
*) 0 ;
30548 PyObject
*arg3
= (PyObject
*) 0 ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 PyObject
* obj2
= 0 ;
30552 char *kwnames
[] = {
30553 (char *) "self",(char *) "self",(char *) "_class", NULL
30556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30558 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 Py_INCREF(Py_None
); resultobj
= Py_None
;
30575 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
= NULL
;
30577 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30580 wxDragResult arg4
;
30581 wxDragResult result
;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 PyObject
* obj2
= 0 ;
30585 PyObject
* obj3
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30595 if (SWIG_arg_fail(2)) SWIG_fail
;
30598 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30599 if (SWIG_arg_fail(3)) SWIG_fail
;
30602 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30603 if (SWIG_arg_fail(4)) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= SWIG_From_int((result
));
30619 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
= NULL
;
30621 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30624 wxDragResult arg4
;
30625 wxDragResult result
;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 PyObject
* obj2
= 0 ;
30629 PyObject
* obj3
= 0 ;
30630 char *kwnames
[] = {
30631 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30636 if (SWIG_arg_fail(1)) SWIG_fail
;
30638 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30639 if (SWIG_arg_fail(2)) SWIG_fail
;
30642 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30643 if (SWIG_arg_fail(3)) SWIG_fail
;
30646 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30647 if (SWIG_arg_fail(4)) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_From_int((result
));
30663 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
= NULL
;
30665 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30673 if (SWIG_arg_fail(1)) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 (arg1
)->base_OnLeave();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 Py_INCREF(Py_None
); resultobj
= Py_None
;
30688 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
= NULL
;
30690 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "x",(char *) "y", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30706 if (SWIG_arg_fail(2)) SWIG_fail
;
30709 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30710 if (SWIG_arg_fail(3)) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30728 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
= NULL
;
30730 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30733 wxDragResult arg4
;
30734 wxDragResult result
;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 PyObject
* obj2
= 0 ;
30738 PyObject
* obj3
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30745 if (SWIG_arg_fail(1)) SWIG_fail
;
30747 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30748 if (SWIG_arg_fail(2)) SWIG_fail
;
30751 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30752 if (SWIG_arg_fail(3)) SWIG_fail
;
30755 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30756 if (SWIG_arg_fail(4)) SWIG_fail
;
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_From_int((result
));
30772 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30775 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30777 return Py_BuildValue((char *)"");
30779 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= NULL
;
30781 wxPyFileDropTarget
*result
;
30782 char *kwnames
[] = {
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30801 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
= NULL
;
30803 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30804 PyObject
*arg2
= (PyObject
*) 0 ;
30805 PyObject
*arg3
= (PyObject
*) 0 ;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 PyObject
* obj2
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self",(char *) "self",(char *) "_class", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 Py_INCREF(Py_None
); resultobj
= Py_None
;
30832 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= NULL
;
30834 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30837 wxDragResult arg4
;
30838 wxDragResult result
;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 PyObject
* obj2
= 0 ;
30842 PyObject
* obj3
= 0 ;
30843 char *kwnames
[] = {
30844 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30849 if (SWIG_arg_fail(1)) SWIG_fail
;
30851 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30852 if (SWIG_arg_fail(2)) SWIG_fail
;
30855 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30856 if (SWIG_arg_fail(3)) SWIG_fail
;
30859 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30860 if (SWIG_arg_fail(4)) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_From_int((result
));
30876 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= NULL
;
30878 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30881 wxDragResult arg4
;
30882 wxDragResult result
;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 PyObject
* obj2
= 0 ;
30886 PyObject
* obj3
= 0 ;
30887 char *kwnames
[] = {
30888 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30893 if (SWIG_arg_fail(1)) SWIG_fail
;
30895 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30896 if (SWIG_arg_fail(2)) SWIG_fail
;
30899 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30900 if (SWIG_arg_fail(3)) SWIG_fail
;
30903 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30904 if (SWIG_arg_fail(4)) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_From_int((result
));
30920 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
= NULL
;
30922 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 char *kwnames
[] = {
30925 (char *) "self", NULL
30928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30930 if (SWIG_arg_fail(1)) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->base_OnLeave();
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 Py_INCREF(Py_None
); resultobj
= Py_None
;
30945 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= NULL
;
30947 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 PyObject
* obj2
= 0 ;
30954 char *kwnames
[] = {
30955 (char *) "self",(char *) "x",(char *) "y", NULL
30958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30960 if (SWIG_arg_fail(1)) SWIG_fail
;
30962 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30963 if (SWIG_arg_fail(2)) SWIG_fail
;
30966 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30967 if (SWIG_arg_fail(3)) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30985 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
= NULL
;
30987 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30990 wxDragResult arg4
;
30991 wxDragResult result
;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 PyObject
* obj2
= 0 ;
30995 PyObject
* obj3
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
31002 if (SWIG_arg_fail(1)) SWIG_fail
;
31004 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31005 if (SWIG_arg_fail(2)) SWIG_fail
;
31008 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31009 if (SWIG_arg_fail(3)) SWIG_fail
;
31012 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
31013 if (SWIG_arg_fail(4)) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_From_int((result
));
31029 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
31031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31032 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
31034 return Py_BuildValue((char *)"");
31036 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= NULL
;
31038 wxClipboard
*result
;
31039 char *kwnames
[] = {
31043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (wxClipboard
*)new wxClipboard();
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31058 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
= NULL
;
31060 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31061 PyObject
* obj0
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31068 if (SWIG_arg_fail(1)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
= NULL
;
31085 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (bool)(arg1
)->Open();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31111 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= NULL
;
31113 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31114 PyObject
* obj0
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
31120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31121 if (SWIG_arg_fail(1)) SWIG_fail
;
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 Py_INCREF(Py_None
); resultobj
= Py_None
;
31136 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
= NULL
;
31138 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31140 PyObject
* obj0
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
31146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31147 if (SWIG_arg_fail(1)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31164 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= NULL
;
31166 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31167 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31169 PyObject
* obj0
= 0 ;
31170 PyObject
* obj1
= 0 ;
31171 char *kwnames
[] = {
31172 (char *) "self",(char *) "data", NULL
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31177 if (SWIG_arg_fail(1)) SWIG_fail
;
31178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31179 if (SWIG_arg_fail(2)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (bool)(arg1
)->AddData(arg2
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31196 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= NULL
;
31198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31199 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31201 PyObject
* obj0
= 0 ;
31202 PyObject
* obj1
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self",(char *) "data", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(1)) SWIG_fail
;
31210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31211 if (SWIG_arg_fail(2)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (bool)(arg1
)->SetData(arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31228 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
= NULL
;
31230 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31231 wxDataFormat
*arg2
= 0 ;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 char *kwnames
[] = {
31236 (char *) "self",(char *) "format", NULL
31239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31241 if (SWIG_arg_fail(1)) SWIG_fail
;
31243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31244 if (SWIG_arg_fail(2)) SWIG_fail
;
31245 if (arg2
== NULL
) {
31246 SWIG_null_ref("wxDataFormat");
31248 if (SWIG_arg_fail(2)) SWIG_fail
;
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31254 wxPyEndAllowThreads(__tstate
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31266 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
= NULL
;
31268 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31269 wxDataObject
*arg2
= 0 ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 char *kwnames
[] = {
31274 (char *) "self",(char *) "data", NULL
31277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31279 if (SWIG_arg_fail(1)) SWIG_fail
;
31281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(2)) SWIG_fail
;
31283 if (arg2
== NULL
) {
31284 SWIG_null_ref("wxDataObject");
31286 if (SWIG_arg_fail(2)) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)(arg1
)->GetData(*arg2
);
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31304 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
= NULL
;
31306 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 Py_INCREF(Py_None
); resultobj
= Py_None
;
31329 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
= NULL
;
31331 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 char *kwnames
[] = {
31335 (char *) "self", NULL
31338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31340 if (SWIG_arg_fail(1)) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (bool)(arg1
)->Flush();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
= NULL
;
31359 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31360 bool arg2
= (bool) true ;
31361 PyObject
* obj0
= 0 ;
31362 PyObject
* obj1
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self",(char *) "primary", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail
;
31372 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31373 if (SWIG_arg_fail(2)) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 (arg1
)->UsePrimarySelection(arg2
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 Py_INCREF(Py_None
); resultobj
= Py_None
;
31390 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
= NULL
;
31392 wxClipboard
*result
;
31393 char *kwnames
[] = {
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (wxClipboard
*)wxClipboard::Get();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31412 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31415 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31417 return Py_BuildValue((char *)"");
31419 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= NULL
;
31421 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31422 wxClipboardLocker
*result
;
31423 PyObject
* obj0
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "clipboard", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31431 if (SWIG_arg_fail(1)) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31447 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
= NULL
;
31449 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 Py_INCREF(Py_None
); resultobj
= Py_None
;
31472 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
= NULL
;
31474 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31476 PyObject
* obj0
= 0 ;
31477 char *kwnames
[] = {
31478 (char *) "self", NULL
31481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31483 if (SWIG_arg_fail(1)) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31500 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31503 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31505 return Py_BuildValue((char *)"");
31507 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
= NULL
;
31509 int arg1
= (int) 0 ;
31510 int arg2
= (int) 0 ;
31511 int arg3
= (int) 0 ;
31512 int arg4
= (int) 0 ;
31513 wxVideoMode
*result
;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 PyObject
* obj2
= 0 ;
31517 PyObject
* obj3
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31525 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31526 if (SWIG_arg_fail(1)) SWIG_fail
;
31531 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31532 if (SWIG_arg_fail(2)) SWIG_fail
;
31537 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31538 if (SWIG_arg_fail(3)) SWIG_fail
;
31543 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31544 if (SWIG_arg_fail(4)) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31561 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
= NULL
;
31563 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31564 PyObject
* obj0
= 0 ;
31565 char *kwnames
[] = {
31566 (char *) "self", NULL
31569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31571 if (SWIG_arg_fail(1)) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 Py_INCREF(Py_None
); resultobj
= Py_None
;
31586 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
= NULL
;
31588 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31589 wxVideoMode
*arg2
= 0 ;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 char *kwnames
[] = {
31594 (char *) "self",(char *) "other", NULL
31597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail
;
31601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31602 if (SWIG_arg_fail(2)) SWIG_fail
;
31603 if (arg2
== NULL
) {
31604 SWIG_null_ref("wxVideoMode");
31606 if (SWIG_arg_fail(2)) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31624 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
= NULL
;
31626 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31628 PyObject
* obj0
= 0 ;
31629 char *kwnames
[] = {
31630 (char *) "self", NULL
31633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31635 if (SWIG_arg_fail(1)) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= SWIG_From_int(static_cast<int >(result
));
31652 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= NULL
;
31654 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31656 PyObject
* obj0
= 0 ;
31657 char *kwnames
[] = {
31658 (char *) "self", NULL
31661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_From_int(static_cast<int >(result
));
31680 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
= NULL
;
31682 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= SWIG_From_int(static_cast<int >(result
));
31708 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= NULL
;
31710 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31712 PyObject
* obj0
= 0 ;
31713 char *kwnames
[] = {
31714 (char *) "self", NULL
31717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31719 if (SWIG_arg_fail(1)) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31736 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31737 PyObject
*resultobj
= NULL
;
31738 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31739 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31741 PyObject
* obj0
= 0 ;
31742 PyObject
* obj1
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self",(char *) "other", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31749 if (SWIG_arg_fail(1)) SWIG_fail
;
31750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31751 if (SWIG_arg_fail(2)) SWIG_fail
;
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31756 wxPyEndAllowThreads(__tstate
);
31757 if (PyErr_Occurred()) SWIG_fail
;
31760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31768 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31769 PyObject
*resultobj
= NULL
;
31770 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31771 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 PyObject
* obj1
= 0 ;
31775 char *kwnames
[] = {
31776 (char *) "self",(char *) "other", NULL
31779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31781 if (SWIG_arg_fail(1)) SWIG_fail
;
31782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(2)) SWIG_fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31800 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
= NULL
;
31802 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31804 PyObject
* obj0
= 0 ;
31805 PyObject
* obj1
= 0 ;
31806 char *kwnames
[] = {
31807 (char *) "self",(char *) "w", NULL
31810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31812 if (SWIG_arg_fail(1)) SWIG_fail
;
31814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31815 if (SWIG_arg_fail(2)) SWIG_fail
;
31817 if (arg1
) (arg1
)->w
= arg2
;
31819 Py_INCREF(Py_None
); resultobj
= Py_None
;
31826 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= NULL
;
31828 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "self", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail
;
31838 result
= (int) ((arg1
)->w
);
31841 resultobj
= SWIG_From_int(static_cast<int >(result
));
31849 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
= NULL
;
31851 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self",(char *) "h", NULL
31859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31861 if (SWIG_arg_fail(1)) SWIG_fail
;
31863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31864 if (SWIG_arg_fail(2)) SWIG_fail
;
31866 if (arg1
) (arg1
)->h
= arg2
;
31868 Py_INCREF(Py_None
); resultobj
= Py_None
;
31875 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
= NULL
;
31877 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31879 PyObject
* obj0
= 0 ;
31880 char *kwnames
[] = {
31881 (char *) "self", NULL
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31886 if (SWIG_arg_fail(1)) SWIG_fail
;
31887 result
= (int) ((arg1
)->h
);
31890 resultobj
= SWIG_From_int(static_cast<int >(result
));
31898 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
= NULL
;
31900 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31902 PyObject
* obj0
= 0 ;
31903 PyObject
* obj1
= 0 ;
31904 char *kwnames
[] = {
31905 (char *) "self",(char *) "bpp", NULL
31908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31910 if (SWIG_arg_fail(1)) SWIG_fail
;
31912 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31913 if (SWIG_arg_fail(2)) SWIG_fail
;
31915 if (arg1
) (arg1
)->bpp
= arg2
;
31917 Py_INCREF(Py_None
); resultobj
= Py_None
;
31924 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
= NULL
;
31926 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail
;
31936 result
= (int) ((arg1
)->bpp
);
31939 resultobj
= SWIG_From_int(static_cast<int >(result
));
31947 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
= NULL
;
31949 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31951 PyObject
* obj0
= 0 ;
31952 PyObject
* obj1
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self",(char *) "refresh", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31959 if (SWIG_arg_fail(1)) SWIG_fail
;
31961 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31962 if (SWIG_arg_fail(2)) SWIG_fail
;
31964 if (arg1
) (arg1
)->refresh
= arg2
;
31966 Py_INCREF(Py_None
); resultobj
= Py_None
;
31973 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
= NULL
;
31975 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31985 result
= (int) ((arg1
)->refresh
);
31988 resultobj
= SWIG_From_int(static_cast<int >(result
));
31996 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31999 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
32001 return Py_BuildValue((char *)"");
32003 static int _wrap_DefaultVideoMode_set(PyObject
*) {
32004 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
32009 static PyObject
*_wrap_DefaultVideoMode_get(void) {
32010 PyObject
*pyobj
= NULL
;
32012 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
32017 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32018 PyObject
*resultobj
= NULL
;
32019 size_t arg1
= (size_t) 0 ;
32021 PyObject
* obj0
= 0 ;
32022 char *kwnames
[] = {
32023 (char *) "index", NULL
32026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
32029 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
32030 if (SWIG_arg_fail(1)) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 result
= (wxDisplay
*)new wxDisplay(arg1
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
32047 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
= NULL
;
32049 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32050 PyObject
* obj0
= 0 ;
32051 char *kwnames
[] = {
32052 (char *) "self", NULL
32055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32057 if (SWIG_arg_fail(1)) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 Py_INCREF(Py_None
); resultobj
= Py_None
;
32072 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
= NULL
;
32075 char *kwnames
[] = {
32079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= (size_t)wxDisplay::GetCount();
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32096 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32097 PyObject
*resultobj
= NULL
;
32098 wxPoint
*arg1
= 0 ;
32101 PyObject
* obj0
= 0 ;
32102 char *kwnames
[] = {
32103 (char *) "pt", NULL
32106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32109 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= SWIG_From_int(static_cast<int >(result
));
32127 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= NULL
;
32129 wxWindow
*arg1
= (wxWindow
*) 0 ;
32131 PyObject
* obj0
= 0 ;
32132 char *kwnames
[] = {
32133 (char *) "window", NULL
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32138 if (SWIG_arg_fail(1)) SWIG_fail
;
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 result
= (int)wxDisplay_GetFromWindow(arg1
);
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_From_int(static_cast<int >(result
));
32155 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
= NULL
;
32157 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32183 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
= NULL
;
32185 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32187 PyObject
* obj0
= 0 ;
32188 char *kwnames
[] = {
32189 (char *) "self", NULL
32192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32194 if (SWIG_arg_fail(1)) SWIG_fail
;
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32203 wxRect
* resultptr
;
32204 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32213 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
= NULL
;
32215 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32224 if (SWIG_arg_fail(1)) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 result
= ((wxDisplay
const *)arg1
)->GetName();
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32245 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
= NULL
;
32247 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32249 PyObject
* obj0
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "self", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32256 if (SWIG_arg_fail(1)) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32273 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
= NULL
;
32275 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32276 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32277 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32279 PyObject
* obj0
= 0 ;
32280 PyObject
* obj1
= 0 ;
32281 char *kwnames
[] = {
32282 (char *) "self",(char *) "mode", NULL
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32287 if (SWIG_arg_fail(1)) SWIG_fail
;
32290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32291 if (SWIG_arg_fail(2)) SWIG_fail
;
32292 if (arg2
== NULL
) {
32293 SWIG_null_ref("wxVideoMode");
32295 if (SWIG_arg_fail(2)) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 resultobj
= result
;
32312 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= NULL
;
32314 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32315 wxVideoMode result
;
32316 PyObject
* obj0
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32323 if (SWIG_arg_fail(1)) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32332 wxVideoMode
* resultptr
;
32333 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32342 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32343 PyObject
*resultobj
= NULL
;
32344 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32345 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32346 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self",(char *) "mode", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail
;
32359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32360 if (SWIG_arg_fail(2)) SWIG_fail
;
32361 if (arg2
== NULL
) {
32362 SWIG_null_ref("wxVideoMode");
32364 if (SWIG_arg_fail(2)) SWIG_fail
;
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32383 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
= NULL
;
32385 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail
;
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 (arg1
)->ResetMode();
32398 wxPyEndAllowThreads(__tstate
);
32399 if (PyErr_Occurred()) SWIG_fail
;
32401 Py_INCREF(Py_None
); resultobj
= Py_None
;
32408 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32411 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32413 return Py_BuildValue((char *)"");
32415 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
= NULL
;
32417 wxStandardPaths
*result
;
32418 char *kwnames
[] = {
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32425 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32427 wxPyEndAllowThreads(__tstate
);
32428 if (PyErr_Occurred()) SWIG_fail
;
32430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32437 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32438 PyObject
*resultobj
= NULL
;
32439 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32441 PyObject
* obj0
= 0 ;
32442 char *kwnames
[] = {
32443 (char *) "self", NULL
32446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32448 if (SWIG_arg_fail(1)) SWIG_fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32469 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
= NULL
;
32471 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32473 PyObject
* obj0
= 0 ;
32474 char *kwnames
[] = {
32475 (char *) "self", NULL
32478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32480 if (SWIG_arg_fail(1)) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32501 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
= NULL
;
32503 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32505 PyObject
* obj0
= 0 ;
32506 char *kwnames
[] = {
32507 (char *) "self", NULL
32510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32512 if (SWIG_arg_fail(1)) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32533 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32534 PyObject
*resultobj
= NULL
;
32535 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32537 PyObject
* obj0
= 0 ;
32538 char *kwnames
[] = {
32539 (char *) "self", NULL
32542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32544 if (SWIG_arg_fail(1)) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32565 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
= NULL
;
32567 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32569 PyObject
* obj0
= 0 ;
32570 char *kwnames
[] = {
32571 (char *) "self", NULL
32574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32576 if (SWIG_arg_fail(1)) SWIG_fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32597 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
= NULL
;
32599 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32601 PyObject
* obj0
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32608 if (SWIG_arg_fail(1)) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32629 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
= NULL
;
32631 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32633 PyObject
* obj0
= 0 ;
32634 char *kwnames
[] = {
32635 (char *) "self", NULL
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32640 if (SWIG_arg_fail(1)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32661 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
= NULL
;
32663 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32664 wxString
*arg2
= 0 ;
32665 bool temp2
= false ;
32666 PyObject
* obj0
= 0 ;
32667 PyObject
* obj1
= 0 ;
32668 char *kwnames
[] = {
32669 (char *) "self",(char *) "prefix", NULL
32672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32674 if (SWIG_arg_fail(1)) SWIG_fail
;
32676 arg2
= wxString_in_helper(obj1
);
32677 if (arg2
== NULL
) SWIG_fail
;
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 Py_INCREF(Py_None
); resultobj
= Py_None
;
32702 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
= NULL
;
32704 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32706 PyObject
* obj0
= 0 ;
32707 char *kwnames
[] = {
32708 (char *) "self", NULL
32711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32713 if (SWIG_arg_fail(1)) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32734 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32737 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32739 return Py_BuildValue((char *)"");
32741 static PyMethodDef SwigMethods
[] = {
32742 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32749 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32757 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32839 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32846 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"delete_ToolTip", (PyCFunction
) _wrap_delete_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32855 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32874 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32877 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32880 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32883 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32889 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32903 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32909 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32915 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32918 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
32932 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
32935 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
32936 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
32939 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"delete_Log", (PyCFunction
) _wrap_delete_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32967 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32969 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32971 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32973 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32980 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32986 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32990 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
33004 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
33008 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
33011 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
33028 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
33036 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33083 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33101 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33111 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33127 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33143 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33157 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33168 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33211 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33214 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33217 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33221 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33320 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33321 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33322 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33323 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33340 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33385 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33419 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33427 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33428 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33433 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33442 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33449 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33452 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33455 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33460 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33463 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33467 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33470 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33474 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33475 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33479 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33483 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33487 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33497 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33510 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33518 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33526 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33530 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33531 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33532 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33533 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33534 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33535 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33536 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33537 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33538 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33539 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33540 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33541 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33542 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33543 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33544 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33545 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33546 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33547 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33548 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33549 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33550 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33551 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33552 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33553 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33554 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33555 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33556 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33557 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33558 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33559 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33560 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33561 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33562 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33563 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33564 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33565 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33566 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33567 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33568 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33569 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33570 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33571 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33572 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33573 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33574 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33575 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33576 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33577 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33578 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33579 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33580 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33581 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33582 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33583 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33584 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33585 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33586 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33587 { NULL
, NULL
, 0, NULL
}
33591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33593 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33594 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33596 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33597 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33599 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33600 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33602 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33603 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33605 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33606 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33608 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33609 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33611 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33612 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33614 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33615 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33617 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33620 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33621 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33623 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33626 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33627 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33629 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33630 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33632 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33635 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33636 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33638 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33639 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33641 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33642 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33644 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33645 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33647 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33648 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33650 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33651 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33653 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33656 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33657 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33659 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33660 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33662 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33665 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33666 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33668 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33669 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33671 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33672 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33674 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33675 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33677 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33678 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33680 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33681 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33683 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33686 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33687 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33689 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33690 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33692 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33693 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33695 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33698 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33701 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33702 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33704 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33705 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33707 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33708 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33710 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33711 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33713 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33714 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33716 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33717 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33719 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33720 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33722 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33723 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33725 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33726 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33728 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33729 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33731 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33732 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33734 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33735 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33737 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33738 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33740 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33741 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33743 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33744 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33746 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33747 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33749 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33750 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33752 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33753 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33755 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33756 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33758 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33759 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33761 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33762 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33764 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33765 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33767 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33768 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33770 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33771 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33773 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33774 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33776 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33777 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33779 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33780 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33782 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33783 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33785 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33788 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33789 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33791 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33792 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33794 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33795 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33797 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33798 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33800 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33801 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33803 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33804 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33806 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33807 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33809 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33810 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33812 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33813 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33815 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33816 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33818 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33819 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33821 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33824 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33825 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33827 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33828 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33830 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33831 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33833 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33834 return (void *)((wxObject
*) ((wxSizer
*) x
));
33836 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33837 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33839 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33840 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33842 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33845 static void *_p_wxEventTo_p_wxObject(void *x
) {
33846 return (void *)((wxObject
*) ((wxEvent
*) x
));
33848 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33849 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33851 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33852 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33854 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33855 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33857 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33858 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33860 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33861 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33863 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33864 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33866 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33867 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33869 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33870 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33872 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33873 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33875 static void *_p_wxControlTo_p_wxObject(void *x
) {
33876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33878 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33879 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33881 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33882 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33884 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33885 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33887 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33888 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33890 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33891 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33893 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33894 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33896 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33899 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33900 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33902 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33903 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33905 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33906 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33908 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33911 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33912 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33914 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33917 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33918 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33920 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33921 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33923 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33924 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33926 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33927 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33929 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33930 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33932 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33933 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33935 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33938 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33941 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33944 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33947 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33950 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33951 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33953 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33954 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33956 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33957 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33959 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33962 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33965 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33966 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33968 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33971 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33974 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33975 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33977 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33980 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33981 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33983 static void *_p_wxImageTo_p_wxObject(void *x
) {
33984 return (void *)((wxObject
*) ((wxImage
*) x
));
33986 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33987 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33989 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33990 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33992 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33993 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33995 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33998 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33999 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34001 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34002 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34004 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34007 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34010 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34013 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
34014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
34016 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34017 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34019 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34022 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34023 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34025 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34026 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34028 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34029 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34031 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34032 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34034 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34035 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34037 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
34038 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
34040 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34043 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34044 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34046 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34047 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34049 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34050 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34052 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34055 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
34056 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34058 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34061 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34064 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34067 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34070 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34071 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34073 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34074 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34076 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34077 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34079 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34080 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34082 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34083 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34085 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34086 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34088 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34089 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34091 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34092 return (void *)((wxWindow
*) ((wxControl
*) x
));
34094 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34095 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34097 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34098 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34100 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34101 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34103 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34104 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34106 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34107 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34108 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34109 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34110 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34111 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34112 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34113 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34114 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34115 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34116 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34117 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34118 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34119 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34120 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34121 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34122 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34123 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34124 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34125 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34126 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34127 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34128 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34129 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34130 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34131 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34132 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34133 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34134 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34135 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34136 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34137 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34138 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34139 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34140 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34141 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34142 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34143 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34144 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34145 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34146 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34147 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34148 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34149 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34150 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34151 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34152 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34153 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34154 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34155 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34156 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34157 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34158 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34159 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34160 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34161 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34162 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34163 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34164 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34165 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34166 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34167 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34168 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34169 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34170 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34171 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34172 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34173 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34174 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34175 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34176 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34177 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34178 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34179 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34180 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34181 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34182 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34183 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34184 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34185 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34186 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34187 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34188 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34189 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34190 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34191 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34192 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34193 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34194 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34195 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34196 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34197 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34198 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34199 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34200 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34201 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34202 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34203 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34204 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34205 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34206 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34207 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34208 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34209 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34210 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34211 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34212 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34213 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34214 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34215 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34216 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34217 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34218 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34219 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34220 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34221 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34222 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34223 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34224 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34225 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34226 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34227 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34228 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34229 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34230 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34231 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34232 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34233 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34234 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34235 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34236 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34237 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34238 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34239 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34240 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34241 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34242 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34243 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34244 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34245 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34246 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34247 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34248 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34249 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34250 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34251 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34252 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34253 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34254 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34255 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34256 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34257 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34258 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34259 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34260 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34261 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34262 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34263 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34264 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34265 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34266 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34267 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34268 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34269 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34270 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34271 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34272 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34273 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34274 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34275 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34276 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34277 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34278 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34280 static swig_type_info
*swig_type_initial
[] = {
34282 &_swigt__p_form_ops_t
,
34284 &_swigt__p_unsigned_char
,
34285 &_swigt__p_unsigned_int
,
34286 &_swigt__p_unsigned_long
,
34288 &_swigt__p_wxANIHandler
,
34289 &_swigt__p_wxAcceleratorTable
,
34290 &_swigt__p_wxActivateEvent
,
34291 &_swigt__p_wxArrayString
,
34292 &_swigt__p_wxBMPHandler
,
34293 &_swigt__p_wxBitmap
,
34294 &_swigt__p_wxBitmapDataObject
,
34295 &_swigt__p_wxBoxSizer
,
34296 &_swigt__p_wxBusyCursor
,
34297 &_swigt__p_wxBusyInfo
,
34298 &_swigt__p_wxCURHandler
,
34299 &_swigt__p_wxCaret
,
34301 &_swigt__p_wxChildFocusEvent
,
34302 &_swigt__p_wxClipboard
,
34303 &_swigt__p_wxClipboardLocker
,
34304 &_swigt__p_wxCloseEvent
,
34305 &_swigt__p_wxColour
,
34306 &_swigt__p_wxCommandEvent
,
34307 &_swigt__p_wxConfig
,
34308 &_swigt__p_wxConfigBase
,
34309 &_swigt__p_wxConfigPathChanger
,
34310 &_swigt__p_wxContextMenuEvent
,
34311 &_swigt__p_wxControl
,
34312 &_swigt__p_wxControlWithItems
,
34313 &_swigt__p_wxCursor
,
34314 &_swigt__p_wxCustomDataObject
,
34316 &_swigt__p_wxDataFormat
,
34317 &_swigt__p_wxDataObject
,
34318 &_swigt__p_wxDataObjectComposite
,
34319 &_swigt__p_wxDataObjectSimple
,
34320 &_swigt__p_wxDateEvent
,
34321 &_swigt__p_wxDateSpan
,
34322 &_swigt__p_wxDateTime
,
34323 &_swigt__p_wxDateTime__TimeZone
,
34324 &_swigt__p_wxDisplay
,
34325 &_swigt__p_wxDisplayChangedEvent
,
34326 &_swigt__p_wxDropFilesEvent
,
34327 &_swigt__p_wxDuplexMode
,
34328 &_swigt__p_wxEraseEvent
,
34329 &_swigt__p_wxEvent
,
34330 &_swigt__p_wxEvtHandler
,
34331 &_swigt__p_wxFSFile
,
34332 &_swigt__p_wxFileConfig
,
34333 &_swigt__p_wxFileDataObject
,
34334 &_swigt__p_wxFileHistory
,
34335 &_swigt__p_wxFileSystem
,
34336 &_swigt__p_wxFileType
,
34337 &_swigt__p_wxFileTypeInfo
,
34338 &_swigt__p_wxFlexGridSizer
,
34339 &_swigt__p_wxFocusEvent
,
34341 &_swigt__p_wxFrame
,
34342 &_swigt__p_wxGBSizerItem
,
34343 &_swigt__p_wxGIFHandler
,
34344 &_swigt__p_wxGridBagSizer
,
34345 &_swigt__p_wxGridSizer
,
34346 &_swigt__p_wxICOHandler
,
34348 &_swigt__p_wxIconizeEvent
,
34349 &_swigt__p_wxIdleEvent
,
34350 &_swigt__p_wxImage
,
34351 &_swigt__p_wxImageHandler
,
34352 &_swigt__p_wxIndividualLayoutConstraint
,
34353 &_swigt__p_wxInitDialogEvent
,
34354 &_swigt__p_wxJPEGHandler
,
34355 &_swigt__p_wxJoystick
,
34356 &_swigt__p_wxJoystickEvent
,
34357 &_swigt__p_wxKeyEvent
,
34358 &_swigt__p_wxKillError
,
34359 &_swigt__p_wxLayoutConstraints
,
34361 &_swigt__p_wxLogBuffer
,
34362 &_swigt__p_wxLogChain
,
34363 &_swigt__p_wxLogGui
,
34364 &_swigt__p_wxLogNull
,
34365 &_swigt__p_wxLogStderr
,
34366 &_swigt__p_wxLogTextCtrl
,
34367 &_swigt__p_wxLogWindow
,
34368 &_swigt__p_wxMaximizeEvent
,
34369 &_swigt__p_wxMemorySize
,
34371 &_swigt__p_wxMenuBar
,
34372 &_swigt__p_wxMenuEvent
,
34373 &_swigt__p_wxMenuItem
,
34374 &_swigt__p_wxMetafile
,
34375 &_swigt__p_wxMetafileDataObject
,
34376 &_swigt__p_wxMimeTypesManager
,
34377 &_swigt__p_wxMouseCaptureChangedEvent
,
34378 &_swigt__p_wxMouseEvent
,
34379 &_swigt__p_wxMouseState
,
34380 &_swigt__p_wxMoveEvent
,
34381 &_swigt__p_wxMutexGuiLocker
,
34382 &_swigt__p_wxNavigationKeyEvent
,
34383 &_swigt__p_wxNcPaintEvent
,
34384 &_swigt__p_wxNotifyEvent
,
34385 &_swigt__p_wxObject
,
34386 &_swigt__p_wxOutputStream
,
34387 &_swigt__p_wxPCXHandler
,
34388 &_swigt__p_wxPNGHandler
,
34389 &_swigt__p_wxPNMHandler
,
34390 &_swigt__p_wxPaintEvent
,
34391 &_swigt__p_wxPaletteChangedEvent
,
34392 &_swigt__p_wxPaperSize
,
34393 &_swigt__p_wxPoint
,
34394 &_swigt__p_wxProcessEvent
,
34395 &_swigt__p_wxPyApp
,
34396 &_swigt__p_wxPyArtProvider
,
34397 &_swigt__p_wxPyBitmapDataObject
,
34398 &_swigt__p_wxPyCommandEvent
,
34399 &_swigt__p_wxPyDataObjectSimple
,
34400 &_swigt__p_wxPyDropSource
,
34401 &_swigt__p_wxPyDropTarget
,
34402 &_swigt__p_wxPyEvent
,
34403 &_swigt__p_wxPyFileDropTarget
,
34404 &_swigt__p_wxPyImageHandler
,
34405 &_swigt__p_wxPyLog
,
34406 &_swigt__p_wxPyProcess
,
34407 &_swigt__p_wxPySizer
,
34408 &_swigt__p_wxPyTextDataObject
,
34409 &_swigt__p_wxPyTextDropTarget
,
34410 &_swigt__p_wxPyTimer
,
34411 &_swigt__p_wxPyTipProvider
,
34412 &_swigt__p_wxPyValidator
,
34413 &_swigt__p_wxQueryNewPaletteEvent
,
34415 &_swigt__p_wxScrollEvent
,
34416 &_swigt__p_wxScrollWinEvent
,
34417 &_swigt__p_wxSetCursorEvent
,
34418 &_swigt__p_wxShowEvent
,
34419 &_swigt__p_wxSingleInstanceChecker
,
34421 &_swigt__p_wxSizeEvent
,
34422 &_swigt__p_wxSizer
,
34423 &_swigt__p_wxSizerItem
,
34424 &_swigt__p_wxSound
,
34425 &_swigt__p_wxStandardPaths
,
34426 &_swigt__p_wxStaticBoxSizer
,
34427 &_swigt__p_wxStdDialogButtonSizer
,
34428 &_swigt__p_wxStopWatch
,
34429 &_swigt__p_wxString
,
34430 &_swigt__p_wxSysColourChangedEvent
,
34431 &_swigt__p_wxSystemOptions
,
34432 &_swigt__p_wxSystemSettings
,
34433 &_swigt__p_wxTIFFHandler
,
34434 &_swigt__p_wxTextCtrl
,
34435 &_swigt__p_wxTextDataObject
,
34436 &_swigt__p_wxTimeSpan
,
34437 &_swigt__p_wxTimer
,
34438 &_swigt__p_wxTimerEvent
,
34439 &_swigt__p_wxTimerRunner
,
34440 &_swigt__p_wxTipProvider
,
34441 &_swigt__p_wxToolTip
,
34442 &_swigt__p_wxURLDataObject
,
34443 &_swigt__p_wxUpdateUIEvent
,
34444 &_swigt__p_wxValidator
,
34445 &_swigt__p_wxVideoMode
,
34446 &_swigt__p_wxWindow
,
34447 &_swigt__p_wxWindowCreateEvent
,
34448 &_swigt__p_wxWindowDestroyEvent
,
34449 &_swigt__p_wxWindowDisabler
,
34450 &_swigt__p_wxXPMHandler
,
34451 &_swigt__ptrdiff_t
,
34452 &_swigt__std__ptrdiff_t
,
34453 &_swigt__unsigned_int
,
34456 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34457 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34458 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34459 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34460 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34461 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34462 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34463 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34464 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34465 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}};
34466 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34467 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34468 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34469 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34470 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34471 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34472 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34473 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34474 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}};
34475 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34476 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34477 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34478 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34479 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34480 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}};
34481 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34482 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}};
34483 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34484 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34485 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34486 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34487 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34488 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34489 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34490 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34491 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34492 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34493 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34494 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34495 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34496 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34497 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34498 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34499 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34500 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34501 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34502 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34503 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34504 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34505 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34506 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34507 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34508 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34509 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34510 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34511 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34512 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34513 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34514 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34515 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34516 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34517 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34518 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34519 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34520 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34521 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34522 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34523 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34524 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}};
34525 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34526 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34527 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34528 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34529 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34530 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34531 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}};
34532 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34533 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34534 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34535 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34536 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34537 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34538 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34539 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34540 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34541 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34542 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34543 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}};
34544 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34545 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34546 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34547 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34548 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34549 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34550 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34551 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34552 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34553 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34554 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34555 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34556 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34557 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34558 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34559 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34560 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34561 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34562 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34563 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34564 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34565 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34566 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34567 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34568 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34569 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34570 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34571 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34572 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34573 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34574 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34575 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34576 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34577 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34578 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34579 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34580 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34581 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34582 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34583 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34584 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34585 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34586 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34587 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34588 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}};
34589 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34590 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34591 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34592 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34593 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34594 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34595 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34596 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34597 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}};
34598 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34599 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34600 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34601 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34602 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34603 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34604 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34605 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34606 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34607 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34608 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34609 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34610 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34611 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34612 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34613 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34614 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34615 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}};
34616 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34617 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34618 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34619 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34620 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}};
34621 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34622 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34623 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34624 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}};
34625 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34626 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34627 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34628 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34630 static swig_cast_info
*swig_cast_initial
[] = {
34632 _swigc__p_form_ops_t
,
34634 _swigc__p_unsigned_char
,
34635 _swigc__p_unsigned_int
,
34636 _swigc__p_unsigned_long
,
34638 _swigc__p_wxANIHandler
,
34639 _swigc__p_wxAcceleratorTable
,
34640 _swigc__p_wxActivateEvent
,
34641 _swigc__p_wxArrayString
,
34642 _swigc__p_wxBMPHandler
,
34643 _swigc__p_wxBitmap
,
34644 _swigc__p_wxBitmapDataObject
,
34645 _swigc__p_wxBoxSizer
,
34646 _swigc__p_wxBusyCursor
,
34647 _swigc__p_wxBusyInfo
,
34648 _swigc__p_wxCURHandler
,
34651 _swigc__p_wxChildFocusEvent
,
34652 _swigc__p_wxClipboard
,
34653 _swigc__p_wxClipboardLocker
,
34654 _swigc__p_wxCloseEvent
,
34655 _swigc__p_wxColour
,
34656 _swigc__p_wxCommandEvent
,
34657 _swigc__p_wxConfig
,
34658 _swigc__p_wxConfigBase
,
34659 _swigc__p_wxConfigPathChanger
,
34660 _swigc__p_wxContextMenuEvent
,
34661 _swigc__p_wxControl
,
34662 _swigc__p_wxControlWithItems
,
34663 _swigc__p_wxCursor
,
34664 _swigc__p_wxCustomDataObject
,
34666 _swigc__p_wxDataFormat
,
34667 _swigc__p_wxDataObject
,
34668 _swigc__p_wxDataObjectComposite
,
34669 _swigc__p_wxDataObjectSimple
,
34670 _swigc__p_wxDateEvent
,
34671 _swigc__p_wxDateSpan
,
34672 _swigc__p_wxDateTime
,
34673 _swigc__p_wxDateTime__TimeZone
,
34674 _swigc__p_wxDisplay
,
34675 _swigc__p_wxDisplayChangedEvent
,
34676 _swigc__p_wxDropFilesEvent
,
34677 _swigc__p_wxDuplexMode
,
34678 _swigc__p_wxEraseEvent
,
34680 _swigc__p_wxEvtHandler
,
34681 _swigc__p_wxFSFile
,
34682 _swigc__p_wxFileConfig
,
34683 _swigc__p_wxFileDataObject
,
34684 _swigc__p_wxFileHistory
,
34685 _swigc__p_wxFileSystem
,
34686 _swigc__p_wxFileType
,
34687 _swigc__p_wxFileTypeInfo
,
34688 _swigc__p_wxFlexGridSizer
,
34689 _swigc__p_wxFocusEvent
,
34692 _swigc__p_wxGBSizerItem
,
34693 _swigc__p_wxGIFHandler
,
34694 _swigc__p_wxGridBagSizer
,
34695 _swigc__p_wxGridSizer
,
34696 _swigc__p_wxICOHandler
,
34698 _swigc__p_wxIconizeEvent
,
34699 _swigc__p_wxIdleEvent
,
34701 _swigc__p_wxImageHandler
,
34702 _swigc__p_wxIndividualLayoutConstraint
,
34703 _swigc__p_wxInitDialogEvent
,
34704 _swigc__p_wxJPEGHandler
,
34705 _swigc__p_wxJoystick
,
34706 _swigc__p_wxJoystickEvent
,
34707 _swigc__p_wxKeyEvent
,
34708 _swigc__p_wxKillError
,
34709 _swigc__p_wxLayoutConstraints
,
34711 _swigc__p_wxLogBuffer
,
34712 _swigc__p_wxLogChain
,
34713 _swigc__p_wxLogGui
,
34714 _swigc__p_wxLogNull
,
34715 _swigc__p_wxLogStderr
,
34716 _swigc__p_wxLogTextCtrl
,
34717 _swigc__p_wxLogWindow
,
34718 _swigc__p_wxMaximizeEvent
,
34719 _swigc__p_wxMemorySize
,
34721 _swigc__p_wxMenuBar
,
34722 _swigc__p_wxMenuEvent
,
34723 _swigc__p_wxMenuItem
,
34724 _swigc__p_wxMetafile
,
34725 _swigc__p_wxMetafileDataObject
,
34726 _swigc__p_wxMimeTypesManager
,
34727 _swigc__p_wxMouseCaptureChangedEvent
,
34728 _swigc__p_wxMouseEvent
,
34729 _swigc__p_wxMouseState
,
34730 _swigc__p_wxMoveEvent
,
34731 _swigc__p_wxMutexGuiLocker
,
34732 _swigc__p_wxNavigationKeyEvent
,
34733 _swigc__p_wxNcPaintEvent
,
34734 _swigc__p_wxNotifyEvent
,
34735 _swigc__p_wxObject
,
34736 _swigc__p_wxOutputStream
,
34737 _swigc__p_wxPCXHandler
,
34738 _swigc__p_wxPNGHandler
,
34739 _swigc__p_wxPNMHandler
,
34740 _swigc__p_wxPaintEvent
,
34741 _swigc__p_wxPaletteChangedEvent
,
34742 _swigc__p_wxPaperSize
,
34744 _swigc__p_wxProcessEvent
,
34746 _swigc__p_wxPyArtProvider
,
34747 _swigc__p_wxPyBitmapDataObject
,
34748 _swigc__p_wxPyCommandEvent
,
34749 _swigc__p_wxPyDataObjectSimple
,
34750 _swigc__p_wxPyDropSource
,
34751 _swigc__p_wxPyDropTarget
,
34752 _swigc__p_wxPyEvent
,
34753 _swigc__p_wxPyFileDropTarget
,
34754 _swigc__p_wxPyImageHandler
,
34756 _swigc__p_wxPyProcess
,
34757 _swigc__p_wxPySizer
,
34758 _swigc__p_wxPyTextDataObject
,
34759 _swigc__p_wxPyTextDropTarget
,
34760 _swigc__p_wxPyTimer
,
34761 _swigc__p_wxPyTipProvider
,
34762 _swigc__p_wxPyValidator
,
34763 _swigc__p_wxQueryNewPaletteEvent
,
34765 _swigc__p_wxScrollEvent
,
34766 _swigc__p_wxScrollWinEvent
,
34767 _swigc__p_wxSetCursorEvent
,
34768 _swigc__p_wxShowEvent
,
34769 _swigc__p_wxSingleInstanceChecker
,
34771 _swigc__p_wxSizeEvent
,
34773 _swigc__p_wxSizerItem
,
34775 _swigc__p_wxStandardPaths
,
34776 _swigc__p_wxStaticBoxSizer
,
34777 _swigc__p_wxStdDialogButtonSizer
,
34778 _swigc__p_wxStopWatch
,
34779 _swigc__p_wxString
,
34780 _swigc__p_wxSysColourChangedEvent
,
34781 _swigc__p_wxSystemOptions
,
34782 _swigc__p_wxSystemSettings
,
34783 _swigc__p_wxTIFFHandler
,
34784 _swigc__p_wxTextCtrl
,
34785 _swigc__p_wxTextDataObject
,
34786 _swigc__p_wxTimeSpan
,
34788 _swigc__p_wxTimerEvent
,
34789 _swigc__p_wxTimerRunner
,
34790 _swigc__p_wxTipProvider
,
34791 _swigc__p_wxToolTip
,
34792 _swigc__p_wxURLDataObject
,
34793 _swigc__p_wxUpdateUIEvent
,
34794 _swigc__p_wxValidator
,
34795 _swigc__p_wxVideoMode
,
34796 _swigc__p_wxWindow
,
34797 _swigc__p_wxWindowCreateEvent
,
34798 _swigc__p_wxWindowDestroyEvent
,
34799 _swigc__p_wxWindowDisabler
,
34800 _swigc__p_wxXPMHandler
,
34802 _swigc__std__ptrdiff_t
,
34803 _swigc__unsigned_int
,
34807 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34809 static swig_const_info swig_const_table
[] = {
34810 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34811 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34812 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34813 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34814 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34815 {0, 0, 0, 0.0, 0, 0}};
34820 /*************************************************************************
34821 * Type initialization:
34822 * This problem is tough by the requirement that no dynamic
34823 * memory is used. Also, since swig_type_info structures store pointers to
34824 * swig_cast_info structures and swig_cast_info structures store pointers back
34825 * to swig_type_info structures, we need some lookup code at initialization.
34826 * The idea is that swig generates all the structures that are needed.
34827 * The runtime then collects these partially filled structures.
34828 * The SWIG_InitializeModule function takes these initial arrays out of
34829 * swig_module, and does all the lookup, filling in the swig_module.types
34830 * array with the correct data and linking the correct swig_cast_info
34831 * structures together.
34833 * The generated swig_type_info structures are assigned staticly to an initial
34834 * array. We just loop though that array, and handle each type individually.
34835 * First we lookup if this type has been already loaded, and if so, use the
34836 * loaded structure instead of the generated one. Then we have to fill in the
34837 * cast linked list. The cast data is initially stored in something like a
34838 * two-dimensional array. Each row corresponds to a type (there are the same
34839 * number of rows as there are in the swig_type_initial array). Each entry in
34840 * a column is one of the swig_cast_info structures for that type.
34841 * The cast_initial array is actually an array of arrays, because each row has
34842 * a variable number of columns. So to actually build the cast linked list,
34843 * we find the array of casts associated with the type, and loop through it
34844 * adding the casts to the list. The one last trick we need to do is making
34845 * sure the type pointer in the swig_cast_info struct is correct.
34847 * First off, we lookup the cast->type name to see if it is already loaded.
34848 * There are three cases to handle:
34849 * 1) If the cast->type has already been loaded AND the type we are adding
34850 * casting info to has not been loaded (it is in this module), THEN we
34851 * replace the cast->type pointer with the type pointer that has already
34853 * 2) If BOTH types (the one we are adding casting info to, and the
34854 * cast->type) are loaded, THEN the cast info has already been loaded by
34855 * the previous module so we just ignore it.
34856 * 3) Finally, if cast->type has not already been loaded, then we add that
34857 * swig_cast_info to the linked list (because the cast->type) pointer will
34869 #define SWIGRUNTIME_DEBUG
34873 SWIG_InitializeModule(void *clientdata
) {
34875 swig_module_info
*module_head
;
34876 static int init_run
= 0;
34878 clientdata
= clientdata
;
34880 if (init_run
) return;
34883 /* Initialize the swig_module */
34884 swig_module
.type_initial
= swig_type_initial
;
34885 swig_module
.cast_initial
= swig_cast_initial
;
34887 /* Try and load any already created modules */
34888 module_head
= SWIG_GetModule(clientdata
);
34890 swig_module
.next
= module_head
->next
;
34891 module_head
->next
= &swig_module
;
34893 /* This is the first module loaded */
34894 swig_module
.next
= &swig_module
;
34895 SWIG_SetModule(clientdata
, &swig_module
);
34898 /* Now work on filling in swig_module.types */
34899 #ifdef SWIGRUNTIME_DEBUG
34900 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34902 for (i
= 0; i
< swig_module
.size
; ++i
) {
34903 swig_type_info
*type
= 0;
34904 swig_type_info
*ret
;
34905 swig_cast_info
*cast
;
34907 #ifdef SWIGRUNTIME_DEBUG
34908 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34911 /* if there is another module already loaded */
34912 if (swig_module
.next
!= &swig_module
) {
34913 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34916 /* Overwrite clientdata field */
34917 #ifdef SWIGRUNTIME_DEBUG
34918 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34920 if (swig_module
.type_initial
[i
]->clientdata
) {
34921 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34922 #ifdef SWIGRUNTIME_DEBUG
34923 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34927 type
= swig_module
.type_initial
[i
];
34930 /* Insert casting types */
34931 cast
= swig_module
.cast_initial
[i
];
34932 while (cast
->type
) {
34933 /* Don't need to add information already in the list */
34935 #ifdef SWIGRUNTIME_DEBUG
34936 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34938 if (swig_module
.next
!= &swig_module
) {
34939 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34940 #ifdef SWIGRUNTIME_DEBUG
34941 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34945 if (type
== swig_module
.type_initial
[i
]) {
34946 #ifdef SWIGRUNTIME_DEBUG
34947 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34952 /* Check for casting already in the list */
34953 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34954 #ifdef SWIGRUNTIME_DEBUG
34955 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34957 if (!ocast
) ret
= 0;
34962 #ifdef SWIGRUNTIME_DEBUG
34963 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34966 type
->cast
->prev
= cast
;
34967 cast
->next
= type
->cast
;
34973 /* Set entry in modules->types array equal to the type */
34974 swig_module
.types
[i
] = type
;
34976 swig_module
.types
[i
] = 0;
34978 #ifdef SWIGRUNTIME_DEBUG
34979 printf("**** SWIG_InitializeModule: Cast List ******\n");
34980 for (i
= 0; i
< swig_module
.size
; ++i
) {
34982 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34983 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34984 while (cast
->type
) {
34985 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34989 printf("---- Total casts: %d\n",j
);
34991 printf("**** SWIG_InitializeModule: Cast List ******\n");
34995 /* This function will propagate the clientdata field of type to
34996 * any new swig_type_info structures that have been added into the list
34997 * of equivalent types. It is like calling
34998 * SWIG_TypeClientData(type, clientdata) a second time.
35001 SWIG_PropagateClientData(void) {
35003 swig_cast_info
*equiv
;
35004 static int init_run
= 0;
35006 if (init_run
) return;
35009 for (i
= 0; i
< swig_module
.size
; i
++) {
35010 if (swig_module
.types
[i
]->clientdata
) {
35011 equiv
= swig_module
.types
[i
]->cast
;
35013 if (!equiv
->converter
) {
35014 if (equiv
->type
&& !equiv
->type
->clientdata
)
35015 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35017 equiv
= equiv
->next
;
35037 /* Python-specific SWIG API */
35038 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35039 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35040 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35042 /* -----------------------------------------------------------------------------
35043 * global variable support code.
35044 * ----------------------------------------------------------------------------- */
35046 typedef struct swig_globalvar
{
35047 char *name
; /* Name of global variable */
35048 PyObject
*(*get_attr
)(void); /* Return the current value */
35049 int (*set_attr
)(PyObject
*); /* Set the value */
35050 struct swig_globalvar
*next
;
35053 typedef struct swig_varlinkobject
{
35055 swig_globalvar
*vars
;
35056 } swig_varlinkobject
;
35058 SWIGINTERN PyObject
*
35059 swig_varlink_repr(swig_varlinkobject
*v
) {
35061 return PyString_FromString("<Swig global variables>");
35065 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35066 swig_globalvar
*var
;
35068 fprintf(fp
,"Swig global variables { ");
35069 for (var
= v
->vars
; var
; var
=var
->next
) {
35070 fprintf(fp
,"%s", var
->name
);
35071 if (var
->next
) fprintf(fp
,", ");
35073 fprintf(fp
," }\n");
35077 SWIGINTERN PyObject
*
35078 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35079 swig_globalvar
*var
= v
->vars
;
35081 if (strcmp(var
->name
,n
) == 0) {
35082 return (*var
->get_attr
)();
35086 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35091 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35092 swig_globalvar
*var
= v
->vars
;
35094 if (strcmp(var
->name
,n
) == 0) {
35095 return (*var
->set_attr
)(p
);
35099 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35103 SWIGINTERN PyTypeObject
*
35104 swig_varlink_type(void) {
35105 static char varlink__doc__
[] = "Swig var link object";
35106 static PyTypeObject varlink_type
35107 #if !defined(__cplusplus)
35109 static int type_init
= 0;
35114 PyObject_HEAD_INIT(&PyType_Type
)
35115 0, /* Number of items in variable part (ob_size) */
35116 (char *)"swigvarlink", /* Type name (tp_name) */
35117 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35118 0, /* Itemsize (tp_itemsize) */
35119 0, /* Deallocator (tp_dealloc) */
35120 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35121 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35122 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35123 0, /* tp_compare */
35124 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35125 0, /* tp_as_number */
35126 0, /* tp_as_sequence */
35127 0, /* tp_as_mapping */
35131 0, /* tp_getattro */
35132 0, /* tp_setattro */
35133 0, /* tp_as_buffer */
35135 varlink__doc__
, /* tp_doc */
35136 #if PY_VERSION_HEX >= 0x02000000
35137 0, /* tp_traverse */
35140 #if PY_VERSION_HEX >= 0x02010000
35141 0, /* tp_richcompare */
35142 0, /* tp_weaklistoffset */
35144 #if PY_VERSION_HEX >= 0x02020000
35145 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35147 #if PY_VERSION_HEX >= 0x02030000
35150 #ifdef COUNT_ALLOCS
35151 0,0,0,0 /* tp_alloc -> tp_next */
35154 #if !defined(__cplusplus)
35155 varlink_type
= tmp
;
35159 return &varlink_type
;
35162 /* Create a variable linking object for use later */
35163 SWIGINTERN PyObject
*
35164 SWIG_Python_newvarlink(void) {
35165 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35169 return ((PyObject
*) result
);
35173 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35174 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35175 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35177 size_t size
= strlen(name
)+1;
35178 gv
->name
= (char *)malloc(size
);
35180 strncpy(gv
->name
,name
,size
);
35181 gv
->get_attr
= get_attr
;
35182 gv
->set_attr
= set_attr
;
35183 gv
->next
= v
->vars
;
35189 /* -----------------------------------------------------------------------------
35190 * constants/methods manipulation
35191 * ----------------------------------------------------------------------------- */
35193 /* Install Constants */
35195 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35198 for (i
= 0; constants
[i
].type
; ++i
) {
35199 switch(constants
[i
].type
) {
35201 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35203 case SWIG_PY_FLOAT
:
35204 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35206 case SWIG_PY_STRING
:
35207 if (constants
[i
].pvalue
) {
35208 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35210 Py_INCREF(Py_None
);
35214 case SWIG_PY_POINTER
:
35215 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35217 case SWIG_PY_BINARY
:
35218 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35225 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35231 /* -----------------------------------------------------------------------------*/
35232 /* Fix SwigMethods to carry the callback ptrs when needed */
35233 /* -----------------------------------------------------------------------------*/
35236 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35237 swig_const_info
*const_table
,
35238 swig_type_info
**types
,
35239 swig_type_info
**types_initial
) {
35241 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35242 char *c
= methods
[i
].ml_doc
;
35243 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35245 swig_const_info
*ci
= 0;
35246 char *name
= c
+ 10;
35247 for (j
= 0; const_table
[j
].type
; ++j
) {
35248 if (strncmp(const_table
[j
].name
, name
,
35249 strlen(const_table
[j
].name
)) == 0) {
35250 ci
= &(const_table
[j
]);
35255 size_t shift
= (ci
->ptype
) - types
;
35256 swig_type_info
*ty
= types_initial
[shift
];
35257 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35258 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35259 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35262 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35264 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35266 strncpy(buff
, "swig_ptr: ", 10);
35268 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35269 methods
[i
].ml_doc
= ndoc
;
35277 /* -----------------------------------------------------------------------------*
35278 * Initialize type list
35279 * -----------------------------------------------------------------------------*/
35285 /* -----------------------------------------------------------------------------*
35286 * Partial Init method
35287 * -----------------------------------------------------------------------------*/
35292 SWIGEXPORT
void SWIG_init(void) {
35293 static PyObject
*SWIG_globals
= 0;
35295 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35297 /* Fix SwigMethods to carry the callback ptrs when needed */
35298 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35300 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35301 d
= PyModule_GetDict(m
);
35303 SWIG_InitializeModule(0);
35304 SWIG_InstallConstants(d
,swig_const_table
);
35307 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35310 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35313 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35316 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35319 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35322 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35325 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35328 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35331 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35334 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35337 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35340 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35343 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35346 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35349 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35352 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35355 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35358 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35361 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35364 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35367 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35370 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35373 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35376 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35379 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35382 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35385 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35388 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35391 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35394 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35397 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35400 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35403 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35406 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35409 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35412 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35415 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35418 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35421 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35424 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35427 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35430 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35433 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35436 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35439 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35442 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35445 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35448 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35451 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35454 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35457 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35460 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35463 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35466 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35469 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35472 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35475 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35478 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35481 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35484 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35487 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35490 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35493 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35496 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35499 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35502 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35505 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35508 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35511 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35514 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35517 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35520 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35523 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35526 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35529 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35532 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35535 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35538 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35541 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35544 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35547 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35550 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35553 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35556 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35559 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35562 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35565 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35568 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35571 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35574 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35577 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35579 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35580 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35581 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35582 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35583 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35585 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35588 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35591 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35594 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35596 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35598 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35601 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35604 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35607 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35610 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35613 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35616 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35619 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35622 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35625 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35628 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35631 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35633 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35634 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35635 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35636 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35637 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35639 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35642 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35645 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35648 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35651 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35654 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35657 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35660 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35663 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35666 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35669 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35672 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35675 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35678 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35681 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35684 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35687 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35690 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35693 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35696 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35699 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35702 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35705 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35708 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35711 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35714 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35717 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35720 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35723 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35726 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35729 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35731 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35733 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35736 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35739 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35742 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35745 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35748 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35751 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35754 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35757 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35760 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35763 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35766 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35769 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35771 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35772 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35773 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35774 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35776 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35779 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35782 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35785 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35788 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35791 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35794 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35797 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35799 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35804 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35805 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35806 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35807 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35808 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35809 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35810 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35811 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35812 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35813 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35814 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35815 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35816 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35817 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35818 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35819 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35820 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35821 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35822 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35823 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35824 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35857 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35860 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35863 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35866 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35869 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35872 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35875 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35878 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35881 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35884 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35886 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35887 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35889 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35892 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35895 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35898 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35901 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35904 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35907 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35910 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35913 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35916 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35919 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35922 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
35925 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
35928 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
35931 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
35934 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
35937 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
35940 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
35943 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
35946 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
35949 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
35952 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
35955 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
35958 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
35961 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
35964 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
35967 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
35970 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
35973 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
35976 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
35979 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
35982 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
35985 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
35988 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
35991 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
35994 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
35997 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
36000 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
36003 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
36006 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
36009 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
36012 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
36015 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
36018 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
36021 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
36024 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
36027 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
36030 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
36033 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
36036 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
36039 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
36042 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
36045 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
36048 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
36051 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
36054 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36057 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36060 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36063 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36066 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36069 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36072 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36075 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36078 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36081 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36084 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36087 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36090 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36093 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36096 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36099 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36102 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36105 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36108 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36111 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36114 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36117 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36120 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36123 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36126 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36129 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36132 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36135 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36138 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36141 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36144 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36147 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36150 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36153 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36156 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36159 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36162 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36165 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36168 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36171 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36174 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36177 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36180 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36183 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36186 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36189 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36192 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36195 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36198 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36201 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36204 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36207 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36210 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36213 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36216 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36219 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36222 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36225 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36228 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36231 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36234 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36237 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36240 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36243 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36246 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36249 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36252 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36255 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36258 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36261 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36264 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36267 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36270 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36273 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36276 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36279 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36282 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36285 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36288 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36291 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36294 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36297 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36300 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36303 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36306 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36309 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36312 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36315 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36318 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36321 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36324 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36327 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36330 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36333 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36336 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36339 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36342 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36345 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36348 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36351 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36353 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36355 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36358 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36361 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36364 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36367 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36370 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36373 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36376 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36379 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36382 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36385 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36388 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36391 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36394 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36397 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36400 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36403 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36406 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36409 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36412 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36414 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36416 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36419 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36422 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36425 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36428 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36431 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36434 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36437 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36440 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36443 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36446 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36449 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36452 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36453 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36454 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36455 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36457 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);