1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_void swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxArrayString swig_types[10]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446 #define SWIGTYPE_p_wxBitmap swig_types[12]
1447 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1448 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
1449 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
1450 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
1451 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1452 #define SWIGTYPE_p_wxCaret swig_types[18]
1453 #define SWIGTYPE_p_wxChar swig_types[19]
1454 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1455 #define SWIGTYPE_p_wxClipboard swig_types[21]
1456 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
1458 #define SWIGTYPE_p_wxColour swig_types[24]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
1460 #define SWIGTYPE_p_wxConfig swig_types[26]
1461 #define SWIGTYPE_p_wxConfigBase swig_types[27]
1462 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1463 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1464 #define SWIGTYPE_p_wxControl swig_types[30]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
1466 #define SWIGTYPE_p_wxCursor swig_types[32]
1467 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1468 #define SWIGTYPE_p_wxDC swig_types[34]
1469 #define SWIGTYPE_p_wxDataFormat swig_types[35]
1470 #define SWIGTYPE_p_wxDataObject swig_types[36]
1471 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1472 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDateSpan swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1477 #define SWIGTYPE_p_wxDisplay swig_types[43]
1478 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1480 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
1481 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvent swig_types[48]
1483 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
1484 #define SWIGTYPE_p_wxFSFile swig_types[50]
1485 #define SWIGTYPE_p_wxFileConfig swig_types[51]
1486 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
1487 #define SWIGTYPE_p_wxFileHistory swig_types[53]
1488 #define SWIGTYPE_p_wxFileSystem swig_types[54]
1489 #define SWIGTYPE_p_wxFileType swig_types[55]
1490 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1491 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1492 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
1493 #define SWIGTYPE_p_wxFont swig_types[59]
1494 #define SWIGTYPE_p_wxFrame swig_types[60]
1495 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1496 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
1497 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1498 #define SWIGTYPE_p_wxGridSizer swig_types[64]
1499 #define SWIGTYPE_p_wxICOHandler swig_types[65]
1500 #define SWIGTYPE_p_wxIcon swig_types[66]
1501 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1502 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
1503 #define SWIGTYPE_p_wxImage swig_types[69]
1504 #define SWIGTYPE_p_wxImageHandler swig_types[70]
1505 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1506 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxJoystick swig_types[74]
1509 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1510 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1511 #define SWIGTYPE_p_wxKillError swig_types[77]
1512 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1513 #define SWIGTYPE_p_wxLog swig_types[79]
1514 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
1515 #define SWIGTYPE_p_wxLogChain swig_types[81]
1516 #define SWIGTYPE_p_wxLogGui swig_types[82]
1517 #define SWIGTYPE_p_wxLogNull swig_types[83]
1518 #define SWIGTYPE_p_wxLogStderr swig_types[84]
1519 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1520 #define SWIGTYPE_p_wxLogWindow swig_types[86]
1521 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMemorySize swig_types[88]
1523 #define SWIGTYPE_p_wxMenu swig_types[89]
1524 #define SWIGTYPE_p_wxMenuBar swig_types[90]
1525 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
1526 #define SWIGTYPE_p_wxMenuItem swig_types[92]
1527 #define SWIGTYPE_p_wxMetafile swig_types[93]
1528 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1529 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1530 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1531 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
1532 #define SWIGTYPE_p_wxMouseState swig_types[98]
1533 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
1534 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1535 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1536 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1537 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1538 #define SWIGTYPE_p_wxObject swig_types[104]
1539 #define SWIGTYPE_p_wxOutputStream swig_types[105]
1540 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1542 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1543 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
1544 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1545 #define SWIGTYPE_p_wxPaperSize swig_types[111]
1546 #define SWIGTYPE_p_wxPoint swig_types[112]
1547 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
1548 #define SWIGTYPE_p_wxPyApp swig_types[114]
1549 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1550 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1551 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1552 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1553 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
1554 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1555 #define SWIGTYPE_p_wxPyEvent swig_types[121]
1556 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1557 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1558 #define SWIGTYPE_p_wxPyLog swig_types[124]
1559 #define SWIGTYPE_p_wxPyProcess swig_types[125]
1560 #define SWIGTYPE_p_wxPySizer swig_types[126]
1561 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1562 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1563 #define SWIGTYPE_p_wxPyTimer swig_types[129]
1564 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1565 #define SWIGTYPE_p_wxPyValidator swig_types[131]
1566 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1567 #define SWIGTYPE_p_wxRect swig_types[133]
1568 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
1569 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1570 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1571 #define SWIGTYPE_p_wxShowEvent swig_types[137]
1572 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1573 #define SWIGTYPE_p_wxSize swig_types[139]
1574 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
1575 #define SWIGTYPE_p_wxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxSizerItem swig_types[142]
1577 #define SWIGTYPE_p_wxSound swig_types[143]
1578 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
1579 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1580 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1581 #define SWIGTYPE_p_wxStopWatch swig_types[147]
1582 #define SWIGTYPE_p_wxString swig_types[148]
1583 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1584 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
1585 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
1586 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1587 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
1588 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
1589 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
1590 #define SWIGTYPE_p_wxTimer swig_types[156]
1591 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
1592 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
1593 #define SWIGTYPE_p_wxTipProvider swig_types[159]
1594 #define SWIGTYPE_p_wxToolTip swig_types[160]
1595 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
1596 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1597 #define SWIGTYPE_p_wxValidator swig_types[163]
1598 #define SWIGTYPE_p_wxVideoMode swig_types[164]
1599 #define SWIGTYPE_p_wxWindow swig_types[165]
1600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1601 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1602 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1603 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
1604 #define SWIGTYPE_ptrdiff_t swig_types[170]
1605 #define SWIGTYPE_std__ptrdiff_t swig_types[171]
1606 #define SWIGTYPE_unsigned_int swig_types[172]
1607 static swig_type_info
*swig_types
[174];
1608 static swig_module_info swig_module
= {swig_types
, 173, 0, 0, 0, 0};
1609 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1610 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1612 /* -------- TYPES TABLE (END) -------- */
1615 /*-----------------------------------------------
1616 @(target):= _misc_.so
1617 ------------------------------------------------*/
1618 #define SWIG_init init_misc_
1620 #define SWIG_name "_misc_"
1622 #include "wx/wxPython/wxPython.h"
1623 #include "wx/wxPython/pyclasses.h"
1624 #include "wx/wxPython/pyistream.h"
1626 static const wxString
wxPyEmptyString(wxEmptyString
);
1630 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1631 #define SWIG_From_int PyInt_FromLong
1639 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1642 if (value
< min_value
) {
1644 PyErr_Format(PyExc_OverflowError
,
1645 "value %ld is less than '%s' minimum %ld",
1646 value
, errmsg
, min_value
);
1649 } else if (value
> max_value
) {
1651 PyErr_Format(PyExc_OverflowError
,
1652 "value %ld is greater than '%s' maximum %ld",
1653 value
, errmsg
, max_value
);
1662 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1664 if (PyNumber_Check(obj
)) {
1665 if (val
) *val
= PyInt_AsLong(obj
);
1669 SWIG_type_error("number", obj
);
1675 #if INT_MAX != LONG_MAX
1677 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1679 const char* errmsg
= val
? "int" : (char*)0;
1681 if (SWIG_AsVal_long(obj
, &v
)) {
1682 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1683 if (val
) *val
= static_cast<int >(v
);
1692 SWIG_type_error(errmsg
, obj
);
1697 SWIGINTERNINLINE
int
1698 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1700 return SWIG_AsVal_long(obj
,(long*)val
);
1705 SWIGINTERNINLINE
int
1706 SWIG_As_int(PyObject
* obj
)
1709 if (!SWIG_AsVal_int(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(int));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1725 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1727 #include <wx/stockitem.h>
1729 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1730 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1731 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1733 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1734 #define SWIG_From_long PyInt_FromLong
1738 SWIGINTERNINLINE
long
1739 SWIG_As_long(PyObject
* obj
)
1742 if (!SWIG_AsVal_long(obj
, &v
)) {
1744 this is needed to make valgrind/purify happier.
1746 memset((void*)&v
, 0, sizeof(long));
1752 SWIGINTERNINLINE
int
1753 SWIG_Check_long(PyObject
* obj
)
1755 return SWIG_AsVal_long(obj
, (long*)0);
1760 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1762 if (obj
== Py_True
) {
1763 if (val
) *val
= true;
1766 if (obj
== Py_False
) {
1767 if (val
) *val
= false;
1771 if (SWIG_AsVal_int(obj
, &res
)) {
1772 if (val
) *val
= res
? true : false;
1778 SWIG_type_error("bool", obj
);
1784 SWIGINTERNINLINE
bool
1785 SWIG_As_bool(PyObject
* obj
)
1788 if (!SWIG_AsVal_bool(obj
, &v
)) {
1790 this is needed to make valgrind/purify happier.
1792 memset((void*)&v
, 0, sizeof(bool));
1798 SWIGINTERNINLINE
int
1799 SWIG_Check_bool(PyObject
* obj
)
1801 return SWIG_AsVal_bool(obj
, (bool*)0);
1805 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1811 } else if (target
== Py_None
) {
1815 if (!PyTuple_Check(target
)) {
1817 target
= PyTuple_New(1);
1818 PyTuple_SetItem(target
, 0, o2
);
1820 o3
= PyTuple_New(1);
1821 PyTuple_SetItem(o3
, 0, o
);
1824 target
= 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_type_error("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 somce 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_type_error("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
;
7010 resultobj
= wxPyMake_wxObject(result
, 1);
7026 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
= NULL
;
7028 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7029 wxString
*arg2
= 0 ;
7030 bool temp2
= false ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "tip", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7039 if (SWIG_arg_fail(1)) SWIG_fail
;
7041 arg2
= wxString_in_helper(obj1
);
7042 if (arg2
== NULL
) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->SetTip((wxString
const &)*arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= NULL
;
7069 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "self", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (arg1
)->GetTip();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7099 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
= NULL
;
7101 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "self", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
7109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
7110 if (SWIG_arg_fail(1)) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxWindow
*)(arg1
)->GetWindow();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= wxPyMake_wxObject(result
, 0);
7127 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
= NULL
;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "flag", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
7137 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
7138 if (SWIG_arg_fail(1)) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxToolTip::Enable(arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
= NULL
;
7157 PyObject
* obj0
= 0 ;
7159 (char *) "milliseconds", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
7164 arg1
= static_cast<long >(SWIG_As_long(obj0
));
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxToolTip::SetDelay(arg1
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
7183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7184 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
7186 return Py_BuildValue((char *)"");
7188 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
= NULL
;
7190 wxWindow
*arg1
= (wxWindow
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7195 PyObject
* obj1
= 0 ;
7197 (char *) "window",(char *) "size", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
7201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7202 if (SWIG_arg_fail(1)) SWIG_fail
;
7205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
7222 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= NULL
;
7224 wxCaret
*arg1
= (wxCaret
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7227 (char *) "self", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
7231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxCaret_Destroy(arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
= NULL
;
7249 wxCaret
*arg1
= (wxCaret
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (bool)(arg1
)->IsOk();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7275 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= NULL
;
7277 wxCaret
*arg1
= (wxCaret
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "self", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
7285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7286 if (SWIG_arg_fail(1)) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (bool)(arg1
)->IsVisible();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7303 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= NULL
;
7305 wxCaret
*arg1
= (wxCaret
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "self", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (arg1
)->GetPosition();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 wxPoint
* resultptr
;
7324 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
7325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
7333 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
= NULL
;
7335 wxCaret
*arg1
= (wxCaret
*) 0 ;
7336 int *arg2
= (int *) 0 ;
7337 int *arg3
= (int *) 0 ;
7342 PyObject
* obj0
= 0 ;
7344 (char *) "self", NULL
7347 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7348 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
7350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7351 if (SWIG_arg_fail(1)) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 (arg1
)->GetPosition(arg2
,arg3
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7361 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7362 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7363 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7370 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
= NULL
;
7372 wxCaret
*arg1
= (wxCaret
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
7380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (arg1
)->GetSize();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7391 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
7392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7400 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
= NULL
;
7402 wxCaret
*arg1
= (wxCaret
*) 0 ;
7403 int *arg2
= (int *) 0 ;
7404 int *arg3
= (int *) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self", NULL
7414 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
7415 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 (arg1
)->GetSize(arg2
,arg3
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
7428 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
7429 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7430 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7437 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
= NULL
;
7439 wxCaret
*arg1
= (wxCaret
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
7447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (wxWindow
*)(arg1
)->GetWindow();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= wxPyMake_wxObject(result
, 0);
7465 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
= NULL
;
7467 wxCaret
*arg1
= (wxCaret
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7472 PyObject
* obj2
= 0 ;
7474 (char *) "self",(char *) "x",(char *) "y", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7479 if (SWIG_arg_fail(1)) SWIG_fail
;
7481 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7482 if (SWIG_arg_fail(2)) SWIG_fail
;
7485 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7486 if (SWIG_arg_fail(3)) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->Move(arg2
,arg3
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
= NULL
;
7504 wxCaret
*arg1
= (wxCaret
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7510 (char *) "self",(char *) "pt", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
7514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail
;
7518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 (arg1
)->Move((wxPoint
const &)*arg2
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 Py_INCREF(Py_None
); resultobj
= Py_None
;
7534 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
= NULL
;
7536 wxCaret
*arg1
= (wxCaret
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7541 PyObject
* obj2
= 0 ;
7543 (char *) "self",(char *) "width",(char *) "height", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7551 if (SWIG_arg_fail(2)) SWIG_fail
;
7554 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7555 if (SWIG_arg_fail(3)) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->SetSize(arg2
,arg3
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 Py_INCREF(Py_None
); resultobj
= Py_None
;
7571 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
= NULL
;
7573 wxCaret
*arg1
= (wxCaret
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "size", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 (arg1
)->SetSize((wxSize
const &)*arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
= NULL
;
7605 wxCaret
*arg1
= (wxCaret
*) 0 ;
7606 int arg2
= (int) true ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7610 (char *) "self",(char *) "show", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7618 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7619 if (SWIG_arg_fail(2)) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= NULL
;
7638 wxCaret
*arg1
= (wxCaret
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
7645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
7646 if (SWIG_arg_fail(1)) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
= NULL
;
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (int)wxCaret::GetBlinkTime();
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_From_int(static_cast<int >(result
));
7685 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
= NULL
;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "milliseconds", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
7695 arg1
= static_cast<int >(SWIG_As_int(obj0
));
7696 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxCaret::SetBlinkTime(arg1
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7712 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
7714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7715 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
7717 return Py_BuildValue((char *)"");
7719 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
= NULL
;
7721 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7722 wxBusyCursor
*result
;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "cursor", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
7730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
7731 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 if (!wxPyCheckForApp()) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
7748 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
= NULL
;
7750 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "self", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7776 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7778 return Py_BuildValue((char *)"");
7780 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
= NULL
;
7782 wxWindow
*arg1
= (wxWindow
*) NULL
;
7783 wxWindowDisabler
*result
;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "winToSkip", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail
;
7795 if (!wxPyCheckForApp()) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7809 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
= NULL
;
7811 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "self", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= NULL
;
7843 wxString
*arg1
= 0 ;
7845 bool temp1
= false ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "message", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7853 arg1
= wxString_in_helper(obj0
);
7854 if (arg1
== NULL
) SWIG_fail
;
7858 if (!wxPyCheckForApp()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7880 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
= NULL
;
7882 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "self", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7890 if (SWIG_arg_fail(1)) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7908 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7910 return Py_BuildValue((char *)"");
7912 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
= NULL
;
7914 wxStopWatch
*result
;
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (wxStopWatch
*)new wxStopWatch();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7934 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
= NULL
;
7936 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7937 long arg2
= (long) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "t0", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7949 arg2
= static_cast<long >(SWIG_As_long(obj1
));
7950 if (SWIG_arg_fail(2)) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->Start(arg2
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 Py_INCREF(Py_None
); resultobj
= Py_None
;
7967 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
= NULL
;
7969 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= NULL
;
7994 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "self", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= NULL
;
8019 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (long)((wxStopWatch
const *)arg1
)->Time();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_long(static_cast<long >(result
));
8045 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
8047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8048 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
8050 return Py_BuildValue((char *)"");
8052 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
= NULL
;
8054 int arg1
= (int) 9 ;
8055 int arg2
= (int) wxID_FILE1
;
8056 wxFileHistory
*result
;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8060 (char *) "maxFiles",(char *) "idBase", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8066 arg1
= static_cast<int >(SWIG_As_int(obj0
));
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8073 if (SWIG_arg_fail(2)) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
8090 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
= NULL
;
8092 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 Py_INCREF(Py_None
); resultobj
= Py_None
;
8115 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
= NULL
;
8117 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8118 wxString
*arg2
= 0 ;
8119 bool temp2
= false ;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8123 (char *) "self",(char *) "file", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8128 if (SWIG_arg_fail(1)) SWIG_fail
;
8130 arg2
= wxString_in_helper(obj1
);
8131 if (arg2
== NULL
) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
= NULL
;
8158 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8163 (char *) "self",(char *) "i", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
8167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail
;
8170 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8171 if (SWIG_arg_fail(2)) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->RemoveFileFromHistory(arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= NULL
;
8189 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
8197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8198 if (SWIG_arg_fail(1)) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_From_int(static_cast<int >(result
));
8215 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
= NULL
;
8217 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8218 wxMenu
*arg2
= (wxMenu
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8222 (char *) "self",(char *) "menu", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8227 if (SWIG_arg_fail(1)) SWIG_fail
;
8228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8229 if (SWIG_arg_fail(2)) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->UseMenu(arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 Py_INCREF(Py_None
); resultobj
= Py_None
;
8244 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
= NULL
;
8246 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8247 wxMenu
*arg2
= (wxMenu
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8251 (char *) "self",(char *) "menu", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8256 if (SWIG_arg_fail(1)) SWIG_fail
;
8257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(2)) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->RemoveMenu(arg2
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
= NULL
;
8275 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8276 wxConfigBase
*arg2
= 0 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8280 (char *) "self",(char *) "config", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
8284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8285 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(2)) SWIG_fail
;
8290 SWIG_null_ref("wxConfigBase");
8292 if (SWIG_arg_fail(2)) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->Load(*arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
= NULL
;
8310 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8311 wxConfigBase
*arg2
= 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "config", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8323 if (SWIG_arg_fail(2)) SWIG_fail
;
8325 SWIG_null_ref("wxConfigBase");
8327 if (SWIG_arg_fail(2)) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 (arg1
)->Save(*arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8343 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= NULL
;
8345 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8346 PyObject
* obj0
= 0 ;
8348 (char *) "self", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
8352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 (arg1
)->AddFilesToMenu();
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= NULL
;
8370 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8371 wxMenu
*arg2
= (wxMenu
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "menu", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail
;
8381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
8382 if (SWIG_arg_fail(2)) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->AddFilesToMenu(arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8397 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= NULL
;
8399 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8405 (char *) "self",(char *) "i", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail
;
8412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8413 if (SWIG_arg_fail(2)) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8435 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
= NULL
;
8437 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
8445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_From_int(static_cast<int >(result
));
8463 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
8465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
8468 return Py_BuildValue((char *)"");
8470 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
= NULL
;
8472 wxString
*arg1
= 0 ;
8473 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8474 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8475 wxSingleInstanceChecker
*result
;
8476 bool temp1
= false ;
8477 bool temp2
= false ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "name",(char *) "path", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
8486 arg1
= wxString_in_helper(obj0
);
8487 if (arg1
== NULL
) SWIG_fail
;
8492 arg2
= wxString_in_helper(obj1
);
8493 if (arg2
== NULL
) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8527 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
= NULL
;
8529 wxSingleInstanceChecker
*result
;
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
8549 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
= NULL
;
8551 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 Py_INCREF(Py_None
); resultobj
= Py_None
;
8574 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= NULL
;
8576 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8577 wxString
*arg2
= 0 ;
8578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8581 bool temp2
= false ;
8582 bool temp3
= false ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8587 (char *) "self",(char *) "name",(char *) "path", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail
;
8594 arg2
= wxString_in_helper(obj1
);
8595 if (arg2
== NULL
) SWIG_fail
;
8600 arg3
= wxString_in_helper(obj2
);
8601 if (arg3
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8637 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
= NULL
;
8639 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
8647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
8667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8668 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
8670 return Py_BuildValue((char *)"");
8672 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
= NULL
;
8674 wxWindow
*arg1
= (wxWindow
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8680 (char *) "window",(char *) "dc", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
8684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8685 if (SWIG_arg_fail(1)) SWIG_fail
;
8687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(2)) SWIG_fail
;
8690 SWIG_null_ref("wxDC");
8692 if (SWIG_arg_fail(2)) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8710 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= NULL
;
8712 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8713 PyObject
* obj0
= 0 ;
8715 (char *) "self", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
8719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8720 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= NULL
;
8737 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8741 (char *) "self", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (arg1
)->GetTip();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8767 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= NULL
;
8769 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8778 if (SWIG_arg_fail(1)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (size_t)(arg1
)->GetCurrentTip();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8795 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= NULL
;
8797 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8798 wxString
*arg2
= 0 ;
8800 bool temp2
= false ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "tip", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 arg2
= wxString_in_helper(obj1
);
8812 if (arg2
== NULL
) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8843 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8846 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8848 return Py_BuildValue((char *)"");
8850 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= NULL
;
8853 wxPyTipProvider
*result
;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "currentTip", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8861 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8862 if (SWIG_arg_fail(1)) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8878 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
= NULL
;
8880 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8881 PyObject
*arg2
= (PyObject
*) 0 ;
8882 PyObject
*arg3
= (PyObject
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8887 (char *) "self",(char *) "self",(char *) "_class", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8892 if (SWIG_arg_fail(1)) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 Py_INCREF(Py_None
); resultobj
= Py_None
;
8909 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8912 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8914 return Py_BuildValue((char *)"");
8916 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= NULL
;
8918 wxWindow
*arg1
= (wxWindow
*) 0 ;
8919 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8920 bool arg3
= (bool) true ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8926 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8933 if (SWIG_arg_fail(2)) SWIG_fail
;
8936 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8937 if (SWIG_arg_fail(3)) SWIG_fail
;
8941 if (!wxPyCheckForApp()) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8957 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= NULL
;
8959 wxString
*arg1
= 0 ;
8961 wxTipProvider
*result
;
8962 bool temp1
= false ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8966 (char *) "filename",(char *) "currentTip", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8971 arg1
= wxString_in_helper(obj0
);
8972 if (arg1
== NULL
) SWIG_fail
;
8976 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8977 if (SWIG_arg_fail(2)) SWIG_fail
;
8980 if (!wxPyCheckForApp()) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
9002 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= NULL
;
9004 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9005 int arg2
= (int) -1 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "owner",(char *) "id", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
9015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail
;
9020 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9021 if (SWIG_arg_fail(2)) SWIG_fail
;
9025 if (!wxPyCheckForApp()) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
9039 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= NULL
;
9041 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "self", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
9048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
= NULL
;
9066 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9067 PyObject
*arg2
= (PyObject
*) 0 ;
9068 PyObject
*arg3
= (PyObject
*) 0 ;
9069 int arg4
= (int) 1 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 PyObject
* obj2
= 0 ;
9073 PyObject
* obj3
= 0 ;
9075 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9085 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9086 if (SWIG_arg_fail(4)) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 Py_INCREF(Py_None
); resultobj
= Py_None
;
9103 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
= NULL
;
9105 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9106 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
9107 int arg3
= (int) -1 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9112 (char *) "self",(char *) "owner",(char *) "id", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9117 if (SWIG_arg_fail(1)) SWIG_fail
;
9118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
9119 if (SWIG_arg_fail(2)) SWIG_fail
;
9122 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9123 if (SWIG_arg_fail(3)) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 (arg1
)->SetOwner(arg2
,arg3
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 Py_INCREF(Py_None
); resultobj
= Py_None
;
9140 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= NULL
;
9142 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9143 wxEvtHandler
*result
;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "self", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= wxPyMake_wxObject(result
, 0);
9168 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= NULL
;
9170 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9171 int arg2
= (int) -1 ;
9172 bool arg3
= (bool) false ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9178 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9187 if (SWIG_arg_fail(2)) SWIG_fail
;
9192 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9193 if (SWIG_arg_fail(3)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (bool)(arg1
)->Start(arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= NULL
;
9214 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
9221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= NULL
;
9239 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
9247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9248 if (SWIG_arg_fail(1)) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= NULL
;
9267 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_From_int(static_cast<int >(result
));
9293 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
9303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= NULL
;
9323 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_From_int(static_cast<int >(result
));
9349 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
9351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9352 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
9354 return Py_BuildValue((char *)"");
9356 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
= NULL
;
9358 int arg1
= (int) 0 ;
9359 int arg2
= (int) 0 ;
9360 wxTimerEvent
*result
;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9364 (char *) "timerid",(char *) "interval", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9377 if (SWIG_arg_fail(2)) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
9394 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
= NULL
;
9396 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
9404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_From_int(static_cast<int >(result
));
9422 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
9424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
9427 return Py_BuildValue((char *)"");
9429 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
9430 PyObject
*resultobj
= NULL
;
9432 wxTimerRunner
*result
;
9433 PyObject
* obj0
= 0 ;
9435 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
9437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail
;
9440 SWIG_null_ref("wxTimer");
9442 if (SWIG_arg_fail(1)) SWIG_fail
;
9445 if (!wxPyCheckForApp()) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9459 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
9460 PyObject
*resultobj
= NULL
;
9464 wxTimerRunner
*result
;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 PyObject
* obj2
= 0 ;
9469 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
9471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9472 if (SWIG_arg_fail(1)) SWIG_fail
;
9474 SWIG_null_ref("wxTimer");
9476 if (SWIG_arg_fail(1)) SWIG_fail
;
9479 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9480 if (SWIG_arg_fail(2)) SWIG_fail
;
9483 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9484 if (SWIG_arg_fail(3)) SWIG_fail
;
9487 if (!wxPyCheckForApp()) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9501 static PyObject
*_wrap_new_TimerRunner__SWIG_2(PyObject
*, PyObject
*args
) {
9502 PyObject
*resultobj
= NULL
;
9505 wxTimerRunner
*result
;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9509 if(!PyArg_ParseTuple(args
,(char *)"OO:new_TimerRunner",&obj0
,&obj1
)) goto fail
;
9511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail
;
9514 SWIG_null_ref("wxTimer");
9516 if (SWIG_arg_fail(1)) SWIG_fail
;
9519 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9523 if (!wxPyCheckForApp()) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
9537 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
9542 argc
= PyObject_Length(args
);
9543 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9558 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
9565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9573 _v
= SWIG_Check_int(argv
[1]);
9575 return _wrap_new_TimerRunner__SWIG_2(self
,args
);
9583 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
9591 _v
= SWIG_Check_int(argv
[1]);
9593 _v
= SWIG_Check_bool(argv
[2]);
9595 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
9601 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
9606 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
= NULL
;
9608 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
9615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9616 if (SWIG_arg_fail(1)) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 Py_INCREF(Py_None
); resultobj
= Py_None
;
9631 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
= NULL
;
9633 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
9635 bool arg3
= (bool) false ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9640 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
9645 if (SWIG_arg_fail(1)) SWIG_fail
;
9647 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9648 if (SWIG_arg_fail(2)) SWIG_fail
;
9652 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9653 if (SWIG_arg_fail(3)) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->Start(arg2
,arg3
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9670 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
9672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9673 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
9675 return Py_BuildValue((char *)"");
9677 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
= NULL
;
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (wxLog
*)new wxLog();
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
9699 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= NULL
;
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)wxLog::IsEnabled();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= NULL
;
9725 bool arg1
= (bool) true ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "doIt", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
9735 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9736 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)wxLog::EnableLogging(arg1
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= NULL
;
9758 wxChar
*arg2
= (wxChar
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9761 PyObject
* obj1
= 0 ;
9762 PyObject
* obj2
= 0 ;
9764 (char *) "level",(char *) "szString",(char *) "t", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9769 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9770 if (SWIG_arg_fail(1)) SWIG_fail
;
9772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9773 if (SWIG_arg_fail(2)) SWIG_fail
;
9775 arg3
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2
));
9776 if (SWIG_arg_fail(3)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 Py_INCREF(Py_None
); resultobj
= Py_None
;
9792 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
= NULL
;
9794 wxLog
*arg1
= (wxLog
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
9801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 Py_INCREF(Py_None
); resultobj
= Py_None
;
9817 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= NULL
;
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxLog::FlushActive();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
= NULL
;
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (wxLog
*)wxLog::GetActiveTarget();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9860 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= NULL
;
9862 wxLog
*arg1
= (wxLog
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "pLogger", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9886 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= NULL
;
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 Py_INCREF(Py_None
); resultobj
= Py_None
;
9907 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= NULL
;
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9928 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= NULL
;
9930 bool arg1
= (bool) true ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "bVerbose", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9939 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxLog::SetVerbose(arg1
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 Py_INCREF(Py_None
); resultobj
= Py_None
;
9957 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= NULL
;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "logLevel", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9967 arg1
= static_cast<wxLogLevel
>(SWIG_As_unsigned_SS_long(obj0
));
9968 if (SWIG_arg_fail(1)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxLog::SetLogLevel(arg1
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 Py_INCREF(Py_None
); resultobj
= Py_None
;
9984 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= NULL
;
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 wxLog::DontCreateOnDemand();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10005 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
= NULL
;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "ulMask", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
10015 arg1
= static_cast<wxTraceMask
>(SWIG_As_unsigned_SS_long(obj0
));
10016 if (SWIG_arg_fail(1)) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxLog::SetTraceMask(arg1
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10032 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= NULL
;
10034 wxString
*arg1
= 0 ;
10035 bool temp1
= false ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "str", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
10043 arg1
= wxString_in_helper(obj0
);
10044 if (arg1
== NULL
) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 wxLog::AddTraceMask((wxString
const &)*arg1
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= NULL
;
10071 wxString
*arg1
= 0 ;
10072 bool temp1
= false ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "str", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
10080 arg1
= wxString_in_helper(obj0
);
10081 if (arg1
== NULL
) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10106 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
= NULL
;
10108 char *kwnames
[] = {
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 wxLog::ClearTraceMasks();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
= NULL
;
10129 wxArrayString
*result
;
10130 char *kwnames
[] = {
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
10139 result
= (wxArrayString
*) &_result_ref
;
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= wxArrayString2PyList_helper(*result
);
10154 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
= NULL
;
10156 wxChar
*arg1
= (wxChar
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "ts", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
10163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10164 if (SWIG_arg_fail(1)) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 wxLog::SetTimestamp((wxChar
const *)arg1
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
= NULL
;
10182 char *kwnames
[] = {
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (bool)wxLog::GetVerbose();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= NULL
;
10205 wxTraceMask result
;
10206 char *kwnames
[] = {
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (wxTraceMask
)wxLog::GetTraceMask();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10227 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= NULL
;
10229 wxChar
*arg1
= (wxChar
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "mask", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
10237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10255 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= NULL
;
10258 char *kwnames
[] = {
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (wxLogLevel
)wxLog::GetLogLevel();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10279 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= NULL
;
10282 char *kwnames
[] = {
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (wxChar
*)wxLog::GetTimestamp();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
10301 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= NULL
;
10304 char *kwnames
[] = {
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= wxLog_TimeStamp();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10329 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= NULL
;
10331 wxLog
*arg1
= (wxLog
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 wxLog_Destroy(arg1
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 Py_INCREF(Py_None
); resultobj
= Py_None
;
10354 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
10356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10357 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
10359 return Py_BuildValue((char *)"");
10361 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= NULL
;
10363 wxLogStderr
*result
;
10364 char *kwnames
[] = {
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (wxLogStderr
*)new wxLogStderr();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
10383 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
10385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10386 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
10388 return Py_BuildValue((char *)"");
10390 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
= NULL
;
10392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10393 wxLogTextCtrl
*result
;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "pTextCtrl", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
10400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
10416 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10419 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
10421 return Py_BuildValue((char *)"");
10423 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= NULL
;
10426 char *kwnames
[] = {
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (wxLogGui
*)new wxLogGui();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
10445 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
10447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10448 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
10450 return Py_BuildValue((char *)"");
10452 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
= NULL
;
10454 wxFrame
*arg1
= (wxFrame
*) 0 ;
10455 wxString
*arg2
= 0 ;
10456 bool arg3
= (bool) true ;
10457 bool arg4
= (bool) true ;
10458 wxLogWindow
*result
;
10459 bool temp2
= false ;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 PyObject
* obj3
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail
;
10472 arg2
= wxString_in_helper(obj1
);
10473 if (arg2
== NULL
) SWIG_fail
;
10478 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10479 if (SWIG_arg_fail(3)) SWIG_fail
;
10484 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10485 if (SWIG_arg_fail(4)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
10510 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
= NULL
;
10512 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10513 bool arg2
= (bool) true ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "bShow", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10522 if (SWIG_arg_fail(1)) SWIG_fail
;
10525 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10526 if (SWIG_arg_fail(2)) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->Show(arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= NULL
;
10545 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= wxPyMake_wxObject(result
, 0);
10571 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= NULL
;
10573 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
10581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10597 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= NULL
;
10599 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10625 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
= NULL
;
10627 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "bDoPass", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
10637 if (SWIG_arg_fail(1)) SWIG_fail
;
10639 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10640 if (SWIG_arg_fail(2)) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 (arg1
)->PassMessages(arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 Py_INCREF(Py_None
); resultobj
= Py_None
;
10656 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
10658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10659 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
10661 return Py_BuildValue((char *)"");
10663 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= NULL
;
10665 wxLog
*arg1
= (wxLog
*) 0 ;
10666 wxLogChain
*result
;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "logger", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (wxLogChain
*)new wxLogChain(arg1
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
10689 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
= NULL
;
10691 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10692 wxLog
*arg2
= (wxLog
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "logger", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
10703 if (SWIG_arg_fail(2)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->SetLog(arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
= NULL
;
10720 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "bDoPass", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10730 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10733 if (SWIG_arg_fail(2)) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->PassMessages(arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
= NULL
;
10751 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
10759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (bool)(arg1
)->IsPassingMessages();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10777 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
= NULL
;
10779 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxLog
*)(arg1
)->GetOldLog();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
10803 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
10805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10806 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10808 return Py_BuildValue((char *)"");
10810 static PyObject
*_wrap_new_LogBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= NULL
;
10812 wxLogBuffer
*result
;
10813 char *kwnames
[] = {
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogBuffer",kwnames
)) goto fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (wxLogBuffer
*)new wxLogBuffer();
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogBuffer
, 1);
10832 static PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
= NULL
;
10834 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_GetBuffer",kwnames
,&obj0
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
10848 result
= (wxString
*) &_result_ref
;
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10858 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10867 static PyObject
*_wrap_LogBuffer_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= NULL
;
10869 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogBuffer_Flush",kwnames
,&obj0
)) goto fail
;
10876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_EXCEPTION
| 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
* LogBuffer_swigregister(PyObject
*, PyObject
*args
) {
10894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10895 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer
, obj
);
10897 return Py_BuildValue((char *)"");
10899 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= NULL
;
10901 unsigned long result
;
10902 char *kwnames
[] = {
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (unsigned long)wxSysErrorCode();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
10923 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
= NULL
;
10925 unsigned long arg1
= (unsigned long) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "nErrCode", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10935 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
10936 if (SWIG_arg_fail(1)) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= wxSysErrorMsg(arg1
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10959 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= NULL
;
10961 wxString
*arg1
= 0 ;
10962 bool temp1
= false ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "msg", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10970 arg1
= wxString_in_helper(obj0
);
10971 if (arg1
== NULL
) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 wxPyLogFatalError((wxString
const &)*arg1
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= NULL
;
10998 wxString
*arg1
= 0 ;
10999 bool temp1
= false ;
11000 PyObject
* obj0
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "msg", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
11007 arg1
= wxString_in_helper(obj0
);
11008 if (arg1
== NULL
) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 wxPyLogError((wxString
const &)*arg1
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
= NULL
;
11035 wxString
*arg1
= 0 ;
11036 bool temp1
= false ;
11037 PyObject
* obj0
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "msg", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
11044 arg1
= wxString_in_helper(obj0
);
11045 if (arg1
== NULL
) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 wxPyLogWarning((wxString
const &)*arg1
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= NULL
;
11072 wxString
*arg1
= 0 ;
11073 bool temp1
= false ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "msg", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
11081 arg1
= wxString_in_helper(obj0
);
11082 if (arg1
== NULL
) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 wxPyLogMessage((wxString
const &)*arg1
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= NULL
;
11109 wxString
*arg1
= 0 ;
11110 bool temp1
= false ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "msg", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
11118 arg1
= wxString_in_helper(obj0
);
11119 if (arg1
== NULL
) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 wxPyLogInfo((wxString
const &)*arg1
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 Py_INCREF(Py_None
); resultobj
= Py_None
;
11144 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= NULL
;
11146 wxString
*arg1
= 0 ;
11147 bool temp1
= false ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "msg", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
11155 arg1
= wxString_in_helper(obj0
);
11156 if (arg1
== NULL
) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxPyLogDebug((wxString
const &)*arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
= NULL
;
11183 wxString
*arg1
= 0 ;
11184 bool temp1
= false ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "msg", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
11192 arg1
= wxString_in_helper(obj0
);
11193 if (arg1
== NULL
) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 wxPyLogVerbose((wxString
const &)*arg1
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 Py_INCREF(Py_None
); resultobj
= Py_None
;
11218 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
= NULL
;
11220 wxString
*arg1
= 0 ;
11221 bool temp1
= false ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "msg", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
11229 arg1
= wxString_in_helper(obj0
);
11230 if (arg1
== NULL
) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 wxPyLogStatus((wxString
const &)*arg1
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
= NULL
;
11257 wxFrame
*arg1
= (wxFrame
*) 0 ;
11258 wxString
*arg2
= 0 ;
11259 bool temp2
= false ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "pFrame",(char *) "msg", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= wxString_in_helper(obj1
);
11271 if (arg2
== NULL
) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
= NULL
;
11298 wxString
*arg1
= 0 ;
11299 bool temp1
= false ;
11300 PyObject
* obj0
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "msg", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
11307 arg1
= wxString_in_helper(obj0
);
11308 if (arg1
== NULL
) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 wxPyLogSysError((wxString
const &)*arg1
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11333 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= NULL
;
11335 unsigned long arg1
;
11336 wxString
*arg2
= 0 ;
11337 bool temp2
= false ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "level",(char *) "msg", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
11346 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11347 if (SWIG_arg_fail(1)) SWIG_fail
;
11350 arg2
= wxString_in_helper(obj1
);
11351 if (arg2
== NULL
) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 Py_INCREF(Py_None
); resultobj
= Py_None
;
11376 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
11377 PyObject
*resultobj
= NULL
;
11378 unsigned long arg1
;
11379 wxString
*arg2
= 0 ;
11380 bool temp2
= false ;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11384 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11386 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
11387 if (SWIG_arg_fail(1)) SWIG_fail
;
11390 arg2
= wxString_in_helper(obj1
);
11391 if (arg2
== NULL
) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11416 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
11417 PyObject
*resultobj
= NULL
;
11418 wxString
*arg1
= 0 ;
11419 wxString
*arg2
= 0 ;
11420 bool temp1
= false ;
11421 bool temp2
= false ;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11425 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
11427 arg1
= wxString_in_helper(obj0
);
11428 if (arg1
== NULL
) SWIG_fail
;
11432 arg2
= wxString_in_helper(obj1
);
11433 if (arg2
== NULL
) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
11471 argc
= PyObject_Length(args
);
11472 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11478 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11482 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11485 return _wrap_LogTrace__SWIG_1(self
,args
);
11491 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
11494 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11497 return _wrap_LogTrace__SWIG_0(self
,args
);
11502 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
11507 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
= NULL
;
11509 wxString
*arg1
= 0 ;
11510 wxString
*arg2
= 0 ;
11511 bool temp1
= false ;
11512 bool temp2
= false ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "title",(char *) "text", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11521 arg1
= wxString_in_helper(obj0
);
11522 if (arg1
== NULL
) SWIG_fail
;
11526 arg2
= wxString_in_helper(obj1
);
11527 if (arg2
== NULL
) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= NULL
;
11563 char *kwnames
[] = {
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (wxLogNull
*)new wxLogNull();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
11582 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
= NULL
;
11584 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
11591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
11609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11610 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
11612 return Py_BuildValue((char *)"");
11614 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= NULL
;
11617 char *kwnames
[] = {
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (wxPyLog
*)new wxPyLog();
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
11636 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
= NULL
;
11638 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
11639 PyObject
*arg2
= (PyObject
*) 0 ;
11640 PyObject
*arg3
= (PyObject
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "self",(char *) "_class", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
11669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
11672 return Py_BuildValue((char *)"");
11674 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
= NULL
;
11677 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11678 int arg3
= (int) wxKILL_NOCHILDREN
;
11679 wxKillError result
;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11689 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11694 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
11695 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11701 if (SWIG_arg_fail(3)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_From_int((result
));
11718 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
= NULL
;
11722 PyObject
* obj0
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "pid", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
11729 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (bool)wxPyProcess::Exists(arg1
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11748 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
= NULL
;
11750 wxString
*arg1
= 0 ;
11751 int arg2
= (int) wxEXEC_ASYNC
;
11752 wxPyProcess
*result
;
11753 bool temp1
= false ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "cmd",(char *) "flags", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
11762 arg1
= wxString_in_helper(obj0
);
11763 if (arg1
== NULL
) SWIG_fail
;
11768 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11769 if (SWIG_arg_fail(2)) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
11794 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= NULL
;
11796 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11797 int arg2
= (int) -1 ;
11798 wxPyProcess
*result
;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "parent",(char *) "id", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
11807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
11808 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11813 if (SWIG_arg_fail(2)) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
11830 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
= NULL
;
11832 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11833 PyObject
*arg2
= (PyObject
*) 0 ;
11834 PyObject
*arg3
= (PyObject
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 PyObject
* obj2
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "self",(char *) "_class", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 Py_INCREF(Py_None
); resultobj
= Py_None
;
11861 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
= NULL
;
11863 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11866 PyObject
* obj0
= 0 ;
11867 PyObject
* obj1
= 0 ;
11868 PyObject
* obj2
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "pid",(char *) "status", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11878 if (SWIG_arg_fail(2)) SWIG_fail
;
11881 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11882 if (SWIG_arg_fail(3)) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->base_OnTerminate(arg2
,arg3
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 Py_INCREF(Py_None
); resultobj
= Py_None
;
11898 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
= NULL
;
11900 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11908 if (SWIG_arg_fail(1)) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 (arg1
)->Redirect();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 Py_INCREF(Py_None
); resultobj
= Py_None
;
11923 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= NULL
;
11925 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (bool)(arg1
)->IsRedirected();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11951 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
= NULL
;
11953 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 Py_INCREF(Py_None
); resultobj
= Py_None
;
11976 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
= NULL
;
11978 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11979 wxInputStream
*result
;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11987 if (SWIG_arg_fail(1)) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 wxPyInputStream
* _ptr
= NULL
;
11999 _ptr
= new wxPyInputStream(result
);
12001 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12009 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
= NULL
;
12011 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12012 wxInputStream
*result
;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 wxPyInputStream
* _ptr
= NULL
;
12032 _ptr
= new wxPyInputStream(result
);
12034 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12042 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
= NULL
;
12044 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12045 wxOutputStream
*result
;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
12052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12053 if (SWIG_arg_fail(1)) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
12068 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
= NULL
;
12070 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
12077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->CloseOutput();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
= NULL
;
12095 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12121 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
= NULL
;
12123 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12149 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
= NULL
;
12151 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
12159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12160 if (SWIG_arg_fail(1)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12177 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
12179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12180 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
12182 return Py_BuildValue((char *)"");
12184 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= NULL
;
12186 int arg1
= (int) 0 ;
12187 int arg2
= (int) 0 ;
12188 int arg3
= (int) 0 ;
12189 wxProcessEvent
*result
;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 PyObject
* obj2
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12200 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12207 if (SWIG_arg_fail(2)) SWIG_fail
;
12212 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12213 if (SWIG_arg_fail(3)) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
12230 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= NULL
;
12232 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
12240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (int)(arg1
)->GetPid();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_From_int(static_cast<int >(result
));
12258 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
12268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (int)(arg1
)->GetExitCode();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_From_int(static_cast<int >(result
));
12286 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= NULL
;
12288 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self",(char *) "m_pid", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12301 if (SWIG_arg_fail(2)) SWIG_fail
;
12303 if (arg1
) (arg1
)->m_pid
= arg2
;
12305 Py_INCREF(Py_None
); resultobj
= Py_None
;
12312 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
= NULL
;
12314 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
12322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 result
= (int) ((arg1
)->m_pid
);
12327 resultobj
= SWIG_From_int(static_cast<int >(result
));
12335 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= NULL
;
12337 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "m_exitcode", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12349 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12350 if (SWIG_arg_fail(2)) SWIG_fail
;
12352 if (arg1
) (arg1
)->m_exitcode
= arg2
;
12354 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
= NULL
;
12363 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
12371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(1)) SWIG_fail
;
12373 result
= (int) ((arg1
)->m_exitcode
);
12376 resultobj
= SWIG_From_int(static_cast<int >(result
));
12384 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
12386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12387 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
12389 return Py_BuildValue((char *)"");
12391 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= NULL
;
12393 wxString
*arg1
= 0 ;
12394 int arg2
= (int) wxEXEC_ASYNC
;
12395 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
12397 bool temp1
= false ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "command",(char *) "flags",(char *) "process", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12407 arg1
= wxString_in_helper(obj0
);
12408 if (arg1
== NULL
) SWIG_fail
;
12413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12414 if (SWIG_arg_fail(2)) SWIG_fail
;
12418 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
12419 if (SWIG_arg_fail(3)) SWIG_fail
;
12422 if (!wxPyCheckForApp()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_From_long(static_cast<long >(result
));
12446 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
= NULL
;
12449 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12450 wxKillError
*arg3
= (wxKillError
*) 0 ;
12451 int arg4
= (int) wxKILL_NOCHILDREN
;
12453 wxKillError temp3
;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 PyObject
* obj2
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12466 arg1
= static_cast<long >(SWIG_As_long(obj0
));
12467 if (SWIG_arg_fail(1)) SWIG_fail
;
12471 arg2
= static_cast<wxSignal
>(SWIG_As_int(obj1
));
12472 if (SWIG_arg_fail(2)) SWIG_fail
;
12477 arg4
= static_cast<int >(SWIG_As_int(obj2
));
12478 if (SWIG_arg_fail(4)) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_From_int(static_cast<int >(result
));
12493 o
= PyInt_FromLong((long) (*arg3
));
12494 resultobj
= t_output_helper(resultobj
, o
);
12502 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
= NULL
;
12504 int arg1
= (int) wxJOYSTICK1
;
12505 wxJoystick
*result
;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "joystick", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
12514 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12515 if (SWIG_arg_fail(1)) SWIG_fail
;
12519 if (!wxPyCheckForApp()) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (wxJoystick
*)new wxJoystick(arg1
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
12533 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
= NULL
;
12535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
12542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
= NULL
;
12560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
12568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12569 if (SWIG_arg_fail(1)) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (arg1
)->GetPosition();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12578 wxPoint
* resultptr
;
12579 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12588 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
= NULL
;
12590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
12598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (int)(arg1
)->GetZPosition();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int(static_cast<int >(result
));
12616 static PyObject
*_wrap_Joystick_GetButtonState(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_GetButtonState",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
)->GetButtonState();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_int(static_cast<int >(result
));
12644 static PyObject
*_wrap_Joystick_GetPOVPosition(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_GetPOVPosition",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
)->GetPOVPosition();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_From_int(static_cast<int >(result
));
12672 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(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_GetPOVCTSPosition",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
)->GetPOVCTSPosition();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_From_int(static_cast<int >(result
));
12700 static PyObject
*_wrap_Joystick_GetRudderPosition(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_GetRudderPosition",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
)->GetRudderPosition();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= SWIG_From_int(static_cast<int >(result
));
12728 static PyObject
*_wrap_Joystick_GetUPosition(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_GetUPosition",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
)->GetUPosition();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_From_int(static_cast<int >(result
));
12756 static PyObject
*_wrap_Joystick_GetVPosition(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_GetVPosition",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
)->GetVPosition();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_int(static_cast<int >(result
));
12784 static PyObject
*_wrap_Joystick_GetMovementThreshold(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_GetMovementThreshold",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
)->GetMovementThreshold();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_From_int(static_cast<int >(result
));
12812 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= NULL
;
12814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self",(char *) "threshold", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
12823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12824 if (SWIG_arg_fail(1)) SWIG_fail
;
12826 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12827 if (SWIG_arg_fail(2)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->SetMovementThreshold(arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= NULL
;
12845 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
12853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12854 if (SWIG_arg_fail(1)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)(arg1
)->IsOk();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 static PyObject
*_wrap_Joystick_GetNumberJoysticks(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_GetNumberJoysticks",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
= (int)(arg1
)->GetNumberJoysticks();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_From_int(static_cast<int >(result
));
12899 static PyObject
*_wrap_Joystick_GetManufacturerId(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_GetManufacturerId",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
)->GetManufacturerId();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_From_int(static_cast<int >(result
));
12927 static PyObject
*_wrap_Joystick_GetProductId(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_GetProductId",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
)->GetProductId();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_From_int(static_cast<int >(result
));
12955 static PyObject
*_wrap_Joystick_GetProductName(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_GetProductName",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
= (arg1
)->GetProductName();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12987 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= NULL
;
12989 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12998 if (SWIG_arg_fail(1)) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (int)(arg1
)->GetXMin();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_From_int(static_cast<int >(result
));
13015 static PyObject
*_wrap_Joystick_GetYMin(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_GetYMin",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
)->GetYMin();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_From_int(static_cast<int >(result
));
13043 static PyObject
*_wrap_Joystick_GetZMin(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_GetZMin",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
)->GetZMin();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_From_int(static_cast<int >(result
));
13071 static PyObject
*_wrap_Joystick_GetXMax(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_GetXMax",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
)->GetXMax();
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_From_int(static_cast<int >(result
));
13099 static PyObject
*_wrap_Joystick_GetYMax(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_GetYMax",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
)->GetYMax();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_From_int(static_cast<int >(result
));
13127 static PyObject
*_wrap_Joystick_GetZMax(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_GetZMax",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
)->GetZMax();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_From_int(static_cast<int >(result
));
13155 static PyObject
*_wrap_Joystick_GetNumberButtons(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_GetNumberButtons",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
)->GetNumberButtons();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast<int >(result
));
13183 static PyObject
*_wrap_Joystick_GetNumberAxes(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_GetNumberAxes",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
)->GetNumberAxes();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_From_int(static_cast<int >(result
));
13211 static PyObject
*_wrap_Joystick_GetMaxButtons(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_GetMaxButtons",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
)->GetMaxButtons();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_From_int(static_cast<int >(result
));
13239 static PyObject
*_wrap_Joystick_GetMaxAxes(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_GetMaxAxes",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
)->GetMaxAxes();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_From_int(static_cast<int >(result
));
13267 static PyObject
*_wrap_Joystick_GetPollingMin(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_GetPollingMin",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
)->GetPollingMin();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_From_int(static_cast<int >(result
));
13295 static PyObject
*_wrap_Joystick_GetPollingMax(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_GetPollingMax",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
)->GetPollingMax();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_From_int(static_cast<int >(result
));
13323 static PyObject
*_wrap_Joystick_GetRudderMin(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_GetRudderMin",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
)->GetRudderMin();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_From_int(static_cast<int >(result
));
13351 static PyObject
*_wrap_Joystick_GetRudderMax(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_GetRudderMax",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
)->GetRudderMax();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_From_int(static_cast<int >(result
));
13379 static PyObject
*_wrap_Joystick_GetUMin(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_GetUMin",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
)->GetUMin();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_From_int(static_cast<int >(result
));
13407 static PyObject
*_wrap_Joystick_GetUMax(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_GetUMax",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
)->GetUMax();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_From_int(static_cast<int >(result
));
13435 static PyObject
*_wrap_Joystick_GetVMin(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_GetVMin",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
)->GetVMin();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast<int >(result
));
13463 static PyObject
*_wrap_Joystick_GetVMax(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_GetVMax",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
)->GetVMax();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_From_int(static_cast<int >(result
));
13491 static PyObject
*_wrap_Joystick_HasRudder(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_HasRudder",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
= (bool)(arg1
)->HasRudder();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13519 static PyObject
*_wrap_Joystick_HasZ(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_HasZ",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
)->HasZ();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13547 static PyObject
*_wrap_Joystick_HasU(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_HasU",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
)->HasU();
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13575 static PyObject
*_wrap_Joystick_HasV(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_HasV",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
)->HasV();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
*_wrap_Joystick_HasPOV(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_HasPOV",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
)->HasPOV();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13631 static PyObject
*_wrap_Joystick_HasPOV4Dir(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_HasPOV4Dir",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
)->HasPOV4Dir();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 static PyObject
*_wrap_Joystick_HasPOVCTS(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_HasPOVCTS",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
)->HasPOVCTS();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13687 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= NULL
;
13689 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13690 wxWindow
*arg2
= (wxWindow
*) 0 ;
13691 int arg3
= (int) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 PyObject
* obj2
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13702 if (SWIG_arg_fail(1)) SWIG_fail
;
13703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13704 if (SWIG_arg_fail(2)) SWIG_fail
;
13707 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13708 if (SWIG_arg_fail(3)) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= NULL
;
13729 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
13737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
13738 if (SWIG_arg_fail(1)) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (bool)(arg1
)->ReleaseCapture();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13755 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
13757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13758 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
13760 return Py_BuildValue((char *)"");
13762 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= NULL
;
13764 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13765 int arg2
= (int) 0 ;
13766 int arg3
= (int) wxJOYSTICK1
;
13767 int arg4
= (int) 0 ;
13768 wxJoystickEvent
*result
;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 PyObject
* obj2
= 0 ;
13772 PyObject
* obj3
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13780 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13781 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13787 if (SWIG_arg_fail(2)) SWIG_fail
;
13792 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13793 if (SWIG_arg_fail(3)) SWIG_fail
;
13798 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13799 if (SWIG_arg_fail(4)) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13816 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
= NULL
;
13818 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 wxPoint
* resultptr
;
13837 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
13838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13846 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= NULL
;
13848 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13857 if (SWIG_arg_fail(1)) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_From_int(static_cast<int >(result
));
13874 static PyObject
*_wrap_JoystickEvent_GetButtonState(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_GetButtonState",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
)->GetButtonState();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_From_int(static_cast<int >(result
));
13902 static PyObject
*_wrap_JoystickEvent_GetButtonChange(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_GetButtonChange",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
)->GetButtonChange();
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_From_int(static_cast<int >(result
));
13930 static PyObject
*_wrap_JoystickEvent_GetJoystick(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_GetJoystick",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
)->GetJoystick();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_From_int(static_cast<int >(result
));
13958 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
= NULL
;
13960 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "stick", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13973 if (SWIG_arg_fail(2)) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->SetJoystick(arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 Py_INCREF(Py_None
); resultobj
= Py_None
;
13989 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
= NULL
;
13991 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "state", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14001 if (SWIG_arg_fail(1)) SWIG_fail
;
14003 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14004 if (SWIG_arg_fail(2)) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 (arg1
)->SetButtonState(arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 Py_INCREF(Py_None
); resultobj
= Py_None
;
14020 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= NULL
;
14022 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "change", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
14031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14032 if (SWIG_arg_fail(1)) SWIG_fail
;
14034 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14035 if (SWIG_arg_fail(2)) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 (arg1
)->SetButtonChange(arg2
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 Py_INCREF(Py_None
); resultobj
= Py_None
;
14051 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
= NULL
;
14053 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14054 wxPoint
*arg2
= 0 ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "pos", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
= NULL
;
14085 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self",(char *) "zPos", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail
;
14097 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14098 if (SWIG_arg_fail(2)) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 (arg1
)->SetZPosition(arg2
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 Py_INCREF(Py_None
); resultobj
= Py_None
;
14114 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
= NULL
;
14116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14125 if (SWIG_arg_fail(1)) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14142 static PyObject
*_wrap_JoystickEvent_IsMove(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_IsMove",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
)->IsMove();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14170 static PyObject
*_wrap_JoystickEvent_IsZMove(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_IsZMove",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
)->IsZMove();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14198 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
= NULL
;
14200 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14201 int arg2
= (int) wxJOY_BUTTON_ANY
;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "but", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14214 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14215 if (SWIG_arg_fail(2)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
= NULL
;
14236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14237 int arg2
= (int) wxJOY_BUTTON_ANY
;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self",(char *) "but", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail
;
14250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14251 if (SWIG_arg_fail(2)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14270 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
= NULL
;
14272 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
14273 int arg2
= (int) wxJOY_BUTTON_ANY
;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self",(char *) "but", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
14283 if (SWIG_arg_fail(1)) SWIG_fail
;
14286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14287 if (SWIG_arg_fail(2)) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
14308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14309 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
14311 return Py_BuildValue((char *)"");
14313 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
= NULL
;
14315 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14316 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14318 bool temp1
= false ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "fileName", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
14327 arg1
= wxString_in_helper(obj0
);
14328 if (arg1
== NULL
) SWIG_fail
;
14333 if (!wxPyCheckForApp()) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14355 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= NULL
;
14357 PyObject
*arg1
= (PyObject
*) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "data", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
14367 if (!wxPyCheckForApp()) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (wxSound
*)new_wxSound(arg1
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
14381 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
= NULL
;
14383 wxSound
*arg1
= (wxSound
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
14390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14391 if (SWIG_arg_fail(1)) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 Py_INCREF(Py_None
); resultobj
= Py_None
;
14406 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
= NULL
;
14408 wxSound
*arg1
= (wxSound
*) 0 ;
14409 wxString
*arg2
= 0 ;
14411 bool temp2
= false ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "fileName", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
14419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail
;
14422 arg2
= wxString_in_helper(obj1
);
14423 if (arg2
== NULL
) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14450 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= NULL
;
14452 wxSound
*arg1
= (wxSound
*) 0 ;
14453 PyObject
*arg2
= (PyObject
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self",(char *) "data", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
14462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14463 if (SWIG_arg_fail(1)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14481 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= NULL
;
14483 wxSound
*arg1
= (wxSound
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
14491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14492 if (SWIG_arg_fail(1)) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->IsOk();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14509 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
= NULL
;
14511 wxSound
*arg1
= (wxSound
*) 0 ;
14512 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "flags", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
14521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
14522 if (SWIG_arg_fail(1)) SWIG_fail
;
14525 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14526 if (SWIG_arg_fail(2)) SWIG_fail
;
14530 if (!wxPyCheckForApp()) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= NULL
;
14548 wxString
*arg1
= 0 ;
14549 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
14551 bool temp1
= false ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "filename",(char *) "flags", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
14560 arg1
= wxString_in_helper(obj0
);
14561 if (arg1
== NULL
) SWIG_fail
;
14566 arg2
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1
));
14567 if (SWIG_arg_fail(2)) SWIG_fail
;
14571 if (!wxPyCheckForApp()) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14595 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= NULL
;
14597 char *kwnames
[] = {
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
14603 if (!wxPyCheckForApp()) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 Py_INCREF(Py_None
); resultobj
= Py_None
;
14617 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
14619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14620 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
14622 return Py_BuildValue((char *)"");
14624 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= NULL
;
14626 wxString
*arg1
= 0 ;
14627 wxString
*arg2
= 0 ;
14628 wxString
*arg3
= 0 ;
14629 wxString
*arg4
= 0 ;
14630 wxFileTypeInfo
*result
;
14631 bool temp1
= false ;
14632 bool temp2
= false ;
14633 bool temp3
= false ;
14634 bool temp4
= false ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 PyObject
* obj2
= 0 ;
14638 PyObject
* obj3
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14645 arg1
= wxString_in_helper(obj0
);
14646 if (arg1
== NULL
) SWIG_fail
;
14650 arg2
= wxString_in_helper(obj1
);
14651 if (arg2
== NULL
) SWIG_fail
;
14655 arg3
= wxString_in_helper(obj2
);
14656 if (arg3
== NULL
) SWIG_fail
;
14660 arg4
= wxString_in_helper(obj3
);
14661 if (arg4
== NULL
) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14710 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
= NULL
;
14712 wxArrayString
*arg1
= 0 ;
14713 wxFileTypeInfo
*result
;
14714 bool temp1
= false ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "sArray", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
14722 if (! PySequence_Check(obj0
)) {
14723 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
14726 arg1
= new wxArrayString
;
14728 int i
, len
=PySequence_Length(obj0
);
14729 for (i
=0; i
<len
; i
++) {
14730 PyObject
* item
= PySequence_GetItem(obj0
, i
);
14731 wxString
* s
= wxString_in_helper(item
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14747 if (temp1
) delete arg1
;
14752 if (temp1
) delete arg1
;
14758 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= NULL
;
14760 wxFileTypeInfo
*result
;
14761 char *kwnames
[] = {
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14780 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
= NULL
;
14782 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14808 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= NULL
;
14810 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14811 wxString
*arg2
= 0 ;
14812 int arg3
= (int) 0 ;
14813 bool temp2
= false ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 PyObject
* obj2
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14823 if (SWIG_arg_fail(1)) SWIG_fail
;
14825 arg2
= wxString_in_helper(obj1
);
14826 if (arg2
== NULL
) SWIG_fail
;
14831 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14832 if (SWIG_arg_fail(3)) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 Py_INCREF(Py_None
); resultobj
= Py_None
;
14857 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
= NULL
;
14859 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14860 wxString
*arg2
= 0 ;
14861 bool temp2
= false ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self",(char *) "shortDesc", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 arg2
= wxString_in_helper(obj1
);
14873 if (arg2
== NULL
) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14898 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= NULL
;
14900 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(1)) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14914 result
= (wxString
*) &_result_ref
;
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14933 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
= NULL
;
14935 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14949 result
= (wxString
*) &_result_ref
;
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14968 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
= NULL
;
14970 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14979 if (SWIG_arg_fail(1)) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14984 result
= (wxString
*) &_result_ref
;
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15003 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= NULL
;
15005 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
15013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15014 if (SWIG_arg_fail(1)) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
15019 result
= (wxString
*) &_result_ref
;
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15029 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15038 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
= NULL
;
15040 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
15048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15049 if (SWIG_arg_fail(1)) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
15054 result
= (wxString
*) &_result_ref
;
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15073 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= NULL
;
15075 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15076 wxArrayString
*result
;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
15083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
15089 result
= (wxArrayString
*) &_result_ref
;
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= wxArrayString2PyList_helper(*result
);
15104 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
= NULL
;
15106 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
15114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_From_int(static_cast<int >(result
));
15132 static PyObject
*_wrap_FileTypeInfo_GetIconFile(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_GetIconFile",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();
15147 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
15148 result
= (wxString
*) &_result_ref
;
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15167 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
= NULL
;
15169 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_From_int(static_cast<int >(result
));
15195 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
15197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15198 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
15200 return Py_BuildValue((char *)"");
15202 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= NULL
;
15204 wxFileTypeInfo
*arg1
= 0 ;
15205 wxFileType
*result
;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "ftInfo", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15215 if (arg1
== NULL
) {
15216 SWIG_null_ref("wxFileTypeInfo");
15218 if (SWIG_arg_fail(1)) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15234 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
= NULL
;
15236 wxFileType
*arg1
= (wxFileType
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
15243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 Py_INCREF(Py_None
); resultobj
= Py_None
;
15259 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
= NULL
;
15261 wxFileType
*arg1
= (wxFileType
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
;
15285 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
= NULL
;
15287 wxFileType
*arg1
= (wxFileType
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
15295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15296 if (SWIG_arg_fail(1)) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= result
;
15311 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
= NULL
;
15313 wxFileType
*arg1
= (wxFileType
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
15321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15322 if (SWIG_arg_fail(1)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= result
;
15337 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
= NULL
;
15339 wxFileType
*arg1
= (wxFileType
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
15347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15348 if (SWIG_arg_fail(1)) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
15363 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= NULL
;
15365 wxFileType
*arg1
= (wxFileType
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= result
;
15389 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= NULL
;
15391 wxFileType
*arg1
= (wxFileType
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
15399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= result
;
15415 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
= NULL
;
15417 wxFileType
*arg1
= (wxFileType
*) 0 ;
15418 wxString
*arg2
= 0 ;
15419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15422 bool temp2
= false ;
15423 bool temp3
= false ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 PyObject
* obj2
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15433 if (SWIG_arg_fail(1)) SWIG_fail
;
15435 arg2
= wxString_in_helper(obj1
);
15436 if (arg2
== NULL
) SWIG_fail
;
15441 arg3
= wxString_in_helper(obj2
);
15442 if (arg3
== NULL
) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= result
;
15476 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= NULL
;
15478 wxFileType
*arg1
= (wxFileType
*) 0 ;
15479 wxString
*arg2
= 0 ;
15480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15483 bool temp2
= false ;
15484 bool temp3
= false ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 PyObject
* obj2
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15494 if (SWIG_arg_fail(1)) SWIG_fail
;
15496 arg2
= wxString_in_helper(obj1
);
15497 if (arg2
== NULL
) SWIG_fail
;
15502 arg3
= wxString_in_helper(obj2
);
15503 if (arg3
== NULL
) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= result
;
15537 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
= NULL
;
15539 wxFileType
*arg1
= (wxFileType
*) 0 ;
15540 wxString
*arg2
= 0 ;
15541 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15544 bool temp2
= false ;
15545 bool temp3
= false ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15555 if (SWIG_arg_fail(1)) SWIG_fail
;
15557 arg2
= wxString_in_helper(obj1
);
15558 if (arg2
== NULL
) SWIG_fail
;
15563 arg3
= wxString_in_helper(obj2
);
15564 if (arg3
== NULL
) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
;
15598 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= NULL
;
15600 wxFileType
*arg1
= (wxFileType
*) 0 ;
15601 wxString
*arg2
= 0 ;
15602 wxString
*arg3
= 0 ;
15603 bool arg4
= (bool) true ;
15605 bool temp2
= false ;
15606 bool temp3
= false ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 PyObject
* obj3
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail
;
15619 arg2
= wxString_in_helper(obj1
);
15620 if (arg2
== NULL
) SWIG_fail
;
15624 arg3
= wxString_in_helper(obj2
);
15625 if (arg3
== NULL
) SWIG_fail
;
15630 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15631 if (SWIG_arg_fail(4)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15666 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= NULL
;
15668 wxFileType
*arg1
= (wxFileType
*) 0 ;
15669 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15670 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15671 int arg3
= (int) 0 ;
15673 bool temp2
= false ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "cmd",(char *) "index", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15683 if (SWIG_arg_fail(1)) SWIG_fail
;
15686 arg2
= wxString_in_helper(obj1
);
15687 if (arg2
== NULL
) SWIG_fail
;
15693 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15694 if (SWIG_arg_fail(3)) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15721 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
= NULL
;
15723 wxFileType
*arg1
= (wxFileType
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
15731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15732 if (SWIG_arg_fail(1)) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (bool)(arg1
)->Unassociate();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
= NULL
;
15751 wxString
*arg1
= 0 ;
15752 wxString
*arg2
= 0 ;
15753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15756 bool temp1
= false ;
15757 bool temp2
= false ;
15758 bool temp3
= false ;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 PyObject
* obj2
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15768 arg1
= wxString_in_helper(obj0
);
15769 if (arg1
== NULL
) SWIG_fail
;
15773 arg2
= wxString_in_helper(obj1
);
15774 if (arg2
== NULL
) SWIG_fail
;
15779 arg3
= wxString_in_helper(obj2
);
15780 if (arg3
== NULL
) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15828 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15831 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15833 return Py_BuildValue((char *)"");
15835 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15836 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15841 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15842 PyObject
*pyobj
= NULL
;
15844 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15849 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
= NULL
;
15851 wxString
*arg1
= 0 ;
15852 wxString
*arg2
= 0 ;
15854 bool temp1
= false ;
15855 bool temp2
= false ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "mimeType",(char *) "wildcard", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15864 arg1
= wxString_in_helper(obj0
);
15865 if (arg1
== NULL
) SWIG_fail
;
15869 arg2
= wxString_in_helper(obj1
);
15870 if (arg2
== NULL
) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= NULL
;
15907 wxMimeTypesManager
*result
;
15908 char *kwnames
[] = {
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15927 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
= NULL
;
15929 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15930 int arg2
= (int) wxMAILCAP_ALL
;
15931 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15932 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15933 bool temp3
= false ;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 PyObject
* obj2
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15943 if (SWIG_arg_fail(1)) SWIG_fail
;
15946 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15947 if (SWIG_arg_fail(2)) SWIG_fail
;
15952 arg3
= wxString_in_helper(obj2
);
15953 if (arg3
== NULL
) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15979 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
= NULL
;
15981 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15989 if (SWIG_arg_fail(1)) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 (arg1
)->ClearData();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
= NULL
;
16006 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16007 wxString
*arg2
= 0 ;
16008 wxFileType
*result
;
16009 bool temp2
= false ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "ext", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail
;
16020 arg2
= wxString_in_helper(obj1
);
16021 if (arg2
== NULL
) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16046 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
= NULL
;
16048 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16049 wxString
*arg2
= 0 ;
16050 wxFileType
*result
;
16051 bool temp2
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "mimeType", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail
;
16062 arg2
= wxString_in_helper(obj1
);
16063 if (arg2
== NULL
) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16088 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
= NULL
;
16090 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16091 wxString
*arg2
= 0 ;
16092 bool arg3
= (bool) false ;
16094 bool temp2
= false ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 PyObject
* obj2
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16104 if (SWIG_arg_fail(1)) SWIG_fail
;
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16112 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16113 if (SWIG_arg_fail(3)) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16140 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
= NULL
;
16142 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16143 wxString
*arg2
= 0 ;
16145 bool temp2
= false ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self",(char *) "filename", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
16153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 arg2
= wxString_in_helper(obj1
);
16157 if (arg2
== NULL
) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16184 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
= NULL
;
16186 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
16194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16195 if (SWIG_arg_fail(1)) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
;
16210 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
= NULL
;
16212 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16213 wxFileTypeInfo
*arg2
= 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "ft", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16225 if (SWIG_arg_fail(2)) SWIG_fail
;
16226 if (arg2
== NULL
) {
16227 SWIG_null_ref("wxFileTypeInfo");
16229 if (SWIG_arg_fail(2)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16245 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= NULL
;
16247 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16248 wxFileTypeInfo
*arg2
= 0 ;
16249 wxFileType
*result
;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "ftInfo", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail
;
16260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
16261 if (SWIG_arg_fail(2)) SWIG_fail
;
16262 if (arg2
== NULL
) {
16263 SWIG_null_ref("wxFileTypeInfo");
16265 if (SWIG_arg_fail(2)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
16281 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= NULL
;
16283 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16284 wxFileType
*arg2
= (wxFileType
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "ft", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(2)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)(arg1
)->Unassociate(arg2
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
= NULL
;
16315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 Py_INCREF(Py_None
); resultobj
= Py_None
;
16338 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
16340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16341 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
16343 return Py_BuildValue((char *)"");
16345 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
16351 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
16352 PyObject
*pyobj
= NULL
;
16356 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16358 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
16365 static int _wrap_ART_MENU_set(PyObject
*) {
16366 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
16371 static PyObject
*_wrap_ART_MENU_get(void) {
16372 PyObject
*pyobj
= NULL
;
16376 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16378 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
16385 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
16386 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
16391 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
16392 PyObject
*pyobj
= NULL
;
16396 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16398 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
16405 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
16406 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
16411 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
16412 PyObject
*pyobj
= NULL
;
16416 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16418 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
16425 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
16426 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
16431 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
16432 PyObject
*pyobj
= NULL
;
16436 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
16445 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
16446 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
16451 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
16452 PyObject
*pyobj
= NULL
;
16456 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
16465 static int _wrap_ART_BUTTON_set(PyObject
*) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
16471 static PyObject
*_wrap_ART_BUTTON_get(void) {
16472 PyObject
*pyobj
= NULL
;
16476 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
16485 static int _wrap_ART_OTHER_set(PyObject
*) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
16491 static PyObject
*_wrap_ART_OTHER_get(void) {
16492 PyObject
*pyobj
= NULL
;
16496 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
16505 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
16511 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
16512 PyObject
*pyobj
= NULL
;
16516 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16518 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
16525 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
16531 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
16532 PyObject
*pyobj
= NULL
;
16536 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16538 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
16545 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
16546 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
16551 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
16552 PyObject
*pyobj
= NULL
;
16556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
16565 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
16566 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
16571 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
16572 PyObject
*pyobj
= NULL
;
16576 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16578 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
16585 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
16586 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
16591 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
16592 PyObject
*pyobj
= NULL
;
16596 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16598 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
16605 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
16606 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
16611 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
16612 PyObject
*pyobj
= NULL
;
16616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16618 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
16625 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
16626 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
16631 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
16632 PyObject
*pyobj
= NULL
;
16636 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16638 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
16645 static int _wrap_ART_GO_BACK_set(PyObject
*) {
16646 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
16651 static PyObject
*_wrap_ART_GO_BACK_get(void) {
16652 PyObject
*pyobj
= NULL
;
16656 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16658 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
16665 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
16666 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
16671 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
16672 PyObject
*pyobj
= NULL
;
16676 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16678 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
16685 static int _wrap_ART_GO_UP_set(PyObject
*) {
16686 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
16691 static PyObject
*_wrap_ART_GO_UP_get(void) {
16692 PyObject
*pyobj
= NULL
;
16696 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16698 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
16705 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
16706 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
16711 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
16712 PyObject
*pyobj
= NULL
;
16716 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16718 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
16725 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
16726 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
16731 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
16732 PyObject
*pyobj
= NULL
;
16736 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16738 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
16745 static int _wrap_ART_GO_HOME_set(PyObject
*) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
16751 static PyObject
*_wrap_ART_GO_HOME_get(void) {
16752 PyObject
*pyobj
= NULL
;
16756 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16758 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
16765 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
16766 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
16771 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16772 PyObject
*pyobj
= NULL
;
16776 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16778 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16785 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
16786 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
16791 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
16792 PyObject
*pyobj
= NULL
;
16796 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16798 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
16805 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
16806 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
16811 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
16812 PyObject
*pyobj
= NULL
;
16816 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16818 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
16825 static int _wrap_ART_PRINT_set(PyObject
*) {
16826 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16831 static PyObject
*_wrap_ART_PRINT_get(void) {
16832 PyObject
*pyobj
= NULL
;
16836 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16838 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16845 static int _wrap_ART_HELP_set(PyObject
*) {
16846 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16851 static PyObject
*_wrap_ART_HELP_get(void) {
16852 PyObject
*pyobj
= NULL
;
16856 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16858 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16865 static int _wrap_ART_TIP_set(PyObject
*) {
16866 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16871 static PyObject
*_wrap_ART_TIP_get(void) {
16872 PyObject
*pyobj
= NULL
;
16876 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16878 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16885 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16886 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16891 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16892 PyObject
*pyobj
= NULL
;
16896 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16898 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16905 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16906 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16911 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16912 PyObject
*pyobj
= NULL
;
16916 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16918 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16925 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16926 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16931 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16932 PyObject
*pyobj
= NULL
;
16936 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16938 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16945 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16946 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16951 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16952 PyObject
*pyobj
= NULL
;
16956 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16958 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16965 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16966 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16971 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16972 PyObject
*pyobj
= NULL
;
16976 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16978 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16985 static int _wrap_ART_CDROM_set(PyObject
*) {
16986 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16991 static PyObject
*_wrap_ART_CDROM_get(void) {
16992 PyObject
*pyobj
= NULL
;
16996 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16998 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
17005 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
17006 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
17011 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
17012 PyObject
*pyobj
= NULL
;
17016 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17018 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
17025 static int _wrap_ART_FOLDER_set(PyObject
*) {
17026 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
17031 static PyObject
*_wrap_ART_FOLDER_get(void) {
17032 PyObject
*pyobj
= NULL
;
17036 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17038 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
17045 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
17046 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
17051 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
17052 PyObject
*pyobj
= NULL
;
17056 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17058 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
17065 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
17066 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
17071 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
17072 PyObject
*pyobj
= NULL
;
17076 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17078 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
17085 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
17086 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
17091 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
17092 PyObject
*pyobj
= NULL
;
17096 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17098 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
17105 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
17106 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
17111 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
17112 PyObject
*pyobj
= NULL
;
17116 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17118 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
17125 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
17126 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
17131 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
17132 PyObject
*pyobj
= NULL
;
17136 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17138 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
17145 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
17146 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
17151 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
17152 PyObject
*pyobj
= NULL
;
17156 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17158 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
17165 static int _wrap_ART_ERROR_set(PyObject
*) {
17166 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
17171 static PyObject
*_wrap_ART_ERROR_get(void) {
17172 PyObject
*pyobj
= NULL
;
17176 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17178 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
17185 static int _wrap_ART_QUESTION_set(PyObject
*) {
17186 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
17191 static PyObject
*_wrap_ART_QUESTION_get(void) {
17192 PyObject
*pyobj
= NULL
;
17196 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17198 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
17205 static int _wrap_ART_WARNING_set(PyObject
*) {
17206 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
17211 static PyObject
*_wrap_ART_WARNING_get(void) {
17212 PyObject
*pyobj
= NULL
;
17216 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17218 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
17225 static int _wrap_ART_INFORMATION_set(PyObject
*) {
17226 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
17231 static PyObject
*_wrap_ART_INFORMATION_get(void) {
17232 PyObject
*pyobj
= NULL
;
17236 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17238 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
17245 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
17246 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
17251 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
17252 PyObject
*pyobj
= NULL
;
17256 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17258 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
17265 static int _wrap_ART_COPY_set(PyObject
*) {
17266 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
17271 static PyObject
*_wrap_ART_COPY_get(void) {
17272 PyObject
*pyobj
= NULL
;
17276 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17278 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
17285 static int _wrap_ART_CUT_set(PyObject
*) {
17286 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
17291 static PyObject
*_wrap_ART_CUT_get(void) {
17292 PyObject
*pyobj
= NULL
;
17296 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17298 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
17305 static int _wrap_ART_PASTE_set(PyObject
*) {
17306 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
17311 static PyObject
*_wrap_ART_PASTE_get(void) {
17312 PyObject
*pyobj
= NULL
;
17316 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17318 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
17325 static int _wrap_ART_DELETE_set(PyObject
*) {
17326 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
17331 static PyObject
*_wrap_ART_DELETE_get(void) {
17332 PyObject
*pyobj
= NULL
;
17336 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17338 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
17345 static int _wrap_ART_NEW_set(PyObject
*) {
17346 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW is read-only.");
17351 static PyObject
*_wrap_ART_NEW_get(void) {
17352 PyObject
*pyobj
= NULL
;
17356 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17358 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
17365 static int _wrap_ART_UNDO_set(PyObject
*) {
17366 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
17371 static PyObject
*_wrap_ART_UNDO_get(void) {
17372 PyObject
*pyobj
= NULL
;
17376 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17378 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
17385 static int _wrap_ART_REDO_set(PyObject
*) {
17386 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
17391 static PyObject
*_wrap_ART_REDO_get(void) {
17392 PyObject
*pyobj
= NULL
;
17396 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17398 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
17405 static int _wrap_ART_QUIT_set(PyObject
*) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
17411 static PyObject
*_wrap_ART_QUIT_get(void) {
17412 PyObject
*pyobj
= NULL
;
17416 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17418 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
17425 static int _wrap_ART_FIND_set(PyObject
*) {
17426 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
17431 static PyObject
*_wrap_ART_FIND_get(void) {
17432 PyObject
*pyobj
= NULL
;
17436 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17438 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
17445 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
17446 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
17451 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
17452 PyObject
*pyobj
= NULL
;
17456 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17458 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
17465 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
= NULL
;
17467 wxPyArtProvider
*result
;
17468 char *kwnames
[] = {
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
17474 if (!wxPyCheckForApp()) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (wxPyArtProvider
*)new wxPyArtProvider();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
17488 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= NULL
;
17490 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17491 PyObject
*arg2
= (PyObject
*) 0 ;
17492 PyObject
*arg3
= (PyObject
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 PyObject
* obj2
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "self",(char *) "_class", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17502 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= NULL
;
17521 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "provider", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
17528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17529 if (SWIG_arg_fail(1)) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 wxPyArtProvider::PushProvider(arg1
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 Py_INCREF(Py_None
); resultobj
= Py_None
;
17544 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= NULL
;
17547 char *kwnames
[] = {
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 result
= (bool)wxPyArtProvider::PopProvider();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17568 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
= NULL
;
17570 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "provider", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
17578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17579 if (SWIG_arg_fail(1)) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17596 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
= NULL
;
17598 wxString
*arg1
= 0 ;
17599 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17600 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17601 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17602 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17604 bool temp1
= false ;
17605 bool temp2
= false ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 PyObject
* obj2
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "id",(char *) "client",(char *) "size", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17616 arg1
= wxString_in_helper(obj0
);
17617 if (arg1
== NULL
) SWIG_fail
;
17622 arg2
= wxString_in_helper(obj1
);
17623 if (arg2
== NULL
) SWIG_fail
;
17630 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17634 if (!wxPyCheckForApp()) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17642 wxBitmap
* resultptr
;
17643 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
17644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17668 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= NULL
;
17670 wxString
*arg1
= 0 ;
17671 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
17672 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17673 wxSize
const &arg3_defvalue
= wxDefaultSize
;
17674 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
17676 bool temp1
= false ;
17677 bool temp2
= false ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "id",(char *) "client",(char *) "size", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17688 arg1
= wxString_in_helper(obj0
);
17689 if (arg1
== NULL
) SWIG_fail
;
17694 arg2
= wxString_in_helper(obj1
);
17695 if (arg2
== NULL
) SWIG_fail
;
17702 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17706 if (!wxPyCheckForApp()) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 wxIcon
* resultptr
;
17715 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
17716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
17740 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= NULL
;
17742 wxString
*arg1
= 0 ;
17743 bool arg2
= (bool) false ;
17745 bool temp1
= false ;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "client",(char *) "platform_dependent", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
17754 arg1
= wxString_in_helper(obj0
);
17755 if (arg1
== NULL
) SWIG_fail
;
17760 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17761 if (SWIG_arg_fail(2)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 wxSize
* resultptr
;
17773 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
17774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17790 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= NULL
;
17792 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 wxPyArtProvider_Destroy(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 Py_INCREF(Py_None
); resultobj
= Py_None
;
17815 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
17817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
17820 return Py_BuildValue((char *)"");
17822 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= NULL
;
17824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17825 PyObject
* obj0
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
17831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 Py_INCREF(Py_None
); resultobj
= Py_None
;
17847 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= NULL
;
17849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17850 wxConfigBase
*result
;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "config", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
17857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17873 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
= NULL
;
17875 bool arg1
= (bool) true ;
17876 wxConfigBase
*result
;
17877 PyObject
* obj0
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "createOnDemand", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
17885 arg1
= static_cast<bool >(SWIG_As_bool(obj0
));
17886 if (SWIG_arg_fail(1)) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17903 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
= NULL
;
17905 wxConfigBase
*result
;
17906 char *kwnames
[] = {
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (wxConfigBase
*)wxConfigBase::Create();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17925 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
= NULL
;
17927 char *kwnames
[] = {
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 wxConfigBase::DontCreateOnDemand();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
= NULL
;
17948 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17949 wxString
*arg2
= 0 ;
17950 bool temp2
= false ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "path", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17959 if (SWIG_arg_fail(1)) SWIG_fail
;
17961 arg2
= wxString_in_helper(obj1
);
17962 if (arg2
== NULL
) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->SetPath((wxString
const &)*arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17987 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
= NULL
;
17989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
18003 result
= (wxString
*) &_result_ref
;
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18022 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
= NULL
;
18024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
18032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18033 if (SWIG_arg_fail(1)) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= result
;
18048 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= NULL
;
18050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "index", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18061 if (SWIG_arg_fail(1)) SWIG_fail
;
18063 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18064 if (SWIG_arg_fail(2)) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= result
;
18080 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
= NULL
;
18082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
18090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= result
;
18106 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
= NULL
;
18108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "index", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18122 if (SWIG_arg_fail(2)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= result
;
18138 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
= NULL
;
18140 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18141 bool arg2
= (bool) false ;
18143 PyObject
* obj0
= 0 ;
18144 PyObject
* obj1
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self",(char *) "recursive", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
18150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18151 if (SWIG_arg_fail(1)) SWIG_fail
;
18154 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18155 if (SWIG_arg_fail(2)) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18174 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
= NULL
;
18176 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18177 bool arg2
= (bool) false ;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self",(char *) "recursive", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
18186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail
;
18190 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18191 if (SWIG_arg_fail(2)) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
18210 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= NULL
;
18212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18213 wxString
*arg2
= 0 ;
18215 bool temp2
= false ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "name", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail
;
18226 arg2
= wxString_in_helper(obj1
);
18227 if (arg2
== NULL
) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18254 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= NULL
;
18256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18257 wxString
*arg2
= 0 ;
18259 bool temp2
= false ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self",(char *) "name", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 arg2
= wxString_in_helper(obj1
);
18271 if (arg2
== NULL
) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18298 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
= NULL
;
18300 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18301 wxString
*arg2
= 0 ;
18303 bool temp2
= false ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "name", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18312 if (SWIG_arg_fail(1)) SWIG_fail
;
18314 arg2
= wxString_in_helper(obj1
);
18315 if (arg2
== NULL
) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18342 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
= NULL
;
18344 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18345 wxString
*arg2
= 0 ;
18346 wxConfigBase::EntryType result
;
18347 bool temp2
= false ;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "name", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
18355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail
;
18358 arg2
= wxString_in_helper(obj1
);
18359 if (arg2
== NULL
) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= SWIG_From_int((result
));
18384 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= NULL
;
18386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18387 wxString
*arg2
= 0 ;
18388 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18389 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18391 bool temp2
= false ;
18392 bool temp3
= false ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail
;
18404 arg2
= wxString_in_helper(obj1
);
18405 if (arg2
== NULL
) SWIG_fail
;
18410 arg3
= wxString_in_helper(obj2
);
18411 if (arg3
== NULL
) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18451 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
= NULL
;
18453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18454 wxString
*arg2
= 0 ;
18455 long arg3
= (long) 0 ;
18457 bool temp2
= false ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 arg2
= wxString_in_helper(obj1
);
18470 if (arg2
== NULL
) SWIG_fail
;
18475 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18476 if (SWIG_arg_fail(3)) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_From_long(static_cast<long >(result
));
18503 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= NULL
;
18505 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18506 wxString
*arg2
= 0 ;
18507 double arg3
= (double) 0.0 ;
18509 bool temp2
= false ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 PyObject
* obj2
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18519 if (SWIG_arg_fail(1)) SWIG_fail
;
18521 arg2
= wxString_in_helper(obj1
);
18522 if (arg2
== NULL
) SWIG_fail
;
18527 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18528 if (SWIG_arg_fail(3)) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_From_double(static_cast<double >(result
));
18555 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
= NULL
;
18557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18558 wxString
*arg2
= 0 ;
18559 bool arg3
= (bool) false ;
18561 bool temp2
= false ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 PyObject
* obj2
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 arg2
= wxString_in_helper(obj1
);
18574 if (arg2
== NULL
) SWIG_fail
;
18579 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18580 if (SWIG_arg_fail(3)) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18607 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
= NULL
;
18609 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18610 wxString
*arg2
= 0 ;
18611 wxString
*arg3
= 0 ;
18613 bool temp2
= false ;
18614 bool temp3
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "key",(char *) "value", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",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
;
18631 arg3
= wxString_in_helper(obj2
);
18632 if (arg3
== NULL
) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18667 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
= NULL
;
18669 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18670 wxString
*arg2
= 0 ;
18673 bool temp2
= false ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 PyObject
* obj2
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self",(char *) "key",(char *) "value", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail
;
18685 arg2
= wxString_in_helper(obj1
);
18686 if (arg2
== NULL
) SWIG_fail
;
18690 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18691 if (SWIG_arg_fail(3)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18717 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
= NULL
;
18719 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18720 wxString
*arg2
= 0 ;
18723 bool temp2
= false ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 PyObject
* obj2
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self",(char *) "key",(char *) "value", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 arg2
= wxString_in_helper(obj1
);
18736 if (arg2
== NULL
) SWIG_fail
;
18740 arg3
= static_cast<double >(SWIG_As_double(obj2
));
18741 if (SWIG_arg_fail(3)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18767 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= NULL
;
18769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18770 wxString
*arg2
= 0 ;
18773 bool temp2
= false ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 PyObject
* obj2
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self",(char *) "key",(char *) "value", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18783 if (SWIG_arg_fail(1)) SWIG_fail
;
18785 arg2
= wxString_in_helper(obj1
);
18786 if (arg2
== NULL
) SWIG_fail
;
18790 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18791 if (SWIG_arg_fail(3)) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18817 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
= NULL
;
18819 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18820 bool arg2
= (bool) false ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "currentOnly", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail
;
18833 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18834 if (SWIG_arg_fail(2)) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (bool)(arg1
)->Flush(arg2
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18853 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
= NULL
;
18855 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18856 wxString
*arg2
= 0 ;
18857 wxString
*arg3
= 0 ;
18859 bool temp2
= false ;
18860 bool temp3
= false ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18870 if (SWIG_arg_fail(1)) SWIG_fail
;
18872 arg2
= wxString_in_helper(obj1
);
18873 if (arg2
== NULL
) SWIG_fail
;
18877 arg3
= wxString_in_helper(obj2
);
18878 if (arg3
== NULL
) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18913 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
= NULL
;
18915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18916 wxString
*arg2
= 0 ;
18917 wxString
*arg3
= 0 ;
18919 bool temp2
= false ;
18920 bool temp3
= false ;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 PyObject
* obj2
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18930 if (SWIG_arg_fail(1)) SWIG_fail
;
18932 arg2
= wxString_in_helper(obj1
);
18933 if (arg2
== NULL
) SWIG_fail
;
18937 arg3
= wxString_in_helper(obj2
);
18938 if (arg3
== NULL
) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18973 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= NULL
;
18975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18976 wxString
*arg2
= 0 ;
18977 bool arg3
= (bool) true ;
18979 bool temp2
= false ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18989 if (SWIG_arg_fail(1)) SWIG_fail
;
18991 arg2
= wxString_in_helper(obj1
);
18992 if (arg2
== NULL
) SWIG_fail
;
18997 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
18998 if (SWIG_arg_fail(3)) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19025 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
= NULL
;
19027 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19028 wxString
*arg2
= 0 ;
19030 bool temp2
= false ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self",(char *) "key", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 arg2
= wxString_in_helper(obj1
);
19042 if (arg2
== NULL
) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= NULL
;
19071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
19079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19080 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (bool)(arg1
)->DeleteAll();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19097 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= NULL
;
19099 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19100 bool arg2
= (bool) true ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "doIt", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19109 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19113 if (SWIG_arg_fail(2)) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetExpandEnvVars(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= NULL
;
19132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
= NULL
;
19160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19161 bool arg2
= (bool) true ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "doIt", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19170 if (SWIG_arg_fail(1)) SWIG_fail
;
19173 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
19174 if (SWIG_arg_fail(2)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetRecordDefaults(arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= NULL
;
19193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
19201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19219 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= NULL
;
19221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19222 wxString
*arg2
= 0 ;
19224 bool temp2
= false ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "str", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail
;
19235 arg2
= wxString_in_helper(obj1
);
19236 if (arg2
== NULL
) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19267 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= NULL
;
19269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
19277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19299 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= NULL
;
19301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
19309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19310 if (SWIG_arg_fail(1)) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19331 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
= NULL
;
19333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19334 wxString
*arg2
= 0 ;
19335 bool temp2
= false ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "appName", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19344 if (SWIG_arg_fail(1)) SWIG_fail
;
19346 arg2
= wxString_in_helper(obj1
);
19347 if (arg2
== NULL
) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetAppName((wxString
const &)*arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= NULL
;
19374 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19375 wxString
*arg2
= 0 ;
19376 bool temp2
= false ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "vendorName", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19385 if (SWIG_arg_fail(1)) SWIG_fail
;
19387 arg2
= wxString_in_helper(obj1
);
19388 if (arg2
== NULL
) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
= NULL
;
19415 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "style", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19425 if (SWIG_arg_fail(1)) SWIG_fail
;
19427 arg2
= static_cast<long >(SWIG_As_long(obj1
));
19428 if (SWIG_arg_fail(2)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->SetStyle(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= NULL
;
19446 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
19454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= SWIG_From_long(static_cast<long >(result
));
19472 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
19474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19475 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
19477 return Py_BuildValue((char *)"");
19479 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= NULL
;
19481 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19482 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19483 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19484 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19487 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19488 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19489 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19491 bool temp1
= false ;
19492 bool temp2
= false ;
19493 bool temp3
= false ;
19494 bool temp4
= false ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 PyObject
* obj3
= 0 ;
19499 PyObject
* obj4
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19507 arg1
= wxString_in_helper(obj0
);
19508 if (arg1
== NULL
) SWIG_fail
;
19514 arg2
= wxString_in_helper(obj1
);
19515 if (arg2
== NULL
) SWIG_fail
;
19521 arg3
= wxString_in_helper(obj2
);
19522 if (arg3
== NULL
) SWIG_fail
;
19528 arg4
= wxString_in_helper(obj3
);
19529 if (arg4
== NULL
) SWIG_fail
;
19535 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19536 if (SWIG_arg_fail(5)) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
19585 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
= NULL
;
19587 wxConfig
*arg1
= (wxConfig
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
19594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
19595 if (SWIG_arg_fail(1)) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 Py_INCREF(Py_None
); resultobj
= Py_None
;
19610 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
19612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19613 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
19615 return Py_BuildValue((char *)"");
19617 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
= NULL
;
19619 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19620 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19621 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19622 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19627 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
19628 wxFileConfig
*result
;
19629 bool temp1
= false ;
19630 bool temp2
= false ;
19631 bool temp3
= false ;
19632 bool temp4
= false ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 PyObject
* obj2
= 0 ;
19636 PyObject
* obj3
= 0 ;
19637 PyObject
* obj4
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19645 arg1
= wxString_in_helper(obj0
);
19646 if (arg1
== NULL
) SWIG_fail
;
19652 arg2
= wxString_in_helper(obj1
);
19653 if (arg2
== NULL
) SWIG_fail
;
19659 arg3
= wxString_in_helper(obj2
);
19660 if (arg3
== NULL
) SWIG_fail
;
19666 arg4
= wxString_in_helper(obj3
);
19667 if (arg4
== NULL
) SWIG_fail
;
19673 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19674 if (SWIG_arg_fail(5)) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
19723 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= NULL
;
19725 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
19726 PyObject
* obj0
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
19732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 Py_INCREF(Py_None
); resultobj
= Py_None
;
19748 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
19750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19751 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
19753 return Py_BuildValue((char *)"");
19755 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= NULL
;
19757 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19758 wxString
*arg2
= 0 ;
19759 wxConfigPathChanger
*result
;
19760 bool temp2
= false ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "config",(char *) "entry", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
19768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
19769 if (SWIG_arg_fail(1)) SWIG_fail
;
19771 arg2
= wxString_in_helper(obj1
);
19772 if (arg2
== NULL
) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
19797 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= NULL
;
19799 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
19806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
= NULL
;
19824 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
19826 PyObject
* obj0
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
19832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
19838 result
= (wxString
*) &_result_ref
;
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19857 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
19859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19860 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
19862 return Py_BuildValue((char *)"");
19864 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= NULL
;
19866 wxString
*arg1
= 0 ;
19868 bool temp1
= false ;
19869 PyObject
* obj0
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "sz", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
19876 arg1
= wxString_in_helper(obj0
);
19877 if (arg1
== NULL
) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= wxExpandEnvVars((wxString
const &)*arg1
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19908 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
19909 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
19914 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19915 PyObject
*pyobj
= NULL
;
19919 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19921 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19928 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19929 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19934 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19935 PyObject
*pyobj
= NULL
;
19939 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19941 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19948 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
= NULL
;
19950 wxDateTime::Country arg1
;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "country", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19958 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
19959 if (SWIG_arg_fail(1)) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 wxDateTime::SetCountry(arg1
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 Py_INCREF(Py_None
); resultobj
= Py_None
;
19975 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= NULL
;
19977 wxDateTime::Country result
;
19978 char *kwnames
[] = {
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_From_int((result
));
19997 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= NULL
;
19999 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20001 PyObject
* obj0
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "country", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
20009 arg1
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj0
));
20010 if (SWIG_arg_fail(1)) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= NULL
;
20031 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "cal", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
20041 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (int)wxDateTime::GetCurrentYear(arg1
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_From_int(static_cast<int >(result
));
20061 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= NULL
;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "year", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
20072 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_From_int(static_cast<int >(result
));
20091 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
= NULL
;
20093 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20094 wxDateTime::Month result
;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "cal", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
20103 arg1
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj0
));
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_From_int((result
));
20121 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= NULL
;
20123 int arg1
= (int) wxDateTime::Inv_Year
;
20124 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "year",(char *) "cal", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20135 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20142 if (SWIG_arg_fail(2)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20161 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
= NULL
;
20163 int arg1
= (int) wxDateTime::Inv_Year
;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "year", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
20173 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (int)wxDateTime::GetCentury(arg1
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_From_int(static_cast<int >(result
));
20193 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
= NULL
;
20196 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "year",(char *) "cal", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20206 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20207 if (SWIG_arg_fail(1)) SWIG_fail
;
20211 arg2
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj1
));
20212 if (SWIG_arg_fail(2)) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= SWIG_From_int(static_cast<int >(result
));
20231 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= NULL
;
20233 wxDateTime::Month arg1
;
20234 int arg2
= (int) wxDateTime::Inv_Year
;
20235 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 PyObject
* obj2
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "month",(char *) "year",(char *) "cal", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20246 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20247 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20252 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 arg3
= static_cast<wxDateTime::Calendar
>(SWIG_As_int(obj2
));
20258 if (SWIG_arg_fail(3)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_From_int(static_cast<int >(result
));
20277 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= NULL
;
20279 wxDateTime::Month arg1
;
20280 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "month",(char *) "flags", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 arg1
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj0
));
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20295 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20296 if (SWIG_arg_fail(2)) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= wxDateTime::GetMonthName(arg1
,arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20319 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= NULL
;
20321 wxDateTime::WeekDay arg1
;
20322 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "weekday",(char *) "flags", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
20332 arg1
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj0
));
20333 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 arg2
= static_cast<wxDateTime::NameFlags
>(SWIG_As_int(obj1
));
20338 if (SWIG_arg_fail(2)) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20361 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= NULL
;
20364 char *kwnames
[] = {
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= result
;
20383 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
= NULL
;
20385 int arg1
= (int) wxDateTime::Inv_Year
;
20386 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "year",(char *) "country", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
20397 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20403 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20404 if (SWIG_arg_fail(2)) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20423 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
= NULL
;
20425 int arg1
= (int) wxDateTime::Inv_Year
;
20426 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "year",(char *) "country", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20443 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20444 if (SWIG_arg_fail(2)) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 wxDateTime
* resultptr
;
20456 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20465 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
= NULL
;
20467 int arg1
= (int) wxDateTime::Inv_Year
;
20468 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "year",(char *) "country", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20479 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20485 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
20486 if (SWIG_arg_fail(2)) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= wxDateTime::GetEndDST(arg1
,arg2
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 wxDateTime
* resultptr
;
20498 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20507 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= NULL
;
20510 char *kwnames
[] = {
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= wxDateTime::Now();
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 wxDateTime
* resultptr
;
20524 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20533 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
= NULL
;
20536 char *kwnames
[] = {
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= wxDateTime::UNow();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20549 wxDateTime
* resultptr
;
20550 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20559 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
= NULL
;
20562 char *kwnames
[] = {
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= wxDateTime::Today();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 wxDateTime
* resultptr
;
20576 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
20577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20585 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
= NULL
;
20587 wxDateTime
*result
;
20588 char *kwnames
[] = {
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (wxDateTime
*)new wxDateTime();
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20607 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
= NULL
;
20610 wxDateTime
*result
;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "timet", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
20618 arg1
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0
));
20619 if (SWIG_arg_fail(1)) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= (wxDateTime
*)new wxDateTime(arg1
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20635 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
= NULL
;
20638 wxDateTime
*result
;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "jdn", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
20646 arg1
= static_cast<double >(SWIG_As_double(obj0
));
20647 if (SWIG_arg_fail(1)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (wxDateTime
*)new wxDateTime(arg1
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20663 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= NULL
;
20666 int arg2
= (int) 0 ;
20667 int arg3
= (int) 0 ;
20668 int arg4
= (int) 0 ;
20669 wxDateTime
*result
;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 PyObject
* obj2
= 0 ;
20673 PyObject
* obj3
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20680 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20681 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20686 if (SWIG_arg_fail(2)) SWIG_fail
;
20691 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20692 if (SWIG_arg_fail(3)) SWIG_fail
;
20697 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20698 if (SWIG_arg_fail(4)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20715 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
= NULL
;
20718 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20719 int arg3
= (int) wxDateTime::Inv_Year
;
20720 int arg4
= (int) 0 ;
20721 int arg5
= (int) 0 ;
20722 int arg6
= (int) 0 ;
20723 int arg7
= (int) 0 ;
20724 wxDateTime
*result
;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 PyObject
* obj2
= 0 ;
20728 PyObject
* obj3
= 0 ;
20729 PyObject
* obj4
= 0 ;
20730 PyObject
* obj5
= 0 ;
20731 PyObject
* obj6
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20738 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20739 if (SWIG_arg_fail(1)) SWIG_fail
;
20743 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
20744 if (SWIG_arg_fail(2)) SWIG_fail
;
20749 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20750 if (SWIG_arg_fail(3)) SWIG_fail
;
20755 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20756 if (SWIG_arg_fail(4)) SWIG_fail
;
20761 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20762 if (SWIG_arg_fail(5)) SWIG_fail
;
20767 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20768 if (SWIG_arg_fail(6)) SWIG_fail
;
20773 arg7
= static_cast<int >(SWIG_As_int(obj6
));
20774 if (SWIG_arg_fail(7)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20791 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
= NULL
;
20793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
20800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20801 if (SWIG_arg_fail(1)) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 Py_INCREF(Py_None
); resultobj
= Py_None
;
20816 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
= NULL
;
20818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20819 wxDateTime
*result
;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
20826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
20832 result
= (wxDateTime
*) &_result_ref
;
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20845 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
= NULL
;
20847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20849 wxDateTime
*result
;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "timet", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20858 if (SWIG_arg_fail(1)) SWIG_fail
;
20860 arg2
= static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1
));
20861 if (SWIG_arg_fail(2)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20867 result
= (wxDateTime
*) &_result_ref
;
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20880 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= NULL
;
20882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20884 wxDateTime
*result
;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "jdn", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20895 arg2
= static_cast<double >(SWIG_As_double(obj1
));
20896 if (SWIG_arg_fail(2)) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
20902 result
= (wxDateTime
*) &_result_ref
;
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20915 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= NULL
;
20917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20919 int arg3
= (int) 0 ;
20920 int arg4
= (int) 0 ;
20921 int arg5
= (int) 0 ;
20922 wxDateTime
*result
;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 PyObject
* obj2
= 0 ;
20926 PyObject
* obj3
= 0 ;
20927 PyObject
* obj4
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20937 if (SWIG_arg_fail(2)) SWIG_fail
;
20941 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20942 if (SWIG_arg_fail(3)) SWIG_fail
;
20947 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20948 if (SWIG_arg_fail(4)) SWIG_fail
;
20953 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20954 if (SWIG_arg_fail(5)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20961 result
= (wxDateTime
*) &_result_ref
;
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20974 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= NULL
;
20976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20978 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20979 int arg4
= (int) wxDateTime::Inv_Year
;
20980 int arg5
= (int) 0 ;
20981 int arg6
= (int) 0 ;
20982 int arg7
= (int) 0 ;
20983 int arg8
= (int) 0 ;
20984 wxDateTime
*result
;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 PyObject
* obj2
= 0 ;
20988 PyObject
* obj3
= 0 ;
20989 PyObject
* obj4
= 0 ;
20990 PyObject
* obj5
= 0 ;
20991 PyObject
* obj6
= 0 ;
20992 PyObject
* obj7
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21001 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21002 if (SWIG_arg_fail(2)) SWIG_fail
;
21006 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21007 if (SWIG_arg_fail(3)) SWIG_fail
;
21012 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21013 if (SWIG_arg_fail(4)) SWIG_fail
;
21018 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21019 if (SWIG_arg_fail(5)) SWIG_fail
;
21024 arg6
= static_cast<int >(SWIG_As_int(obj5
));
21025 if (SWIG_arg_fail(6)) SWIG_fail
;
21030 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21031 if (SWIG_arg_fail(7)) SWIG_fail
;
21036 arg8
= static_cast<int >(SWIG_As_int(obj7
));
21037 if (SWIG_arg_fail(8)) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
21044 result
= (wxDateTime
*) &_result_ref
;
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21057 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
= NULL
;
21059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21060 wxDateTime
*result
;
21061 PyObject
* obj0
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
21067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21068 if (SWIG_arg_fail(1)) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
21073 result
= (wxDateTime
*) &_result_ref
;
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21086 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
= NULL
;
21088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21090 wxDateTime
*result
;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self",(char *) "year", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21099 if (SWIG_arg_fail(1)) SWIG_fail
;
21101 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21102 if (SWIG_arg_fail(2)) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
21108 result
= (wxDateTime
*) &_result_ref
;
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21121 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
= NULL
;
21123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21124 wxDateTime::Month arg2
;
21125 wxDateTime
*result
;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "month", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21134 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21137 if (SWIG_arg_fail(2)) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
21143 result
= (wxDateTime
*) &_result_ref
;
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21156 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
= NULL
;
21158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21160 wxDateTime
*result
;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self",(char *) "day", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21169 if (SWIG_arg_fail(1)) SWIG_fail
;
21171 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21172 if (SWIG_arg_fail(2)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
21178 result
= (wxDateTime
*) &_result_ref
;
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21191 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
= NULL
;
21193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21195 wxDateTime
*result
;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "hour", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21206 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21207 if (SWIG_arg_fail(2)) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
21213 result
= (wxDateTime
*) &_result_ref
;
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21226 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
= NULL
;
21228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21230 wxDateTime
*result
;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 char *kwnames
[] = {
21234 (char *) "self",(char *) "minute", NULL
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21239 if (SWIG_arg_fail(1)) SWIG_fail
;
21241 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21242 if (SWIG_arg_fail(2)) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
21248 result
= (wxDateTime
*) &_result_ref
;
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21261 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
= NULL
;
21263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21265 wxDateTime
*result
;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "second", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21277 if (SWIG_arg_fail(2)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
21283 result
= (wxDateTime
*) &_result_ref
;
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21296 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
= NULL
;
21298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21300 wxDateTime
*result
;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "millisecond", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21309 if (SWIG_arg_fail(1)) SWIG_fail
;
21311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21312 if (SWIG_arg_fail(2)) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
21318 result
= (wxDateTime
*) &_result_ref
;
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21331 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
= NULL
;
21333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21334 wxDateTime::WeekDay arg2
;
21335 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21336 wxDateTime
*result
;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 PyObject
* obj2
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21346 if (SWIG_arg_fail(1)) SWIG_fail
;
21348 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21349 if (SWIG_arg_fail(2)) SWIG_fail
;
21353 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21354 if (SWIG_arg_fail(3)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
21361 result
= (wxDateTime
*) &_result_ref
;
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21374 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
= NULL
;
21376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21377 wxDateTime::WeekDay arg2
;
21378 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 PyObject
* obj2
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail
;
21391 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21392 if (SWIG_arg_fail(2)) SWIG_fail
;
21396 arg3
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj2
));
21397 if (SWIG_arg_fail(3)) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 wxDateTime
* resultptr
;
21409 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21418 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
= NULL
;
21420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21421 wxDateTime::WeekDay arg2
;
21422 wxDateTime
*result
;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "weekday", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21434 if (SWIG_arg_fail(2)) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
21440 result
= (wxDateTime
*) &_result_ref
;
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21453 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
= NULL
;
21455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21456 wxDateTime::WeekDay arg2
;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "weekday", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21466 if (SWIG_arg_fail(1)) SWIG_fail
;
21468 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21469 if (SWIG_arg_fail(2)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (arg1
)->GetNextWeekDay(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21479 wxDateTime
* resultptr
;
21480 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21489 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
= NULL
;
21491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21492 wxDateTime::WeekDay arg2
;
21493 wxDateTime
*result
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "weekday", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21505 if (SWIG_arg_fail(2)) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
21511 result
= (wxDateTime
*) &_result_ref
;
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21524 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= NULL
;
21526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21527 wxDateTime::WeekDay arg2
;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "weekday", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail
;
21539 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21540 if (SWIG_arg_fail(2)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (arg1
)->GetPrevWeekDay(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 wxDateTime
* resultptr
;
21551 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21560 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
= NULL
;
21562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21563 wxDateTime::WeekDay arg2
;
21564 int arg3
= (int) 1 ;
21565 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21566 int arg5
= (int) wxDateTime::Inv_Year
;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 PyObject
* obj2
= 0 ;
21571 PyObject
* obj3
= 0 ;
21572 PyObject
* obj4
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21579 if (SWIG_arg_fail(1)) SWIG_fail
;
21581 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21582 if (SWIG_arg_fail(2)) SWIG_fail
;
21586 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21587 if (SWIG_arg_fail(3)) SWIG_fail
;
21592 arg4
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj3
));
21593 if (SWIG_arg_fail(4)) SWIG_fail
;
21598 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21599 if (SWIG_arg_fail(5)) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21618 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= NULL
;
21620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21621 wxDateTime::WeekDay arg2
;
21622 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21623 int arg4
= (int) wxDateTime::Inv_Year
;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 PyObject
* obj3
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21635 if (SWIG_arg_fail(1)) SWIG_fail
;
21637 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21638 if (SWIG_arg_fail(2)) SWIG_fail
;
21642 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21643 if (SWIG_arg_fail(3)) SWIG_fail
;
21648 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21649 if (SWIG_arg_fail(4)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21668 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
= NULL
;
21670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21671 wxDateTime::WeekDay arg2
;
21672 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21673 int arg4
= (int) wxDateTime::Inv_Year
;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 PyObject
* obj2
= 0 ;
21678 PyObject
* obj3
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 arg2
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj1
));
21688 if (SWIG_arg_fail(2)) SWIG_fail
;
21692 arg3
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj2
));
21693 if (SWIG_arg_fail(3)) SWIG_fail
;
21698 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21699 if (SWIG_arg_fail(4)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 wxDateTime
* resultptr
;
21711 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21720 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= NULL
;
21722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21724 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21725 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 PyObject
* obj2
= 0 ;
21730 PyObject
* obj3
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21737 if (SWIG_arg_fail(1)) SWIG_fail
;
21739 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21740 if (SWIG_arg_fail(2)) SWIG_fail
;
21744 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21745 if (SWIG_arg_fail(3)) SWIG_fail
;
21750 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21751 if (SWIG_arg_fail(4)) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21770 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
= NULL
;
21772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21774 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21775 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 PyObject
* obj3
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21794 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21795 if (SWIG_arg_fail(3)) SWIG_fail
;
21800 arg4
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj3
));
21801 if (SWIG_arg_fail(4)) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21812 wxDateTime
* resultptr
;
21813 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21822 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
= NULL
;
21826 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 PyObject
* obj2
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21837 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21838 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21842 if (SWIG_arg_fail(2)) SWIG_fail
;
21846 arg3
= static_cast<wxDateTime::WeekDay
>(SWIG_As_int(obj2
));
21847 if (SWIG_arg_fail(3)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 wxDateTime
* resultptr
;
21859 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21868 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
= NULL
;
21870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21871 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21872 int arg3
= (int) wxDateTime::Inv_Year
;
21873 wxDateTime
*result
;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 PyObject
* obj2
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "month",(char *) "year", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21883 if (SWIG_arg_fail(1)) SWIG_fail
;
21886 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21887 if (SWIG_arg_fail(2)) SWIG_fail
;
21892 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21893 if (SWIG_arg_fail(3)) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
21900 result
= (wxDateTime
*) &_result_ref
;
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21913 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
= NULL
;
21915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21916 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21917 int arg3
= (int) wxDateTime::Inv_Year
;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 PyObject
* obj2
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "month",(char *) "year", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 arg2
= static_cast<wxDateTime::Month
>(SWIG_As_int(obj1
));
21932 if (SWIG_arg_fail(2)) SWIG_fail
;
21937 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21938 if (SWIG_arg_fail(3)) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 wxDateTime
* resultptr
;
21950 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
21951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21959 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= NULL
;
21961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21963 wxDateTime
*result
;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "yday", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail
;
21974 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21975 if (SWIG_arg_fail(2)) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21981 result
= (wxDateTime
*) &_result_ref
;
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21994 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
= NULL
;
21996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "yday", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22007 if (SWIG_arg_fail(1)) SWIG_fail
;
22009 arg2
= static_cast<int >(SWIG_As_int(obj1
));
22010 if (SWIG_arg_fail(2)) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (arg1
)->GetYearDay(arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 wxDateTime
* resultptr
;
22021 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22030 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
= NULL
;
22032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22041 if (SWIG_arg_fail(1)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (double)(arg1
)->GetJulianDayNumber();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= SWIG_From_double(static_cast<double >(result
));
22058 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
= NULL
;
22060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
22068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (double)(arg1
)->GetJDN();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_From_double(static_cast<double >(result
));
22086 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= NULL
;
22088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
22096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22097 if (SWIG_arg_fail(1)) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= SWIG_From_double(static_cast<double >(result
));
22114 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= NULL
;
22116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
22124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22125 if (SWIG_arg_fail(1)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (double)(arg1
)->GetMJD();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_From_double(static_cast<double >(result
));
22142 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= NULL
;
22144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
22152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (double)(arg1
)->GetRataDie();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_From_double(static_cast<double >(result
));
22170 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= NULL
;
22172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22173 wxDateTime::TimeZone
*arg2
= 0 ;
22174 bool arg3
= (bool) false ;
22176 bool temp2
= false ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 PyObject
* obj2
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22193 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22194 if (SWIG_arg_fail(3)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 wxDateTime
* resultptr
;
22206 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22210 if (temp2
) delete arg2
;
22215 if (temp2
) delete arg2
;
22221 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
= NULL
;
22223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22224 wxDateTime::TimeZone
*arg2
= 0 ;
22225 bool arg3
= (bool) false ;
22226 wxDateTime
*result
;
22227 bool temp2
= false ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 PyObject
* obj2
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22239 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22244 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22245 if (SWIG_arg_fail(3)) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22252 result
= (wxDateTime
*) &_result_ref
;
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22260 if (temp2
) delete arg2
;
22265 if (temp2
) delete arg2
;
22271 static PyObject
*_wrap_DateTime_FromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
= NULL
;
22273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22274 wxDateTime::TimeZone
*arg2
= 0 ;
22275 bool arg3
= (bool) false ;
22277 bool temp2
= false ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 PyObject
* obj2
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail
;
22289 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22294 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22295 if (SWIG_arg_fail(3)) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 wxDateTime
* resultptr
;
22307 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22311 if (temp2
) delete arg2
;
22316 if (temp2
) delete arg2
;
22322 static PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= NULL
;
22324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22325 wxDateTime::TimeZone
*arg2
= 0 ;
22326 bool arg3
= (bool) false ;
22327 wxDateTime
*result
;
22328 bool temp2
= false ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22338 if (SWIG_arg_fail(1)) SWIG_fail
;
22340 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22345 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
22346 if (SWIG_arg_fail(3)) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
22353 result
= (wxDateTime
*) &_result_ref
;
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22361 if (temp2
) delete arg2
;
22366 if (temp2
) delete arg2
;
22372 static PyObject
*_wrap_DateTime_ToUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= NULL
;
22374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22375 bool arg2
= (bool) false ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "noDST", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22388 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22389 if (SWIG_arg_fail(2)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 wxDateTime
* resultptr
;
22401 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22410 static PyObject
*_wrap_DateTime_MakeUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
= NULL
;
22412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22413 bool arg2
= (bool) false ;
22414 wxDateTime
*result
;
22415 PyObject
* obj0
= 0 ;
22416 PyObject
* obj1
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self",(char *) "noDST", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22423 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22427 if (SWIG_arg_fail(2)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
22434 result
= (wxDateTime
*) &_result_ref
;
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22447 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
= NULL
;
22449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22450 bool arg2
= (bool) false ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "noDST", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22460 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22464 if (SWIG_arg_fail(2)) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22475 wxDateTime
* resultptr
;
22476 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22485 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
= NULL
;
22487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22488 bool arg2
= (bool) false ;
22489 wxDateTime
*result
;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self",(char *) "noDST", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
22497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail
;
22501 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22502 if (SWIG_arg_fail(2)) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
22509 result
= (wxDateTime
*) &_result_ref
;
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22522 static PyObject
*_wrap_DateTime_FromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= NULL
;
22524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22525 bool arg2
= (bool) false ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self",(char *) "noDST", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail
;
22538 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22539 if (SWIG_arg_fail(2)) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 wxDateTime
* resultptr
;
22551 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
22552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22560 static PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
= NULL
;
22562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22563 bool arg2
= (bool) false ;
22564 wxDateTime
*result
;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "noDST", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22576 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22577 if (SWIG_arg_fail(2)) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
22584 result
= (wxDateTime
*) &_result_ref
;
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22597 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
= NULL
;
22599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22600 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "country", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
22614 if (SWIG_arg_fail(2)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)(arg1
)->IsDST(arg2
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_From_int(static_cast<int >(result
));
22633 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
= NULL
;
22635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22661 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
= NULL
;
22663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
22689 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= NULL
;
22691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22692 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22693 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22695 bool temp2
= false ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "tz", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22704 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_From_int(static_cast<int >(result
));
22722 if (temp2
) delete arg2
;
22727 if (temp2
) delete arg2
;
22733 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
= NULL
;
22735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22736 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22737 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22738 wxDateTime::Month result
;
22739 bool temp2
= false ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "tz", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
22747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_From_int((result
));
22764 if (temp2
) delete arg2
;
22769 if (temp2
) delete arg2
;
22775 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= NULL
;
22777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22778 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22779 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22781 bool temp2
= false ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self",(char *) "tz", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22790 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_From_int(static_cast<int >(result
));
22808 if (temp2
) delete arg2
;
22813 if (temp2
) delete arg2
;
22819 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
= NULL
;
22821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22822 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22823 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22824 wxDateTime::WeekDay result
;
22825 bool temp2
= false ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "tz", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(1)) SWIG_fail
;
22837 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_From_int((result
));
22850 if (temp2
) delete arg2
;
22855 if (temp2
) delete arg2
;
22861 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
= NULL
;
22863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22864 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22865 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22867 bool temp2
= false ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "tz", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22876 if (SWIG_arg_fail(1)) SWIG_fail
;
22879 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_From_int(static_cast<int >(result
));
22894 if (temp2
) delete arg2
;
22899 if (temp2
) delete arg2
;
22905 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
= NULL
;
22907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22908 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22909 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22911 bool temp2
= false ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "tz", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22923 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_From_int(static_cast<int >(result
));
22938 if (temp2
) delete arg2
;
22943 if (temp2
) delete arg2
;
22949 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= NULL
;
22951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22952 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22953 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22955 bool temp2
= false ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "tz", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_From_int(static_cast<int >(result
));
22982 if (temp2
) delete arg2
;
22987 if (temp2
) delete arg2
;
22993 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
= NULL
;
22995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22996 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
22997 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
22999 bool temp2
= false ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "tz", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail
;
23011 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_From_int(static_cast<int >(result
));
23026 if (temp2
) delete arg2
;
23031 if (temp2
) delete arg2
;
23037 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
= NULL
;
23039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23040 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
23041 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
23043 bool temp2
= false ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self",(char *) "tz", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
23051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23052 if (SWIG_arg_fail(1)) SWIG_fail
;
23055 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int(static_cast<int >(result
));
23070 if (temp2
) delete arg2
;
23075 if (temp2
) delete arg2
;
23081 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
= NULL
;
23083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23084 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23085 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23086 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23088 bool temp3
= false ;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 PyObject
* obj2
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self",(char *) "flags",(char *) "tz", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23102 if (SWIG_arg_fail(2)) SWIG_fail
;
23107 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_From_int(static_cast<int >(result
));
23122 if (temp3
) delete arg3
;
23127 if (temp3
) delete arg3
;
23133 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
= NULL
;
23135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23136 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23137 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23138 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23140 bool temp3
= false ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 PyObject
* obj2
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self",(char *) "flags",(char *) "tz", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23150 if (SWIG_arg_fail(1)) SWIG_fail
;
23153 arg2
= static_cast<wxDateTime::WeekFlags
>(SWIG_As_int(obj1
));
23154 if (SWIG_arg_fail(2)) SWIG_fail
;
23159 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_From_int(static_cast<int >(result
));
23174 if (temp3
) delete arg3
;
23179 if (temp3
) delete arg3
;
23185 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
= NULL
;
23187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23188 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "country", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
23197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23198 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 arg2
= static_cast<wxDateTime::Country
>(SWIG_As_int(obj1
));
23202 if (SWIG_arg_fail(2)) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23221 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= NULL
;
23223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23224 wxDateTime
*arg2
= 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "datetime", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23237 if (SWIG_arg_fail(2)) SWIG_fail
;
23238 if (arg2
== NULL
) {
23239 SWIG_null_ref("wxDateTime");
23241 if (SWIG_arg_fail(2)) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23259 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
= NULL
;
23261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23262 wxDateTime
*arg2
= 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "datetime", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail
;
23274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23275 if (SWIG_arg_fail(2)) SWIG_fail
;
23276 if (arg2
== NULL
) {
23277 SWIG_null_ref("wxDateTime");
23279 if (SWIG_arg_fail(2)) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
= NULL
;
23299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23300 wxDateTime
*arg2
= 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "datetime", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23314 if (arg2
== NULL
) {
23315 SWIG_null_ref("wxDateTime");
23317 if (SWIG_arg_fail(2)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23335 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
= NULL
;
23337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23338 wxDateTime
*arg2
= 0 ;
23339 wxDateTime
*arg3
= 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 PyObject
* obj2
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "t1",(char *) "t2", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(2)) SWIG_fail
;
23354 if (arg2
== NULL
) {
23355 SWIG_null_ref("wxDateTime");
23357 if (SWIG_arg_fail(2)) SWIG_fail
;
23360 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23361 if (SWIG_arg_fail(3)) SWIG_fail
;
23362 if (arg3
== NULL
) {
23363 SWIG_null_ref("wxDateTime");
23365 if (SWIG_arg_fail(3)) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23383 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
= NULL
;
23385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23386 wxDateTime
*arg2
= 0 ;
23387 wxDateTime
*arg3
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "t1",(char *) "t2", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail
;
23400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23401 if (SWIG_arg_fail(2)) SWIG_fail
;
23402 if (arg2
== NULL
) {
23403 SWIG_null_ref("wxDateTime");
23405 if (SWIG_arg_fail(2)) SWIG_fail
;
23408 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23409 if (SWIG_arg_fail(3)) SWIG_fail
;
23410 if (arg3
== NULL
) {
23411 SWIG_null_ref("wxDateTime");
23413 if (SWIG_arg_fail(3)) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23431 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
= NULL
;
23433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23434 wxDateTime
*arg2
= 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "dt", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail
;
23446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23447 if (SWIG_arg_fail(2)) SWIG_fail
;
23448 if (arg2
== NULL
) {
23449 SWIG_null_ref("wxDateTime");
23451 if (SWIG_arg_fail(2)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23469 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
= NULL
;
23471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23472 wxDateTime
*arg2
= 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self",(char *) "dt", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23485 if (SWIG_arg_fail(2)) SWIG_fail
;
23486 if (arg2
== NULL
) {
23487 SWIG_null_ref("wxDateTime");
23489 if (SWIG_arg_fail(2)) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23507 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= NULL
;
23509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23510 wxDateTime
*arg2
= 0 ;
23511 wxTimeSpan
*arg3
= 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "dt",(char *) "ts", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23525 if (SWIG_arg_fail(2)) SWIG_fail
;
23526 if (arg2
== NULL
) {
23527 SWIG_null_ref("wxDateTime");
23529 if (SWIG_arg_fail(2)) SWIG_fail
;
23532 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(3)) SWIG_fail
;
23534 if (arg3
== NULL
) {
23535 SWIG_null_ref("wxTimeSpan");
23537 if (SWIG_arg_fail(3)) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23555 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
= NULL
;
23557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23558 wxTimeSpan
*arg2
= 0 ;
23559 wxDateTime
*result
;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "diff", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23568 if (SWIG_arg_fail(1)) SWIG_fail
;
23570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23571 if (SWIG_arg_fail(2)) SWIG_fail
;
23572 if (arg2
== NULL
) {
23573 SWIG_null_ref("wxTimeSpan");
23575 if (SWIG_arg_fail(2)) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23581 result
= (wxDateTime
*) &_result_ref
;
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23594 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= NULL
;
23596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23597 wxDateSpan
*arg2
= 0 ;
23598 wxDateTime
*result
;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self",(char *) "diff", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23607 if (SWIG_arg_fail(1)) SWIG_fail
;
23609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23610 if (SWIG_arg_fail(2)) SWIG_fail
;
23611 if (arg2
== NULL
) {
23612 SWIG_null_ref("wxDateSpan");
23614 if (SWIG_arg_fail(2)) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23620 result
= (wxDateTime
*) &_result_ref
;
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23633 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
= NULL
;
23635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23636 wxTimeSpan
*arg2
= 0 ;
23637 wxDateTime
*result
;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "diff", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
23645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23646 if (SWIG_arg_fail(1)) SWIG_fail
;
23648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23649 if (SWIG_arg_fail(2)) SWIG_fail
;
23650 if (arg2
== NULL
) {
23651 SWIG_null_ref("wxTimeSpan");
23653 if (SWIG_arg_fail(2)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23659 result
= (wxDateTime
*) &_result_ref
;
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23672 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= NULL
;
23674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23675 wxDateSpan
*arg2
= 0 ;
23676 wxDateTime
*result
;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "diff", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
23684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail
;
23687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23688 if (SWIG_arg_fail(2)) SWIG_fail
;
23689 if (arg2
== NULL
) {
23690 SWIG_null_ref("wxDateSpan");
23692 if (SWIG_arg_fail(2)) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23698 result
= (wxDateTime
*) &_result_ref
;
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23711 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= NULL
;
23713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23714 wxDateTime
*arg2
= 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "dt", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(2)) SWIG_fail
;
23728 if (arg2
== NULL
) {
23729 SWIG_null_ref("wxDateTime");
23731 if (SWIG_arg_fail(2)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 wxTimeSpan
* resultptr
;
23742 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
23743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23751 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
23752 PyObject
*resultobj
= NULL
;
23753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23754 wxTimeSpan
*arg2
= 0 ;
23755 wxDateTime
*result
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23759 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23761 if (SWIG_arg_fail(1)) SWIG_fail
;
23763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23764 if (SWIG_arg_fail(2)) SWIG_fail
;
23765 if (arg2
== NULL
) {
23766 SWIG_null_ref("wxTimeSpan");
23768 if (SWIG_arg_fail(2)) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23774 result
= (wxDateTime
*) &_result_ref
;
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23787 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
23788 PyObject
*resultobj
= NULL
;
23789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23790 wxDateSpan
*arg2
= 0 ;
23791 wxDateTime
*result
;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23795 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23800 if (SWIG_arg_fail(2)) SWIG_fail
;
23801 if (arg2
== NULL
) {
23802 SWIG_null_ref("wxDateSpan");
23804 if (SWIG_arg_fail(2)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23810 result
= (wxDateTime
*) &_result_ref
;
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23823 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
23828 argc
= PyObject_Length(args
);
23829 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23830 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23836 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23846 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23854 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
23862 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23872 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23880 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
23885 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
23890 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
23891 PyObject
*resultobj
= NULL
;
23892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23893 wxTimeSpan
*arg2
= 0 ;
23894 wxDateTime
*result
;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23898 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23900 if (SWIG_arg_fail(1)) SWIG_fail
;
23902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23903 if (SWIG_arg_fail(2)) SWIG_fail
;
23904 if (arg2
== NULL
) {
23905 SWIG_null_ref("wxTimeSpan");
23907 if (SWIG_arg_fail(2)) SWIG_fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23913 result
= (wxDateTime
*) &_result_ref
;
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23926 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
23927 PyObject
*resultobj
= NULL
;
23928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23929 wxDateSpan
*arg2
= 0 ;
23930 wxDateTime
*result
;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23934 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
23935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23936 if (SWIG_arg_fail(1)) SWIG_fail
;
23938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23939 if (SWIG_arg_fail(2)) SWIG_fail
;
23940 if (arg2
== NULL
) {
23941 SWIG_null_ref("wxDateSpan");
23943 if (SWIG_arg_fail(2)) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23949 result
= (wxDateTime
*) &_result_ref
;
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
23962 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
23967 argc
= PyObject_Length(args
);
23968 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23993 return _wrap_DateTime___isub____SWIG_0(self
,args
);
24001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24011 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24019 return _wrap_DateTime___isub____SWIG_1(self
,args
);
24024 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
24029 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
24030 PyObject
*resultobj
= NULL
;
24031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24032 wxTimeSpan
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24037 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24039 if (SWIG_arg_fail(1)) SWIG_fail
;
24041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24042 if (SWIG_arg_fail(2)) SWIG_fail
;
24043 if (arg2
== NULL
) {
24044 SWIG_null_ref("wxTimeSpan");
24046 if (SWIG_arg_fail(2)) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 wxDateTime
* resultptr
;
24057 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24066 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
24067 PyObject
*resultobj
= NULL
;
24068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24069 wxDateSpan
*arg2
= 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24074 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
24075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 if (arg2
== NULL
) {
24081 SWIG_null_ref("wxDateSpan");
24083 if (SWIG_arg_fail(2)) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24093 wxDateTime
* resultptr
;
24094 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24103 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
24108 argc
= PyObject_Length(args
);
24109 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24110 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24126 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24134 return _wrap_DateTime___add____SWIG_0(self
,args
);
24142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24160 return _wrap_DateTime___add____SWIG_1(self
,args
);
24165 Py_INCREF(Py_NotImplemented
);
24166 return Py_NotImplemented
;
24170 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
24171 PyObject
*resultobj
= NULL
;
24172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24173 wxDateTime
*arg2
= 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24178 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24183 if (SWIG_arg_fail(2)) SWIG_fail
;
24184 if (arg2
== NULL
) {
24185 SWIG_null_ref("wxDateTime");
24187 if (SWIG_arg_fail(2)) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24197 wxTimeSpan
* resultptr
;
24198 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
24199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24207 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
24208 PyObject
*resultobj
= NULL
;
24209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24210 wxTimeSpan
*arg2
= 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24215 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail
;
24219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24220 if (SWIG_arg_fail(2)) SWIG_fail
;
24221 if (arg2
== NULL
) {
24222 SWIG_null_ref("wxTimeSpan");
24224 if (SWIG_arg_fail(2)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 wxDateTime
* resultptr
;
24235 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24244 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
24245 PyObject
*resultobj
= NULL
;
24246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24247 wxDateSpan
*arg2
= 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24252 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(2)) SWIG_fail
;
24258 if (arg2
== NULL
) {
24259 SWIG_null_ref("wxDateSpan");
24261 if (SWIG_arg_fail(2)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24271 wxDateTime
* resultptr
;
24272 resultptr
= new wxDateTime(static_cast<wxDateTime
& >(result
));
24273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
24281 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
24286 argc
= PyObject_Length(args
);
24287 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24288 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24294 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24304 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24312 return _wrap_DateTime___sub____SWIG_0(self
,args
);
24320 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24330 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
24338 return _wrap_DateTime___sub____SWIG_1(self
,args
);
24346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
24356 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
24364 return _wrap_DateTime___sub____SWIG_2(self
,args
);
24369 Py_INCREF(Py_NotImplemented
);
24370 return Py_NotImplemented
;
24374 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
= NULL
;
24376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24377 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "other", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24387 if (SWIG_arg_fail(1)) SWIG_fail
;
24388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(2)) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24406 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
= NULL
;
24408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24409 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "other", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24421 if (SWIG_arg_fail(2)) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24438 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= NULL
;
24440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24441 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "other", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24470 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= NULL
;
24472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24473 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "other", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= NULL
;
24504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24505 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "other", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24517 if (SWIG_arg_fail(2)) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24534 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
= NULL
;
24536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24537 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "other", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(2)) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= NULL
;
24568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24569 wxString
*arg2
= 0 ;
24571 bool temp2
= false ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "date", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
24579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail
;
24582 arg2
= wxString_in_helper(obj1
);
24583 if (arg2
== NULL
) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_From_int(static_cast<int >(result
));
24610 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= NULL
;
24612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24613 wxString
*arg2
= 0 ;
24614 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
24615 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24616 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
24617 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
24619 bool temp2
= false ;
24620 bool temp3
= false ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 PyObject
* obj2
= 0 ;
24624 PyObject
* obj3
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24631 if (SWIG_arg_fail(1)) SWIG_fail
;
24633 arg2
= wxString_in_helper(obj1
);
24634 if (arg2
== NULL
) SWIG_fail
;
24639 arg3
= wxString_in_helper(obj2
);
24640 if (arg3
== NULL
) SWIG_fail
;
24646 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24647 if (SWIG_arg_fail(4)) SWIG_fail
;
24648 if (arg4
== NULL
) {
24649 SWIG_null_ref("wxDateTime");
24651 if (SWIG_arg_fail(4)) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_From_int(static_cast<int >(result
));
24686 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
= NULL
;
24688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24689 wxString
*arg2
= 0 ;
24691 bool temp2
= false ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "datetime", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(1)) SWIG_fail
;
24702 arg2
= wxString_in_helper(obj1
);
24703 if (arg2
== NULL
) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= SWIG_From_int(static_cast<int >(result
));
24730 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= NULL
;
24732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24733 wxString
*arg2
= 0 ;
24735 bool temp2
= false ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "date", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24744 if (SWIG_arg_fail(1)) SWIG_fail
;
24746 arg2
= wxString_in_helper(obj1
);
24747 if (arg2
== NULL
) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_From_int(static_cast<int >(result
));
24774 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
= NULL
;
24776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24777 wxString
*arg2
= 0 ;
24779 bool temp2
= false ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "time", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24788 if (SWIG_arg_fail(1)) SWIG_fail
;
24790 arg2
= wxString_in_helper(obj1
);
24791 if (arg2
== NULL
) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_From_int(static_cast<int >(result
));
24818 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
= NULL
;
24820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24821 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
24822 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24823 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
24824 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
24826 bool temp2
= false ;
24827 bool temp3
= false ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 PyObject
* obj2
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self",(char *) "format",(char *) "tz", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24837 if (SWIG_arg_fail(1)) SWIG_fail
;
24840 arg2
= wxString_in_helper(obj1
);
24841 if (arg2
== NULL
) SWIG_fail
;
24847 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24870 if (temp3
) delete arg3
;
24879 if (temp3
) delete arg3
;
24885 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
= NULL
;
24887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
24895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= ((wxDateTime
const *)arg1
)->FormatDate();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24917 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
= NULL
;
24919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24921 PyObject
* obj0
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
24927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= ((wxDateTime
const *)arg1
)->FormatTime();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24949 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= NULL
;
24951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24981 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= NULL
;
24983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25013 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
25015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25016 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
25018 return Py_BuildValue((char *)"");
25020 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= NULL
;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "sec", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
25031 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25032 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= wxTimeSpan::Seconds(arg1
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 wxTimeSpan
* resultptr
;
25043 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25052 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= NULL
;
25055 char *kwnames
[] = {
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= wxTimeSpan::Second();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 wxTimeSpan
* resultptr
;
25069 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25078 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
= NULL
;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "min", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
25089 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25090 if (SWIG_arg_fail(1)) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= wxTimeSpan::Minutes(arg1
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 wxTimeSpan
* resultptr
;
25101 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25110 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= NULL
;
25113 char *kwnames
[] = {
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= wxTimeSpan::Minute();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 wxTimeSpan
* resultptr
;
25127 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25136 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
= NULL
;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "hours", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
25147 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25148 if (SWIG_arg_fail(1)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= wxTimeSpan::Hours(arg1
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 wxTimeSpan
* resultptr
;
25159 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25168 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
= NULL
;
25171 char *kwnames
[] = {
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= wxTimeSpan::Hour();
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 wxTimeSpan
* resultptr
;
25185 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25194 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= NULL
;
25198 PyObject
* obj0
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "days", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
25205 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= wxTimeSpan::Days(arg1
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 wxTimeSpan
* resultptr
;
25217 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25226 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
= NULL
;
25229 char *kwnames
[] = {
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= wxTimeSpan::Day();
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 wxTimeSpan
* resultptr
;
25243 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25252 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= NULL
;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "days", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25263 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= wxTimeSpan::Weeks(arg1
);
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25274 wxTimeSpan
* resultptr
;
25275 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25284 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
= NULL
;
25287 char *kwnames
[] = {
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= wxTimeSpan::Week();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 wxTimeSpan
* resultptr
;
25301 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25310 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= NULL
;
25312 long arg1
= (long) 0 ;
25313 long arg2
= (long) 0 ;
25314 long arg3
= (long) 0 ;
25315 long arg4
= (long) 0 ;
25316 wxTimeSpan
*result
;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 PyObject
* obj3
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25328 arg1
= static_cast<long >(SWIG_As_long(obj0
));
25329 if (SWIG_arg_fail(1)) SWIG_fail
;
25334 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25335 if (SWIG_arg_fail(2)) SWIG_fail
;
25340 arg3
= static_cast<long >(SWIG_As_long(obj2
));
25341 if (SWIG_arg_fail(3)) SWIG_fail
;
25346 arg4
= static_cast<long >(SWIG_As_long(obj3
));
25347 if (SWIG_arg_fail(4)) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25364 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= NULL
;
25366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 Py_INCREF(Py_None
); resultobj
= Py_None
;
25389 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
= NULL
;
25391 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25392 wxTimeSpan
*arg2
= 0 ;
25393 wxTimeSpan
*result
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "diff", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25402 if (SWIG_arg_fail(1)) SWIG_fail
;
25404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25405 if (SWIG_arg_fail(2)) SWIG_fail
;
25406 if (arg2
== NULL
) {
25407 SWIG_null_ref("wxTimeSpan");
25409 if (SWIG_arg_fail(2)) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25415 result
= (wxTimeSpan
*) &_result_ref
;
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25428 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= NULL
;
25430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25431 wxTimeSpan
*arg2
= 0 ;
25432 wxTimeSpan
*result
;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "diff", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25444 if (SWIG_arg_fail(2)) SWIG_fail
;
25445 if (arg2
== NULL
) {
25446 SWIG_null_ref("wxTimeSpan");
25448 if (SWIG_arg_fail(2)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
25454 result
= (wxTimeSpan
*) &_result_ref
;
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25467 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= NULL
;
25469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25471 wxTimeSpan
*result
;
25472 PyObject
* obj0
= 0 ;
25473 PyObject
* obj1
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self",(char *) "n", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail
;
25482 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25483 if (SWIG_arg_fail(2)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25489 result
= (wxTimeSpan
*) &_result_ref
;
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25502 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
= NULL
;
25504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25505 wxTimeSpan
*result
;
25506 PyObject
* obj0
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
25518 result
= (wxTimeSpan
*) &_result_ref
;
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25531 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
= NULL
;
25533 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
25541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= ((wxTimeSpan
const *)arg1
)->Abs();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 wxTimeSpan
* resultptr
;
25552 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25561 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= NULL
;
25563 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25564 wxTimeSpan
*arg2
= 0 ;
25565 wxTimeSpan
*result
;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "diff", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25574 if (SWIG_arg_fail(1)) SWIG_fail
;
25576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(2)) SWIG_fail
;
25578 if (arg2
== NULL
) {
25579 SWIG_null_ref("wxTimeSpan");
25581 if (SWIG_arg_fail(2)) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
25587 result
= (wxTimeSpan
*) &_result_ref
;
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25600 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
= NULL
;
25602 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25603 wxTimeSpan
*arg2
= 0 ;
25604 wxTimeSpan
*result
;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self",(char *) "diff", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25613 if (SWIG_arg_fail(1)) SWIG_fail
;
25615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(2)) SWIG_fail
;
25617 if (arg2
== NULL
) {
25618 SWIG_null_ref("wxTimeSpan");
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
25626 result
= (wxTimeSpan
*) &_result_ref
;
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25639 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
= NULL
;
25641 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25643 wxTimeSpan
*result
;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "n", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25655 if (SWIG_arg_fail(2)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25661 result
= (wxTimeSpan
*) &_result_ref
;
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
25674 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
= NULL
;
25676 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25677 wxTimeSpan
*result
;
25678 PyObject
* obj0
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
25684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
25690 result
= (wxTimeSpan
*) &_result_ref
;
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
25703 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
= NULL
;
25705 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25706 wxTimeSpan
*arg2
= 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "other", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25716 if (SWIG_arg_fail(1)) SWIG_fail
;
25718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(2)) SWIG_fail
;
25720 if (arg2
== NULL
) {
25721 SWIG_null_ref("wxTimeSpan");
25723 if (SWIG_arg_fail(2)) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 wxTimeSpan
* resultptr
;
25734 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25743 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
= NULL
;
25745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25746 wxTimeSpan
*arg2
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "other", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail
;
25758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(2)) SWIG_fail
;
25760 if (arg2
== NULL
) {
25761 SWIG_null_ref("wxTimeSpan");
25763 if (SWIG_arg_fail(2)) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 wxTimeSpan
* resultptr
;
25774 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25783 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
= NULL
;
25785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 char *kwnames
[] = {
25791 (char *) "self",(char *) "n", NULL
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail
;
25798 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25799 if (SWIG_arg_fail(2)) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= wxTimeSpan___mul__(arg1
,arg2
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 wxTimeSpan
* resultptr
;
25810 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25819 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
= NULL
;
25821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self",(char *) "n", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25835 if (SWIG_arg_fail(2)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= wxTimeSpan___rmul__(arg1
,arg2
);
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 wxTimeSpan
* resultptr
;
25846 resultptr
= new wxTimeSpan(static_cast<wxTimeSpan
& >(result
));
25847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
25855 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
= NULL
;
25857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25858 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "other", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25870 if (SWIG_arg_fail(2)) SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25887 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
= NULL
;
25889 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25890 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "other", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
25899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(2)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25919 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= NULL
;
25921 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25922 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "other", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(2)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25951 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
= NULL
;
25953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25954 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "other", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(2)) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25983 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
= NULL
;
25985 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25986 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "other", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26015 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
= NULL
;
26017 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26018 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "other", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail
;
26029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26030 if (SWIG_arg_fail(2)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26047 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
= NULL
;
26049 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
26057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26058 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26075 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= NULL
;
26077 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
26085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26086 if (SWIG_arg_fail(1)) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26103 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
= NULL
;
26105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
26113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26114 if (SWIG_arg_fail(1)) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26131 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
= NULL
;
26133 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26134 wxTimeSpan
*arg2
= 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self",(char *) "ts", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26144 if (SWIG_arg_fail(1)) SWIG_fail
;
26146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(2)) SWIG_fail
;
26148 if (arg2
== NULL
) {
26149 SWIG_null_ref("wxTimeSpan");
26151 if (SWIG_arg_fail(2)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26169 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= NULL
;
26171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26172 wxTimeSpan
*arg2
= 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self",(char *) "ts", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26182 if (SWIG_arg_fail(1)) SWIG_fail
;
26184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(2)) SWIG_fail
;
26186 if (arg2
== NULL
) {
26187 SWIG_null_ref("wxTimeSpan");
26189 if (SWIG_arg_fail(2)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26207 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
= NULL
;
26209 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26210 wxTimeSpan
*arg2
= 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self",(char *) "t", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
26219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26220 if (SWIG_arg_fail(1)) SWIG_fail
;
26222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26223 if (SWIG_arg_fail(2)) SWIG_fail
;
26224 if (arg2
== NULL
) {
26225 SWIG_null_ref("wxTimeSpan");
26227 if (SWIG_arg_fail(2)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26245 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= NULL
;
26247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
26255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26256 if (SWIG_arg_fail(1)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_From_int(static_cast<int >(result
));
26273 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
= NULL
;
26275 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_From_int(static_cast<int >(result
));
26301 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= NULL
;
26303 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
26311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_From_int(static_cast<int >(result
));
26329 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
= NULL
;
26331 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
26339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_From_int(static_cast<int >(result
));
26357 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= NULL
;
26359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
26367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26368 if (SWIG_arg_fail(1)) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26377 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26378 hi
= PyLong_FromLong( (&result
)->GetHi() );
26379 lo
= PyLong_FromLong( (&result
)->GetLo() );
26380 shifter
= PyLong_FromLong(32);
26381 shifted
= PyNumber_Lshift(hi
, shifter
);
26382 resultobj
= PyNumber_Or(shifted
, lo
);
26385 Py_DECREF(shifter
);
26386 Py_DECREF(shifted
);
26394 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
= NULL
;
26396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
26404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26405 if (SWIG_arg_fail(1)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26415 hi
= PyLong_FromLong( (&result
)->GetHi() );
26416 lo
= PyLong_FromLong( (&result
)->GetLo() );
26417 shifter
= PyLong_FromLong(32);
26418 shifted
= PyNumber_Lshift(hi
, shifter
);
26419 resultobj
= PyNumber_Or(shifted
, lo
);
26422 Py_DECREF(shifter
);
26423 Py_DECREF(shifted
);
26431 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
= NULL
;
26433 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
26434 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
26435 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
26437 bool temp2
= false ;
26438 PyObject
* obj0
= 0 ;
26439 PyObject
* obj1
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "format", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
26445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26449 arg2
= wxString_in_helper(obj1
);
26450 if (arg2
== NULL
) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26482 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
26484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26485 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
26487 return Py_BuildValue((char *)"");
26489 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
= NULL
;
26491 int arg1
= (int) 0 ;
26492 int arg2
= (int) 0 ;
26493 int arg3
= (int) 0 ;
26494 int arg4
= (int) 0 ;
26495 wxDateSpan
*result
;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 PyObject
* obj2
= 0 ;
26499 PyObject
* obj3
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26507 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26513 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26514 if (SWIG_arg_fail(2)) SWIG_fail
;
26519 arg3
= static_cast<int >(SWIG_As_int(obj2
));
26520 if (SWIG_arg_fail(3)) SWIG_fail
;
26525 arg4
= static_cast<int >(SWIG_As_int(obj3
));
26526 if (SWIG_arg_fail(4)) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26543 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
= NULL
;
26545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
26552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26553 if (SWIG_arg_fail(1)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
= NULL
;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "days", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
26579 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26580 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= wxDateSpan::Days(arg1
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26590 wxDateSpan
* resultptr
;
26591 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26600 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
= NULL
;
26603 char *kwnames
[] = {
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= wxDateSpan::Day();
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 wxDateSpan
* resultptr
;
26617 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26626 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
= NULL
;
26630 PyObject
* obj0
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "weeks", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
26637 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26638 if (SWIG_arg_fail(1)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= wxDateSpan::Weeks(arg1
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 wxDateSpan
* resultptr
;
26649 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26658 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= NULL
;
26661 char *kwnames
[] = {
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= wxDateSpan::Week();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26674 wxDateSpan
* resultptr
;
26675 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26684 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= NULL
;
26688 PyObject
* obj0
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "mon", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
26695 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26696 if (SWIG_arg_fail(1)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= wxDateSpan::Months(arg1
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 wxDateSpan
* resultptr
;
26707 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26716 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= NULL
;
26719 char *kwnames
[] = {
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= wxDateSpan::Month();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 wxDateSpan
* resultptr
;
26733 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26742 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= NULL
;
26746 PyObject
* obj0
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "years", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
26753 arg1
= static_cast<int >(SWIG_As_int(obj0
));
26754 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= wxDateSpan::Years(arg1
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 wxDateSpan
* resultptr
;
26765 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26774 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= NULL
;
26777 char *kwnames
[] = {
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 result
= wxDateSpan::Year();
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26790 wxDateSpan
* resultptr
;
26791 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
26792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26800 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
= NULL
;
26802 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26804 wxDateSpan
*result
;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self",(char *) "n", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
26812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail
;
26815 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26816 if (SWIG_arg_fail(2)) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
26822 result
= (wxDateSpan
*) &_result_ref
;
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26835 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= NULL
;
26837 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26839 wxDateSpan
*result
;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "n", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
26847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail
;
26850 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26851 if (SWIG_arg_fail(2)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
26857 result
= (wxDateSpan
*) &_result_ref
;
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26870 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
= NULL
;
26872 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26874 wxDateSpan
*result
;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "n", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
26882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26883 if (SWIG_arg_fail(1)) SWIG_fail
;
26885 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26886 if (SWIG_arg_fail(2)) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
26892 result
= (wxDateSpan
*) &_result_ref
;
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26905 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
= NULL
;
26907 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26909 wxDateSpan
*result
;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "n", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
26917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26918 if (SWIG_arg_fail(1)) SWIG_fail
;
26920 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26921 if (SWIG_arg_fail(2)) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
26927 result
= (wxDateSpan
*) &_result_ref
;
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26940 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= NULL
;
26942 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
26950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_From_int(static_cast<int >(result
));
26968 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
= NULL
;
26970 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_int(static_cast<int >(result
));
26996 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
= NULL
;
26998 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27000 PyObject
* obj0
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
27006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27007 if (SWIG_arg_fail(1)) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_From_int(static_cast<int >(result
));
27024 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
= NULL
;
27026 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
27034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_From_int(static_cast<int >(result
));
27052 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
= NULL
;
27054 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
27062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27063 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= SWIG_From_int(static_cast<int >(result
));
27080 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
= NULL
;
27082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27083 wxDateSpan
*arg2
= 0 ;
27084 wxDateSpan
*result
;
27085 PyObject
* obj0
= 0 ;
27086 PyObject
* obj1
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self",(char *) "other", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
27092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27093 if (SWIG_arg_fail(1)) SWIG_fail
;
27095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27096 if (SWIG_arg_fail(2)) SWIG_fail
;
27097 if (arg2
== NULL
) {
27098 SWIG_null_ref("wxDateSpan");
27100 if (SWIG_arg_fail(2)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27106 result
= (wxDateSpan
*) &_result_ref
;
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27119 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
= NULL
;
27121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27122 wxDateSpan
*arg2
= 0 ;
27123 wxDateSpan
*result
;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self",(char *) "other", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
27131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail
;
27134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(2)) SWIG_fail
;
27136 if (arg2
== NULL
) {
27137 SWIG_null_ref("wxDateSpan");
27139 if (SWIG_arg_fail(2)) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27145 result
= (wxDateSpan
*) &_result_ref
;
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27158 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= NULL
;
27160 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27161 wxDateSpan
*result
;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
27168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(1)) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 wxDateSpan
&_result_ref
= (arg1
)->Neg();
27174 result
= (wxDateSpan
*) &_result_ref
;
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27187 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
= NULL
;
27189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27191 wxDateSpan
*result
;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "factor", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
27199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(1)) SWIG_fail
;
27202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27203 if (SWIG_arg_fail(2)) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27209 result
= (wxDateSpan
*) &_result_ref
;
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27222 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
= NULL
;
27224 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27225 wxDateSpan
*arg2
= 0 ;
27226 wxDateSpan
*result
;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "other", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
27234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27235 if (SWIG_arg_fail(1)) SWIG_fail
;
27237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27238 if (SWIG_arg_fail(2)) SWIG_fail
;
27239 if (arg2
== NULL
) {
27240 SWIG_null_ref("wxDateSpan");
27242 if (SWIG_arg_fail(2)) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27248 result
= (wxDateSpan
*) &_result_ref
;
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27261 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= NULL
;
27263 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27264 wxDateSpan
*arg2
= 0 ;
27265 wxDateSpan
*result
;
27266 PyObject
* obj0
= 0 ;
27267 PyObject
* obj1
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self",(char *) "other", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27274 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27278 if (arg2
== NULL
) {
27279 SWIG_null_ref("wxDateSpan");
27281 if (SWIG_arg_fail(2)) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27287 result
= (wxDateSpan
*) &_result_ref
;
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27300 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
= NULL
;
27302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27303 wxDateSpan
*result
;
27304 PyObject
* obj0
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self", NULL
27309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
27310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27311 if (SWIG_arg_fail(1)) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 wxDateSpan
&_result_ref
= (arg1
)->operator -();
27316 result
= (wxDateSpan
*) &_result_ref
;
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
27329 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
= NULL
;
27331 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27333 wxDateSpan
*result
;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "factor", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27345 if (SWIG_arg_fail(2)) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27351 result
= (wxDateSpan
*) &_result_ref
;
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
27364 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= NULL
;
27366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27367 wxDateSpan
*arg2
= 0 ;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self",(char *) "other", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
27376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27377 if (SWIG_arg_fail(1)) SWIG_fail
;
27379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27380 if (SWIG_arg_fail(2)) SWIG_fail
;
27381 if (arg2
== NULL
) {
27382 SWIG_null_ref("wxDateSpan");
27384 if (SWIG_arg_fail(2)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 wxDateSpan
* resultptr
;
27395 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27404 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
= NULL
;
27406 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27407 wxDateSpan
*arg2
= 0 ;
27409 PyObject
* obj0
= 0 ;
27410 PyObject
* obj1
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self",(char *) "other", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
27416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27417 if (SWIG_arg_fail(1)) SWIG_fail
;
27419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27420 if (SWIG_arg_fail(2)) SWIG_fail
;
27421 if (arg2
== NULL
) {
27422 SWIG_null_ref("wxDateSpan");
27424 if (SWIG_arg_fail(2)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 wxDateSpan
* resultptr
;
27435 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27444 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
= NULL
;
27446 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self",(char *) "n", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail
;
27459 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27460 if (SWIG_arg_fail(2)) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= wxDateSpan___mul__(arg1
,arg2
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 wxDateSpan
* resultptr
;
27471 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27480 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
= NULL
;
27482 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "n", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
27492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27493 if (SWIG_arg_fail(1)) SWIG_fail
;
27495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27496 if (SWIG_arg_fail(2)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= wxDateSpan___rmul__(arg1
,arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 wxDateSpan
* resultptr
;
27507 resultptr
= new wxDateSpan(static_cast<wxDateSpan
& >(result
));
27508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
27516 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
= NULL
;
27518 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27519 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "other", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27548 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= NULL
;
27550 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
27551 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self",(char *) "other", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27561 if (SWIG_arg_fail(1)) SWIG_fail
;
27562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
27563 if (SWIG_arg_fail(2)) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27580 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
27582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27583 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
27585 return Py_BuildValue((char *)"");
27587 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
= NULL
;
27590 char *kwnames
[] = {
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= (long)wxGetLocalTime();
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= SWIG_From_long(static_cast<long >(result
));
27611 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
= NULL
;
27614 char *kwnames
[] = {
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= (long)wxGetUTCTime();
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_From_long(static_cast<long >(result
));
27635 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
= NULL
;
27638 char *kwnames
[] = {
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (long)wxGetCurrentTime();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_From_long(static_cast<long >(result
));
27659 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= NULL
;
27662 char *kwnames
[] = {
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= wxGetLocalTimeMillis();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 PyObject
*hi
, *lo
, *shifter
, *shifted
;
27676 hi
= PyLong_FromLong( (&result
)->GetHi() );
27677 lo
= PyLong_FromLong( (&result
)->GetLo() );
27678 shifter
= PyLong_FromLong(32);
27679 shifted
= PyNumber_Lshift(hi
, shifter
);
27680 resultobj
= PyNumber_Or(shifted
, lo
);
27683 Py_DECREF(shifter
);
27684 Py_DECREF(shifted
);
27692 static int _wrap_DefaultDateTime_set(PyObject
*) {
27693 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
27698 static PyObject
*_wrap_DefaultDateTime_get(void) {
27699 PyObject
*pyobj
= NULL
;
27701 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
27706 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= NULL
;
27708 wxDataFormatId arg1
;
27709 wxDataFormat
*result
;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "type", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
27717 arg1
= static_cast<wxDataFormatId
>(SWIG_As_int(obj0
));
27718 if (SWIG_arg_fail(1)) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27734 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= NULL
;
27736 wxString
*arg1
= 0 ;
27737 wxDataFormat
*result
;
27738 bool temp1
= false ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "format", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
27746 arg1
= wxString_in_helper(obj0
);
27747 if (arg1
== NULL
) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
27772 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
= NULL
;
27774 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27775 PyObject
* obj0
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
27781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27782 if (SWIG_arg_fail(1)) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 Py_INCREF(Py_None
); resultobj
= Py_None
;
27797 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
27798 PyObject
*resultobj
= NULL
;
27799 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27800 wxDataFormatId arg2
;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27805 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail
;
27809 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27810 if (SWIG_arg_fail(2)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27828 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
27829 PyObject
*resultobj
= NULL
;
27830 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27831 wxDataFormatId arg2
;
27833 PyObject
* obj0
= 0 ;
27834 PyObject
* obj1
= 0 ;
27836 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27838 if (SWIG_arg_fail(1)) SWIG_fail
;
27840 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
27841 if (SWIG_arg_fail(2)) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27859 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
27860 PyObject
*resultobj
= NULL
;
27861 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27862 wxDataFormat
*arg2
= 0 ;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27867 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
27868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(2)) SWIG_fail
;
27873 if (arg2
== NULL
) {
27874 SWIG_null_ref("wxDataFormat");
27876 if (SWIG_arg_fail(2)) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27894 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
27899 argc
= PyObject_Length(args
);
27900 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27901 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27907 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27917 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27925 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
27933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27941 _v
= SWIG_Check_int(argv
[1]);
27943 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
27948 Py_INCREF(Py_NotImplemented
);
27949 return Py_NotImplemented
;
27953 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
27954 PyObject
*resultobj
= NULL
;
27955 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
27956 wxDataFormat
*arg2
= 0 ;
27958 PyObject
* obj0
= 0 ;
27959 PyObject
* obj1
= 0 ;
27961 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
27962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27963 if (SWIG_arg_fail(1)) SWIG_fail
;
27965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27966 if (SWIG_arg_fail(2)) SWIG_fail
;
27967 if (arg2
== NULL
) {
27968 SWIG_null_ref("wxDataFormat");
27970 if (SWIG_arg_fail(2)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27988 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
27993 argc
= PyObject_Length(args
);
27994 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27995 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28011 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28019 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
28027 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28035 _v
= SWIG_Check_int(argv
[1]);
28037 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
28042 Py_INCREF(Py_NotImplemented
);
28043 return Py_NotImplemented
;
28047 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
= NULL
;
28049 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28050 wxDataFormatId arg2
;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "format", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28059 if (SWIG_arg_fail(1)) SWIG_fail
;
28061 arg2
= static_cast<wxDataFormatId
>(SWIG_As_int(obj1
));
28062 if (SWIG_arg_fail(2)) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->SetType(arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28078 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= NULL
;
28080 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28081 wxDataFormatId result
;
28082 PyObject
* obj0
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_From_int((result
));
28104 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
= NULL
;
28106 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= ((wxDataFormat
const *)arg1
)->GetId();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28136 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
= NULL
;
28138 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
28139 wxString
*arg2
= 0 ;
28140 bool temp2
= false ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self",(char *) "format", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
28148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28149 if (SWIG_arg_fail(1)) SWIG_fail
;
28151 arg2
= wxString_in_helper(obj1
);
28152 if (arg2
== NULL
) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->SetId((wxString
const &)*arg2
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28177 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
28179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28180 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
28182 return Py_BuildValue((char *)"");
28184 static int _wrap_FormatInvalid_set(PyObject
*) {
28185 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
28190 static PyObject
*_wrap_FormatInvalid_get(void) {
28191 PyObject
*pyobj
= NULL
;
28193 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
28198 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
= NULL
;
28200 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
28207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 Py_INCREF(Py_None
); resultobj
= Py_None
;
28223 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
= NULL
;
28225 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28226 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28227 SwigValueWrapper
<wxDataFormat
> result
;
28228 PyObject
* obj0
= 0 ;
28229 PyObject
* obj1
= 0 ;
28230 char *kwnames
[] = {
28231 (char *) "self",(char *) "dir", NULL
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28236 if (SWIG_arg_fail(1)) SWIG_fail
;
28239 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28240 if (SWIG_arg_fail(2)) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28251 wxDataFormat
* resultptr
;
28252 resultptr
= new wxDataFormat(static_cast<wxDataFormat
& >(result
));
28253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
28261 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
= NULL
;
28263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28264 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "dir", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28274 if (SWIG_arg_fail(1)) SWIG_fail
;
28277 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28278 if (SWIG_arg_fail(2)) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28297 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28298 PyObject
*resultobj
= NULL
;
28299 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28300 wxDataFormat
*arg2
= 0 ;
28301 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 PyObject
* obj2
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self",(char *) "format",(char *) "dir", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28312 if (SWIG_arg_fail(1)) SWIG_fail
;
28314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28315 if (SWIG_arg_fail(2)) SWIG_fail
;
28316 if (arg2
== NULL
) {
28317 SWIG_null_ref("wxDataFormat");
28319 if (SWIG_arg_fail(2)) SWIG_fail
;
28323 arg3
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj2
));
28324 if (SWIG_arg_fail(3)) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28343 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
= NULL
;
28345 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28346 wxDataFormat
*arg2
= 0 ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 char *kwnames
[] = {
28351 (char *) "self",(char *) "format", NULL
28354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28356 if (SWIG_arg_fail(1)) SWIG_fail
;
28358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28359 if (SWIG_arg_fail(2)) SWIG_fail
;
28360 if (arg2
== NULL
) {
28361 SWIG_null_ref("wxDataFormat");
28363 if (SWIG_arg_fail(2)) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28381 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
= NULL
;
28383 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28384 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
28386 PyObject
* obj0
= 0 ;
28387 PyObject
* obj1
= 0 ;
28388 char *kwnames
[] = {
28389 (char *) "self",(char *) "dir", NULL
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
28393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28394 if (SWIG_arg_fail(1)) SWIG_fail
;
28397 arg2
= static_cast<wxDataObject::Direction
>(SWIG_As_int(obj1
));
28398 if (SWIG_arg_fail(2)) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= result
;
28415 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
= NULL
;
28417 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28418 wxDataFormat
*arg2
= 0 ;
28420 PyObject
* obj0
= 0 ;
28421 PyObject
* obj1
= 0 ;
28422 char *kwnames
[] = {
28423 (char *) "self",(char *) "format", NULL
28426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
28427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28428 if (SWIG_arg_fail(1)) SWIG_fail
;
28430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28431 if (SWIG_arg_fail(2)) SWIG_fail
;
28432 if (arg2
== NULL
) {
28433 SWIG_null_ref("wxDataFormat");
28435 if (SWIG_arg_fail(2)) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28444 resultobj
= result
;
28451 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
= NULL
;
28453 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
28454 wxDataFormat
*arg2
= 0 ;
28455 PyObject
*arg3
= (PyObject
*) 0 ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 PyObject
* obj2
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "format",(char *) "data", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail
;
28468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(2)) SWIG_fail
;
28470 if (arg2
== NULL
) {
28471 SWIG_null_ref("wxDataFormat");
28473 if (SWIG_arg_fail(2)) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28492 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
28494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28495 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
28497 return Py_BuildValue((char *)"");
28499 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
= NULL
;
28501 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28502 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28503 wxDataObjectSimple
*result
;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "format", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
28512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28513 if (SWIG_arg_fail(1)) SWIG_fail
;
28514 if (arg1
== NULL
) {
28515 SWIG_null_ref("wxDataFormat");
28517 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
28534 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
= NULL
;
28536 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28537 wxDataFormat
*result
;
28538 PyObject
* obj0
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
28544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28545 if (SWIG_arg_fail(1)) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
28550 result
= (wxDataFormat
*) &_result_ref
;
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
28563 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
= NULL
;
28565 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28566 wxDataFormat
*arg2
= 0 ;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self",(char *) "format", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
28574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28575 if (SWIG_arg_fail(1)) SWIG_fail
;
28577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(2)) SWIG_fail
;
28579 if (arg2
== NULL
) {
28580 SWIG_null_ref("wxDataFormat");
28582 if (SWIG_arg_fail(2)) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 Py_INCREF(Py_None
); resultobj
= Py_None
;
28598 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
= NULL
;
28600 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28602 PyObject
* obj0
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
28608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28626 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
= NULL
;
28628 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
28636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail
;
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= result
;
28652 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
= NULL
;
28654 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
28655 PyObject
*arg2
= (PyObject
*) 0 ;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "data", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28683 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28686 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
28688 return Py_BuildValue((char *)"");
28690 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= NULL
;
28692 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28693 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28694 wxPyDataObjectSimple
*result
;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "format", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
28703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28704 if (SWIG_arg_fail(1)) SWIG_fail
;
28705 if (arg1
== NULL
) {
28706 SWIG_null_ref("wxDataFormat");
28708 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
28725 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
= NULL
;
28727 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
28728 PyObject
*arg2
= (PyObject
*) 0 ;
28729 PyObject
*arg3
= (PyObject
*) 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 PyObject
* obj2
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self",(char *) "self",(char *) "_class", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(1)) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 Py_INCREF(Py_None
); resultobj
= Py_None
;
28756 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
28758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28759 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
28761 return Py_BuildValue((char *)"");
28763 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
= NULL
;
28765 wxDataObjectComposite
*result
;
28766 char *kwnames
[] = {
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
28785 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
= NULL
;
28787 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
28788 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
28789 bool arg3
= (bool) false ;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(1)) SWIG_fail
;
28800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28801 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
28805 if (SWIG_arg_fail(3)) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 (arg1
)->Add(arg2
,arg3
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 Py_INCREF(Py_None
); resultobj
= Py_None
;
28822 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
28824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28825 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
28827 return Py_BuildValue((char *)"");
28829 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
= NULL
;
28831 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28832 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28833 wxTextDataObject
*result
;
28834 bool temp1
= false ;
28835 PyObject
* obj0
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "text", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
28843 arg1
= wxString_in_helper(obj0
);
28844 if (arg1
== NULL
) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
28870 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
= NULL
;
28872 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28874 PyObject
* obj0
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
28880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 result
= (size_t)(arg1
)->GetTextLength();
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28890 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
28898 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
= NULL
;
28900 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28902 PyObject
* obj0
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "self", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
28908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (arg1
)->GetText();
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28930 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= NULL
;
28932 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
28933 wxString
*arg2
= 0 ;
28934 bool temp2
= false ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "text", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 arg2
= wxString_in_helper(obj1
);
28946 if (arg2
== NULL
) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetText((wxString
const &)*arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28971 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
28973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28974 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
28976 return Py_BuildValue((char *)"");
28978 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
= NULL
;
28980 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28981 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28982 wxPyTextDataObject
*result
;
28983 bool temp1
= false ;
28984 PyObject
* obj0
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "text", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
28992 arg1
= wxString_in_helper(obj0
);
28993 if (arg1
== NULL
) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
29019 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
= NULL
;
29021 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
29022 PyObject
*arg2
= (PyObject
*) 0 ;
29023 PyObject
*arg3
= (PyObject
*) 0 ;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 PyObject
* obj2
= 0 ;
29027 char *kwnames
[] = {
29028 (char *) "self",(char *) "self",(char *) "_class", NULL
29031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29033 if (SWIG_arg_fail(1)) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 Py_INCREF(Py_None
); resultobj
= Py_None
;
29050 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
29052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29053 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
29055 return Py_BuildValue((char *)"");
29057 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
= NULL
;
29059 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29060 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29061 wxBitmapDataObject
*result
;
29062 PyObject
* obj0
= 0 ;
29063 char *kwnames
[] = {
29064 (char *) "bitmap", NULL
29067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
29070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 if (arg1
== NULL
) {
29073 SWIG_null_ref("wxBitmap");
29075 if (SWIG_arg_fail(1)) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
29092 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
= NULL
;
29094 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
29102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail
;
29105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29106 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
29108 wxPyEndAllowThreads(__tstate
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29112 wxBitmap
* resultptr
;
29113 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
29114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
29122 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= NULL
;
29124 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
29125 wxBitmap
*arg2
= 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "bitmap", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29137 if (SWIG_arg_fail(2)) SWIG_fail
;
29138 if (arg2
== NULL
) {
29139 SWIG_null_ref("wxBitmap");
29141 if (SWIG_arg_fail(2)) SWIG_fail
;
29144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 Py_INCREF(Py_None
); resultobj
= Py_None
;
29157 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29160 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
29162 return Py_BuildValue((char *)"");
29164 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
= NULL
;
29166 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
29167 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
29168 wxPyBitmapDataObject
*result
;
29169 PyObject
* obj0
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "bitmap", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
29177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
29178 if (SWIG_arg_fail(1)) SWIG_fail
;
29179 if (arg1
== NULL
) {
29180 SWIG_null_ref("wxBitmap");
29182 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
29199 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
= NULL
;
29201 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
29202 PyObject
*arg2
= (PyObject
*) 0 ;
29203 PyObject
*arg3
= (PyObject
*) 0 ;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 PyObject
* obj2
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self",(char *) "self",(char *) "_class", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29213 if (SWIG_arg_fail(1)) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 Py_INCREF(Py_None
); resultobj
= Py_None
;
29230 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
29232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29233 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
29235 return Py_BuildValue((char *)"");
29237 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29238 PyObject
*resultobj
= NULL
;
29239 wxFileDataObject
*result
;
29240 char *kwnames
[] = {
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 result
= (wxFileDataObject
*)new wxFileDataObject();
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
29259 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
= NULL
;
29261 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29262 wxArrayString
*result
;
29263 PyObject
* obj0
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
29269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
29275 result
= (wxArrayString
*) &_result_ref
;
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= wxArrayString2PyList_helper(*result
);
29290 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= NULL
;
29292 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
29293 wxString
*arg2
= 0 ;
29294 bool temp2
= false ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "filename", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
29302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(1)) SWIG_fail
;
29305 arg2
= wxString_in_helper(obj1
);
29306 if (arg2
== NULL
) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 (arg1
)->AddFile((wxString
const &)*arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 Py_INCREF(Py_None
); resultobj
= Py_None
;
29331 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29334 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
29336 return Py_BuildValue((char *)"");
29338 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
29339 PyObject
*resultobj
= NULL
;
29340 wxDataFormat
*arg1
= 0 ;
29341 wxCustomDataObject
*result
;
29342 PyObject
* obj0
= 0 ;
29344 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail
;
29348 if (arg1
== NULL
) {
29349 SWIG_null_ref("wxDataFormat");
29351 if (SWIG_arg_fail(1)) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29367 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
29368 PyObject
*resultobj
= NULL
;
29369 wxString
*arg1
= 0 ;
29370 wxCustomDataObject
*result
;
29371 bool temp1
= false ;
29372 PyObject
* obj0
= 0 ;
29374 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
29376 arg1
= wxString_in_helper(obj0
);
29377 if (arg1
== NULL
) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29402 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
29403 PyObject
*resultobj
= NULL
;
29404 wxCustomDataObject
*result
;
29406 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (wxCustomDataObject
*)new wxCustomDataObject();
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
29421 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
29426 argc
= PyObject_Length(args
);
29427 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
29428 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29431 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
29436 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
29439 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
29446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
29454 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
29458 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
29463 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= NULL
;
29465 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29466 PyObject
*arg2
= (PyObject
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "data", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29494 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
= NULL
;
29496 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
29504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (size_t)(arg1
)->GetSize();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
29522 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= NULL
;
29524 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= result
;
29548 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
29550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29551 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
29553 return Py_BuildValue((char *)"");
29555 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= NULL
;
29557 wxURLDataObject
*result
;
29558 char *kwnames
[] = {
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= (wxURLDataObject
*)new wxURLDataObject();
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
29577 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= NULL
;
29579 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
29587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29588 if (SWIG_arg_fail(1)) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (arg1
)->GetURL();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29609 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
= NULL
;
29611 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
29612 wxString
*arg2
= 0 ;
29613 bool temp2
= false ;
29614 PyObject
* obj0
= 0 ;
29615 PyObject
* obj1
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self",(char *) "url", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
29621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail
;
29624 arg2
= wxString_in_helper(obj1
);
29625 if (arg2
== NULL
) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 (arg1
)->SetURL((wxString
const &)*arg2
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 Py_INCREF(Py_None
); resultobj
= Py_None
;
29650 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
29652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29653 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
29655 return Py_BuildValue((char *)"");
29657 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
= NULL
;
29659 wxMetafileDataObject
*result
;
29660 char *kwnames
[] = {
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
29679 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= NULL
;
29681 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29682 wxMetafile
*arg2
= 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self",(char *) "metafile", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
29690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29691 if (SWIG_arg_fail(1)) SWIG_fail
;
29693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
29694 if (SWIG_arg_fail(2)) SWIG_fail
;
29695 if (arg2
== NULL
) {
29696 SWIG_null_ref("wxMetafile");
29698 if (SWIG_arg_fail(2)) SWIG_fail
;
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29707 Py_INCREF(Py_None
); resultobj
= Py_None
;
29714 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
= NULL
;
29716 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
29718 PyObject
* obj0
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
29724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29725 if (SWIG_arg_fail(1)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29734 wxMetafile
* resultptr
;
29735 resultptr
= new wxMetafile(static_cast<wxMetafile
& >(result
));
29736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
29744 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
29746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29747 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
29749 return Py_BuildValue((char *)"");
29751 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= NULL
;
29753 wxDragResult arg1
;
29755 PyObject
* obj0
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "res", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
29762 arg1
= static_cast<wxDragResult
>(SWIG_As_int(obj0
));
29763 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (bool)wxIsDragResultOk(arg1
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29781 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
= NULL
;
29783 wxWindow
*arg1
= (wxWindow
*) 0 ;
29784 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29785 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29786 wxCursor
const &arg3_defvalue
= wxNullCursor
;
29787 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
29788 wxCursor
const &arg4_defvalue
= wxNullCursor
;
29789 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
29790 wxPyDropSource
*result
;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 PyObject
* obj3
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29801 if (SWIG_arg_fail(1)) SWIG_fail
;
29804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29805 if (SWIG_arg_fail(2)) SWIG_fail
;
29806 if (arg2
== NULL
) {
29807 SWIG_null_ref("wxCursor");
29809 if (SWIG_arg_fail(2)) SWIG_fail
;
29814 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29815 if (SWIG_arg_fail(3)) SWIG_fail
;
29816 if (arg3
== NULL
) {
29817 SWIG_null_ref("wxCursor");
29819 if (SWIG_arg_fail(3)) SWIG_fail
;
29824 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29825 if (SWIG_arg_fail(4)) SWIG_fail
;
29826 if (arg4
== NULL
) {
29827 SWIG_null_ref("wxCursor");
29829 if (SWIG_arg_fail(4)) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
29846 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
= NULL
;
29848 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29849 PyObject
*arg2
= (PyObject
*) 0 ;
29850 PyObject
*arg3
= (PyObject
*) 0 ;
29852 PyObject
* obj0
= 0 ;
29853 PyObject
* obj1
= 0 ;
29854 PyObject
* obj2
= 0 ;
29855 PyObject
* obj3
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29862 if (SWIG_arg_fail(1)) SWIG_fail
;
29866 arg4
= static_cast<int >(SWIG_As_int(obj3
));
29867 if (SWIG_arg_fail(4)) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
= NULL
;
29885 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29886 PyObject
* obj0
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
29892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 Py_INCREF(Py_None
); resultobj
= Py_None
;
29908 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= NULL
;
29910 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29911 wxDataObject
*arg2
= 0 ;
29912 PyObject
* obj0
= 0 ;
29913 PyObject
* obj1
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self",(char *) "data", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29920 if (SWIG_arg_fail(1)) SWIG_fail
;
29922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29923 if (SWIG_arg_fail(2)) SWIG_fail
;
29924 if (arg2
== NULL
) {
29925 SWIG_null_ref("wxDataObject");
29927 if (SWIG_arg_fail(2)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 (arg1
)->SetData(*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 Py_INCREF(Py_None
); resultobj
= Py_None
;
29943 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= NULL
;
29945 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29946 wxDataObject
*result
;
29947 PyObject
* obj0
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
29953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29954 if (SWIG_arg_fail(1)) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29969 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
= NULL
;
29971 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
29972 wxDragResult arg2
;
29973 wxCursor
*arg3
= 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 PyObject
* obj2
= 0 ;
29977 char *kwnames
[] = {
29978 (char *) "self",(char *) "res",(char *) "cursor", NULL
29981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail
;
29985 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
29986 if (SWIG_arg_fail(2)) SWIG_fail
;
29989 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29990 if (SWIG_arg_fail(3)) SWIG_fail
;
29991 if (arg3
== NULL
) {
29992 SWIG_null_ref("wxCursor");
29994 if (SWIG_arg_fail(3)) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 Py_INCREF(Py_None
); resultobj
= Py_None
;
30010 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
= NULL
;
30012 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30013 int arg2
= (int) wxDrag_CopyOnly
;
30014 wxDragResult result
;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char *kwnames
[] = {
30018 (char *) "self",(char *) "flags", NULL
30021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
30022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30023 if (SWIG_arg_fail(1)) SWIG_fail
;
30026 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30027 if (SWIG_arg_fail(2)) SWIG_fail
;
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= SWIG_From_int((result
));
30044 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30045 PyObject
*resultobj
= NULL
;
30046 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
30047 wxDragResult arg2
;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "effect", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
30056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(1)) SWIG_fail
;
30059 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30060 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= (bool)(arg1
)->base_GiveFeedback(arg2
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30078 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
30080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30081 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
30083 return Py_BuildValue((char *)"");
30085 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
= NULL
;
30087 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
30088 wxPyDropTarget
*result
;
30089 PyObject
* obj0
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "dataObject", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
30096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30097 if (SWIG_arg_fail(1)) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
30113 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
= NULL
;
30115 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30116 PyObject
*arg2
= (PyObject
*) 0 ;
30117 PyObject
*arg3
= (PyObject
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "self",(char *) "_class", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30127 if (SWIG_arg_fail(1)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 Py_INCREF(Py_None
); resultobj
= Py_None
;
30144 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30145 PyObject
*resultobj
= NULL
;
30146 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
30153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail
;
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 Py_INCREF(Py_None
); resultobj
= Py_None
;
30169 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= NULL
;
30171 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30172 wxDataObject
*result
;
30173 PyObject
* obj0
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30183 result
= (wxDataObject
*)(arg1
)->GetDataObject();
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
30195 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
= NULL
;
30197 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30198 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "dataObject", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
30206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail
;
30208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30209 if (SWIG_arg_fail(2)) SWIG_fail
;
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 (arg1
)->SetDataObject(arg2
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 Py_INCREF(Py_None
); resultobj
= Py_None
;
30224 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= NULL
;
30226 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30229 wxDragResult arg4
;
30230 wxDragResult result
;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 PyObject
* obj2
= 0 ;
30234 PyObject
* obj3
= 0 ;
30235 char *kwnames
[] = {
30236 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30241 if (SWIG_arg_fail(1)) SWIG_fail
;
30243 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30244 if (SWIG_arg_fail(2)) SWIG_fail
;
30247 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30248 if (SWIG_arg_fail(3)) SWIG_fail
;
30251 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30252 if (SWIG_arg_fail(4)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_From_int((result
));
30268 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
= NULL
;
30270 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30273 wxDragResult arg4
;
30274 wxDragResult result
;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 PyObject
* obj2
= 0 ;
30278 PyObject
* obj3
= 0 ;
30279 char *kwnames
[] = {
30280 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail
;
30287 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30291 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30292 if (SWIG_arg_fail(3)) SWIG_fail
;
30295 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30296 if (SWIG_arg_fail(4)) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_From_int((result
));
30312 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= NULL
;
30314 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30315 PyObject
* obj0
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "self", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30322 if (SWIG_arg_fail(1)) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 (arg1
)->base_OnLeave();
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 Py_INCREF(Py_None
); resultobj
= Py_None
;
30337 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
= NULL
;
30339 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 PyObject
* obj2
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "x",(char *) "y", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30358 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30359 if (SWIG_arg_fail(3)) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30377 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= NULL
;
30379 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
30387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (bool)(arg1
)->GetData();
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30405 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
= NULL
;
30407 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30408 wxDragResult arg2
;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "action", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
30416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30417 if (SWIG_arg_fail(1)) SWIG_fail
;
30419 arg2
= static_cast<wxDragResult
>(SWIG_As_int(obj1
));
30420 if (SWIG_arg_fail(2)) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 (arg1
)->SetDefaultAction(arg2
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 Py_INCREF(Py_None
); resultobj
= Py_None
;
30436 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= NULL
;
30438 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
30439 wxDragResult result
;
30440 PyObject
* obj0
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
30446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30447 if (SWIG_arg_fail(1)) SWIG_fail
;
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= SWIG_From_int((result
));
30462 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
30464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30465 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
30467 return Py_BuildValue((char *)"");
30469 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= NULL
;
30471 wxPyTextDropTarget
*result
;
30472 char *kwnames
[] = {
30476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
30491 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
= NULL
;
30493 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30494 PyObject
*arg2
= (PyObject
*) 0 ;
30495 PyObject
*arg3
= (PyObject
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 PyObject
* obj2
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self",(char *) "self",(char *) "_class", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30505 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 Py_INCREF(Py_None
); resultobj
= Py_None
;
30522 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
= NULL
;
30524 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30527 wxDragResult arg4
;
30528 wxDragResult result
;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 PyObject
* obj2
= 0 ;
30532 PyObject
* obj3
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail
;
30541 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30542 if (SWIG_arg_fail(2)) SWIG_fail
;
30545 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30546 if (SWIG_arg_fail(3)) SWIG_fail
;
30549 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30550 if (SWIG_arg_fail(4)) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= SWIG_From_int((result
));
30566 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
= NULL
;
30568 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30571 wxDragResult arg4
;
30572 wxDragResult result
;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 PyObject
* obj2
= 0 ;
30576 PyObject
* obj3
= 0 ;
30577 char *kwnames
[] = {
30578 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30583 if (SWIG_arg_fail(1)) SWIG_fail
;
30585 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30586 if (SWIG_arg_fail(2)) SWIG_fail
;
30589 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30590 if (SWIG_arg_fail(3)) SWIG_fail
;
30593 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30594 if (SWIG_arg_fail(4)) SWIG_fail
;
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30598 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_From_int((result
));
30610 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= NULL
;
30612 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30613 PyObject
* obj0
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 (arg1
)->base_OnLeave();
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 Py_INCREF(Py_None
); resultobj
= Py_None
;
30635 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
= NULL
;
30637 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "x",(char *) "y", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30650 if (SWIG_arg_fail(1)) SWIG_fail
;
30652 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30653 if (SWIG_arg_fail(2)) SWIG_fail
;
30656 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30657 if (SWIG_arg_fail(3)) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30675 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= NULL
;
30677 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
30680 wxDragResult arg4
;
30681 wxDragResult result
;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 PyObject
* obj2
= 0 ;
30685 PyObject
* obj3
= 0 ;
30686 char *kwnames
[] = {
30687 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(1)) SWIG_fail
;
30694 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30695 if (SWIG_arg_fail(2)) SWIG_fail
;
30698 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30699 if (SWIG_arg_fail(3)) SWIG_fail
;
30702 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30703 if (SWIG_arg_fail(4)) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_From_int((result
));
30719 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30722 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
30724 return Py_BuildValue((char *)"");
30726 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
= NULL
;
30728 wxPyFileDropTarget
*result
;
30729 char *kwnames
[] = {
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
30748 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
= NULL
;
30750 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30751 PyObject
*arg2
= (PyObject
*) 0 ;
30752 PyObject
*arg3
= (PyObject
*) 0 ;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 PyObject
* obj2
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self",(char *) "self",(char *) "_class", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30769 wxPyEndAllowThreads(__tstate
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 Py_INCREF(Py_None
); resultobj
= Py_None
;
30779 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= NULL
;
30781 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30784 wxDragResult arg4
;
30785 wxDragResult result
;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 PyObject
* obj2
= 0 ;
30789 PyObject
* obj3
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30796 if (SWIG_arg_fail(1)) SWIG_fail
;
30798 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30799 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30803 if (SWIG_arg_fail(3)) SWIG_fail
;
30806 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30807 if (SWIG_arg_fail(4)) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,arg4
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= SWIG_From_int((result
));
30823 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
= NULL
;
30825 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30828 wxDragResult arg4
;
30829 wxDragResult result
;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 PyObject
* obj2
= 0 ;
30833 PyObject
* obj3
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30843 if (SWIG_arg_fail(2)) SWIG_fail
;
30846 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30847 if (SWIG_arg_fail(3)) SWIG_fail
;
30850 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30851 if (SWIG_arg_fail(4)) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,arg4
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_From_int((result
));
30867 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
= NULL
;
30869 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30870 PyObject
* obj0
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
30876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail
;
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 (arg1
)->base_OnLeave();
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 Py_INCREF(Py_None
); resultobj
= Py_None
;
30892 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
= NULL
;
30894 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 PyObject
* obj2
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "x",(char *) "y", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30907 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30910 if (SWIG_arg_fail(2)) SWIG_fail
;
30913 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30914 if (SWIG_arg_fail(3)) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30932 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= NULL
;
30934 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
30937 wxDragResult arg4
;
30938 wxDragResult result
;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 PyObject
* obj2
= 0 ;
30942 PyObject
* obj3
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail
;
30951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
30952 if (SWIG_arg_fail(2)) SWIG_fail
;
30955 arg3
= static_cast<int >(SWIG_As_int(obj2
));
30956 if (SWIG_arg_fail(3)) SWIG_fail
;
30959 arg4
= static_cast<wxDragResult
>(SWIG_As_int(obj3
));
30960 if (SWIG_arg_fail(4)) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,arg4
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_From_int((result
));
30976 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
30978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30979 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
30981 return Py_BuildValue((char *)"");
30983 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= NULL
;
30985 wxClipboard
*result
;
30986 char *kwnames
[] = {
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= (wxClipboard
*)new wxClipboard();
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
31005 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
= NULL
;
31007 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 char *kwnames
[] = {
31010 (char *) "self", NULL
31013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
31014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31015 if (SWIG_arg_fail(1)) SWIG_fail
;
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 wxPyEndAllowThreads(__tstate
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 Py_INCREF(Py_None
); resultobj
= Py_None
;
31030 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
= NULL
;
31032 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31034 PyObject
* obj0
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
31040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31041 if (SWIG_arg_fail(1)) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (bool)(arg1
)->Open();
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31058 static PyObject
*_wrap_Clipboard_Close(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:Clipboard_Close",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_IsOpened(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_IsOpened",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)((wxClipboard
const *)arg1
)->IsOpened();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31111 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= NULL
;
31113 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31114 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "data", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31126 if (SWIG_arg_fail(2)) SWIG_fail
;
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= (bool)(arg1
)->AddData(arg2
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31143 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
= NULL
;
31145 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31146 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
31148 PyObject
* obj0
= 0 ;
31149 PyObject
* obj1
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self",(char *) "data", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31156 if (SWIG_arg_fail(1)) SWIG_fail
;
31157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31158 if (SWIG_arg_fail(2)) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (bool)(arg1
)->SetData(arg2
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31175 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
= NULL
;
31177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31178 wxDataFormat
*arg2
= 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char *kwnames
[] = {
31183 (char *) "self",(char *) "format", NULL
31186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
31187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31188 if (SWIG_arg_fail(1)) SWIG_fail
;
31190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
31191 if (SWIG_arg_fail(2)) SWIG_fail
;
31192 if (arg2
== NULL
) {
31193 SWIG_null_ref("wxDataFormat");
31195 if (SWIG_arg_fail(2)) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31213 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= NULL
;
31215 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31216 wxDataObject
*arg2
= 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "self",(char *) "data", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
31225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31226 if (SWIG_arg_fail(1)) SWIG_fail
;
31228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
31229 if (SWIG_arg_fail(2)) SWIG_fail
;
31230 if (arg2
== NULL
) {
31231 SWIG_null_ref("wxDataObject");
31233 if (SWIG_arg_fail(2)) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (bool)(arg1
)->GetData(*arg2
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31251 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
= NULL
;
31253 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
31260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31261 if (SWIG_arg_fail(1)) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 Py_INCREF(Py_None
); resultobj
= Py_None
;
31276 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
= NULL
;
31278 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31280 PyObject
* obj0
= 0 ;
31281 char *kwnames
[] = {
31282 (char *) "self", NULL
31285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
31286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31287 if (SWIG_arg_fail(1)) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)(arg1
)->Flush();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31304 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
= NULL
;
31306 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
31307 bool arg2
= (bool) true ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "self",(char *) "primary", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
31315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail
;
31319 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
31320 if (SWIG_arg_fail(2)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 (arg1
)->UsePrimarySelection(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 Py_INCREF(Py_None
); resultobj
= Py_None
;
31337 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= NULL
;
31339 wxClipboard
*result
;
31340 char *kwnames
[] = {
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (wxClipboard
*)wxClipboard::Get();
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
31359 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
31361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31362 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
31364 return Py_BuildValue((char *)"");
31366 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
= NULL
;
31368 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
31369 wxClipboardLocker
*result
;
31370 PyObject
* obj0
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "clipboard", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
31378 if (SWIG_arg_fail(1)) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
31394 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
= NULL
;
31396 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31397 PyObject
* obj0
= 0 ;
31398 char *kwnames
[] = {
31399 (char *) "self", NULL
31402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
31403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31404 if (SWIG_arg_fail(1)) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 Py_INCREF(Py_None
); resultobj
= Py_None
;
31419 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= NULL
;
31421 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
31429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31447 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
31449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31450 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
31452 return Py_BuildValue((char *)"");
31454 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= NULL
;
31456 int arg1
= (int) 0 ;
31457 int arg2
= (int) 0 ;
31458 int arg3
= (int) 0 ;
31459 int arg4
= (int) 0 ;
31460 wxVideoMode
*result
;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 PyObject
* obj2
= 0 ;
31464 PyObject
* obj3
= 0 ;
31465 char *kwnames
[] = {
31466 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31472 arg1
= static_cast<int >(SWIG_As_int(obj0
));
31473 if (SWIG_arg_fail(1)) SWIG_fail
;
31478 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31479 if (SWIG_arg_fail(2)) SWIG_fail
;
31484 arg3
= static_cast<int >(SWIG_As_int(obj2
));
31485 if (SWIG_arg_fail(3)) SWIG_fail
;
31490 arg4
= static_cast<int >(SWIG_As_int(obj3
));
31491 if (SWIG_arg_fail(4)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
31508 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
= NULL
;
31510 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31511 PyObject
* obj0
= 0 ;
31512 char *kwnames
[] = {
31513 (char *) "self", NULL
31516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
31517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail
;
31520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 Py_INCREF(Py_None
); resultobj
= Py_None
;
31533 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
= NULL
;
31535 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31536 wxVideoMode
*arg2
= 0 ;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 char *kwnames
[] = {
31541 (char *) "self",(char *) "other", NULL
31544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
31545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31546 if (SWIG_arg_fail(1)) SWIG_fail
;
31548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31549 if (SWIG_arg_fail(2)) SWIG_fail
;
31550 if (arg2
== NULL
) {
31551 SWIG_null_ref("wxVideoMode");
31553 if (SWIG_arg_fail(2)) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31571 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
= NULL
;
31573 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31575 PyObject
* obj0
= 0 ;
31576 char *kwnames
[] = {
31577 (char *) "self", NULL
31580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
31581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31582 if (SWIG_arg_fail(1)) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_From_int(static_cast<int >(result
));
31599 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
= NULL
;
31601 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31603 PyObject
* obj0
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
31609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31610 if (SWIG_arg_fail(1)) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= SWIG_From_int(static_cast<int >(result
));
31627 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31628 PyObject
*resultobj
= NULL
;
31629 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
31637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31638 if (SWIG_arg_fail(1)) SWIG_fail
;
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= SWIG_From_int(static_cast<int >(result
));
31655 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
= NULL
;
31657 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
31665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31669 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31683 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
= NULL
;
31685 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31686 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self",(char *) "other", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31696 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31715 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
= NULL
;
31717 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31718 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 PyObject
* obj1
= 0 ;
31722 char *kwnames
[] = {
31723 (char *) "self",(char *) "other", NULL
31726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31728 if (SWIG_arg_fail(1)) SWIG_fail
;
31729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31730 if (SWIG_arg_fail(2)) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31747 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
= NULL
;
31749 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self",(char *) "w", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail
;
31761 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31762 if (SWIG_arg_fail(2)) SWIG_fail
;
31764 if (arg1
) (arg1
)->w
= arg2
;
31766 Py_INCREF(Py_None
); resultobj
= Py_None
;
31773 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
= NULL
;
31775 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31777 PyObject
* obj0
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
31783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31784 if (SWIG_arg_fail(1)) SWIG_fail
;
31785 result
= (int) ((arg1
)->w
);
31788 resultobj
= SWIG_From_int(static_cast<int >(result
));
31796 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
= NULL
;
31798 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self",(char *) "h", NULL
31806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31808 if (SWIG_arg_fail(1)) SWIG_fail
;
31810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31811 if (SWIG_arg_fail(2)) SWIG_fail
;
31813 if (arg1
) (arg1
)->h
= arg2
;
31815 Py_INCREF(Py_None
); resultobj
= Py_None
;
31822 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31823 PyObject
*resultobj
= NULL
;
31824 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31826 PyObject
* obj0
= 0 ;
31827 char *kwnames
[] = {
31828 (char *) "self", NULL
31831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
31832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31833 if (SWIG_arg_fail(1)) SWIG_fail
;
31834 result
= (int) ((arg1
)->h
);
31837 resultobj
= SWIG_From_int(static_cast<int >(result
));
31845 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
= NULL
;
31847 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 PyObject
* obj1
= 0 ;
31851 char *kwnames
[] = {
31852 (char *) "self",(char *) "bpp", NULL
31855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31857 if (SWIG_arg_fail(1)) SWIG_fail
;
31859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31860 if (SWIG_arg_fail(2)) SWIG_fail
;
31862 if (arg1
) (arg1
)->bpp
= arg2
;
31864 Py_INCREF(Py_None
); resultobj
= Py_None
;
31871 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31872 PyObject
*resultobj
= NULL
;
31873 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31875 PyObject
* obj0
= 0 ;
31876 char *kwnames
[] = {
31877 (char *) "self", NULL
31880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
31881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail
;
31883 result
= (int) ((arg1
)->bpp
);
31886 resultobj
= SWIG_From_int(static_cast<int >(result
));
31894 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
= NULL
;
31896 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "refresh", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
31905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31906 if (SWIG_arg_fail(1)) SWIG_fail
;
31908 arg2
= static_cast<int >(SWIG_As_int(obj1
));
31909 if (SWIG_arg_fail(2)) SWIG_fail
;
31911 if (arg1
) (arg1
)->refresh
= arg2
;
31913 Py_INCREF(Py_None
); resultobj
= Py_None
;
31920 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
= NULL
;
31922 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
31930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31931 if (SWIG_arg_fail(1)) SWIG_fail
;
31932 result
= (int) ((arg1
)->refresh
);
31935 resultobj
= SWIG_From_int(static_cast<int >(result
));
31943 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
31945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31946 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
31948 return Py_BuildValue((char *)"");
31950 static int _wrap_DefaultVideoMode_set(PyObject
*) {
31951 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
31956 static PyObject
*_wrap_DefaultVideoMode_get(void) {
31957 PyObject
*pyobj
= NULL
;
31959 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
31964 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
= NULL
;
31966 size_t arg1
= (size_t) 0 ;
31968 PyObject
* obj0
= 0 ;
31969 char *kwnames
[] = {
31970 (char *) "index", NULL
31973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
31976 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
31977 if (SWIG_arg_fail(1)) SWIG_fail
;
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 result
= (wxDisplay
*)new wxDisplay(arg1
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
31994 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
= NULL
;
31996 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31997 PyObject
* obj0
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "self", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
32003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32004 if (SWIG_arg_fail(1)) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
= NULL
;
32022 char *kwnames
[] = {
32026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 result
= (size_t)wxDisplay::GetCount();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
32043 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
= NULL
;
32045 wxPoint
*arg1
= 0 ;
32048 PyObject
* obj0
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "pt", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
32056 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_From_int(static_cast<int >(result
));
32074 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
= NULL
;
32076 wxWindow
*arg1
= (wxWindow
*) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 char *kwnames
[] = {
32080 (char *) "window", NULL
32083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
32084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32085 if (SWIG_arg_fail(1)) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= (int)wxDisplay_GetFromWindow(arg1
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32094 resultobj
= SWIG_From_int(static_cast<int >(result
));
32102 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
= NULL
;
32104 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32106 PyObject
* obj0
= 0 ;
32107 char *kwnames
[] = {
32108 (char *) "self", NULL
32111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
32112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32113 if (SWIG_arg_fail(1)) SWIG_fail
;
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32130 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
= NULL
;
32132 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32134 PyObject
* obj0
= 0 ;
32135 char *kwnames
[] = {
32136 (char *) "self", NULL
32139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
32140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32141 if (SWIG_arg_fail(1)) SWIG_fail
;
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32150 wxRect
* resultptr
;
32151 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
32152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
32160 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
= NULL
;
32162 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 char *kwnames
[] = {
32166 (char *) "self", NULL
32169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
32170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32171 if (SWIG_arg_fail(1)) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= ((wxDisplay
const *)arg1
)->GetName();
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32192 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
= NULL
;
32194 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 char *kwnames
[] = {
32198 (char *) "self", NULL
32201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
32202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32203 if (SWIG_arg_fail(1)) SWIG_fail
;
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32220 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32221 PyObject
*resultobj
= NULL
;
32222 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32223 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32224 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self",(char *) "mode", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
32233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail
;
32237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32238 if (SWIG_arg_fail(2)) SWIG_fail
;
32239 if (arg2
== NULL
) {
32240 SWIG_null_ref("wxVideoMode");
32242 if (SWIG_arg_fail(2)) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= result
;
32259 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= NULL
;
32261 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32262 wxVideoMode result
;
32263 PyObject
* obj0
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "self", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
32269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail
;
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32279 wxVideoMode
* resultptr
;
32280 resultptr
= new wxVideoMode(static_cast<wxVideoMode
& >(result
));
32281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
32289 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
= NULL
;
32291 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32292 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
32293 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 char *kwnames
[] = {
32298 (char *) "self",(char *) "mode", NULL
32301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
32302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32303 if (SWIG_arg_fail(1)) SWIG_fail
;
32306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
32307 if (SWIG_arg_fail(2)) SWIG_fail
;
32308 if (arg2
== NULL
) {
32309 SWIG_null_ref("wxVideoMode");
32311 if (SWIG_arg_fail(2)) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32330 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
= NULL
;
32332 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
32333 PyObject
* obj0
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
32339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 (arg1
)->ResetMode();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 Py_INCREF(Py_None
); resultobj
= Py_None
;
32355 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
32357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32358 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
32360 return Py_BuildValue((char *)"");
32362 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32363 PyObject
*resultobj
= NULL
;
32364 wxStandardPaths
*result
;
32365 char *kwnames
[] = {
32369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (wxStandardPaths
*)wxStandardPaths_Get();
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
32384 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
= NULL
;
32386 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32388 PyObject
* obj0
= 0 ;
32389 char *kwnames
[] = {
32390 (char *) "self", NULL
32393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
32394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(1)) SWIG_fail
;
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32416 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= NULL
;
32418 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 char *kwnames
[] = {
32422 (char *) "self", NULL
32425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
32426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32427 if (SWIG_arg_fail(1)) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32448 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
= NULL
;
32450 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32452 PyObject
* obj0
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
32458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32480 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= NULL
;
32482 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
32490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32512 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
= NULL
;
32514 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32516 PyObject
* obj0
= 0 ;
32517 char *kwnames
[] = {
32518 (char *) "self", NULL
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
32522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32523 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32544 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
= NULL
;
32546 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32548 PyObject
* obj0
= 0 ;
32549 char *kwnames
[] = {
32550 (char *) "self", NULL
32553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
32554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail
;
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32576 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
= NULL
;
32578 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32580 PyObject
* obj0
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "self", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
32586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32587 if (SWIG_arg_fail(1)) SWIG_fail
;
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32608 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
= NULL
;
32610 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32611 wxString
*arg2
= 0 ;
32612 bool temp2
= false ;
32613 PyObject
* obj0
= 0 ;
32614 PyObject
* obj1
= 0 ;
32615 char *kwnames
[] = {
32616 (char *) "self",(char *) "prefix", NULL
32619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
32620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32621 if (SWIG_arg_fail(1)) SWIG_fail
;
32623 arg2
= wxString_in_helper(obj1
);
32624 if (arg2
== NULL
) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 Py_INCREF(Py_None
); resultobj
= Py_None
;
32649 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= NULL
;
32651 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
32653 PyObject
* obj0
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
32659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
32660 if (SWIG_arg_fail(1)) SWIG_fail
;
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 result
= wxStandardPaths_GetInstallPrefix(arg1
);
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32681 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
32683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32684 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
32686 return Py_BuildValue((char *)"");
32688 static PyMethodDef SwigMethods
[] = {
32689 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
32696 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
32704 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"GetXDisplay", (PyCFunction
) _wrap_GetXDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"FindWindowAtPointer", (PyCFunction
) _wrap_FindWindowAtPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"new_MouseState", (PyCFunction
) _wrap_new_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"delete_MouseState", (PyCFunction
) _wrap_delete_MouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"MouseState_GetX", (PyCFunction
) _wrap_MouseState_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"MouseState_GetY", (PyCFunction
) _wrap_MouseState_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"MouseState_LeftDown", (PyCFunction
) _wrap_MouseState_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"MouseState_MiddleDown", (PyCFunction
) _wrap_MouseState_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"MouseState_RightDown", (PyCFunction
) _wrap_MouseState_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"MouseState_ControlDown", (PyCFunction
) _wrap_MouseState_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"MouseState_ShiftDown", (PyCFunction
) _wrap_MouseState_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"MouseState_AltDown", (PyCFunction
) _wrap_MouseState_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"MouseState_MetaDown", (PyCFunction
) _wrap_MouseState_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"MouseState_CmdDown", (PyCFunction
) _wrap_MouseState_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
32786 { (char *)"GetMouseState", (PyCFunction
) _wrap_GetMouseState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
32793 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
32801 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
32819 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
32822 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
32825 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
32828 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
32834 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
32848 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
32854 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
32860 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
32863 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
32877 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
32880 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
32881 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
32884 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
32911 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
32913 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
32915 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
32917 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
32924 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
32930 { (char *)"new_LogBuffer", (PyCFunction
) _wrap_new_LogBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"LogBuffer_GetBuffer", (PyCFunction
) _wrap_LogBuffer_GetBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"LogBuffer_Flush", (PyCFunction
) _wrap_LogBuffer_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
32934 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
32948 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
32952 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
32955 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
32972 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
32980 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
33027 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
33045 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
33055 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
33071 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
33087 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
33101 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
33111 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
33154 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
33157 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
33160 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
33164 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
33263 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
33264 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
33265 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
33266 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
33283 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
33328 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
33362 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
33370 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
33371 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
33376 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
33385 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33392 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
33395 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
33398 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
33403 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
33406 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33410 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
33413 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
33417 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
33418 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
33422 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
33426 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
33430 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
33440 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
33453 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
33461 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
33469 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
33483 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
33487 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
33505 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
33519 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33524 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33525 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33526 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33527 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33528 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33529 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
33530 { NULL
, NULL
, 0, NULL
}
33534 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33536 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
33537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33539 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
33540 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
33542 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
33543 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
33545 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
33546 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
33548 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
33549 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
33551 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
33552 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
33554 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
33555 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
33557 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
33558 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
33560 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
33561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
33563 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
33564 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
33566 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
33567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33569 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
33570 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
33572 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
33573 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
33575 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
33576 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33578 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
33579 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33581 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
33582 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
33584 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
33585 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
33587 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
33588 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
33590 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
33591 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
33593 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
33594 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
33596 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
33597 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
33599 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
33600 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
33602 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
33603 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
33605 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
33606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33608 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
33609 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33611 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
33612 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33614 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
33615 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33617 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
33618 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33620 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
33621 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
33623 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
33624 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
33626 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
33627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33629 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
33630 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
33632 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
33633 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
33635 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
33636 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
33638 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
33639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33641 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
33642 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33644 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
33645 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33647 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
33648 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
33650 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
33651 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
33653 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
33654 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
33656 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
33657 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
33659 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
33660 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33662 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
33663 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33665 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
33666 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
33668 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
33669 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33671 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
33672 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
33674 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
33675 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33677 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
33678 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33680 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
33681 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33683 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
33684 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33686 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
33687 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33689 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
33690 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33692 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
33693 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
33695 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
33696 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33698 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
33699 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
33701 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33702 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
33704 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
33705 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
33707 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33708 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
33710 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
33711 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
33713 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33714 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
33716 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
33717 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
33719 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
33720 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
33722 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33723 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33725 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33726 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33728 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33731 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33732 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33734 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
33735 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
33737 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33738 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33740 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33741 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33743 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33744 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33746 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33747 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33749 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
33750 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
33752 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
33753 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
33755 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33756 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33758 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33759 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33761 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33762 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33764 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33767 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33768 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33770 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33771 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33773 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33774 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33776 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33777 return (void *)((wxObject
*) ((wxSizer
*) x
));
33779 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33780 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33782 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
33783 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
33785 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33788 static void *_p_wxEventTo_p_wxObject(void *x
) {
33789 return (void *)((wxObject
*) ((wxEvent
*) x
));
33791 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33792 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33794 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33795 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33797 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33798 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33800 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33801 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33803 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33804 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33806 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33807 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33809 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33810 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33812 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33813 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33815 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33816 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33818 static void *_p_wxControlTo_p_wxObject(void *x
) {
33819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33821 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33822 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33824 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
33825 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
33827 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33828 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33830 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
33831 return (void *)((wxObject
*) ((wxClipboard
*) x
));
33833 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33834 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33836 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33837 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33839 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33842 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33843 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33845 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
33846 return (void *)((wxObject
*) ((wxToolTip
*) x
));
33848 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33849 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33851 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33854 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33855 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33857 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33860 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33861 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33863 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33864 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33866 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33867 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33869 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33870 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33872 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33873 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33875 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33876 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33878 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33881 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33884 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33887 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33890 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33893 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33894 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33896 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33897 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33899 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33900 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33902 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33905 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33908 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33909 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33911 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33914 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33917 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33918 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33920 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33921 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33923 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33924 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33926 static void *_p_wxImageTo_p_wxObject(void *x
) {
33927 return (void *)((wxObject
*) ((wxImage
*) x
));
33929 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33930 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33932 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
33933 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
33935 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
33936 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
33938 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33941 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33942 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33944 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33945 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33947 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33948 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33950 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33953 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33956 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
33957 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
33959 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33960 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33965 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33966 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33968 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33971 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33972 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33974 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33977 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33978 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33980 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
33981 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
33983 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33986 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33987 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33989 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33990 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33992 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33993 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33995 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33998 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
33999 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
34001 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34004 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34007 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34010 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
34011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
34013 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
34014 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
34016 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
34017 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
34019 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
34020 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
34022 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
34023 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
34025 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
34026 return (void *)((wxLog
*) ((wxLogChain
*) x
));
34028 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
34029 return (void *)((wxLog
*) ((wxLogGui
*) x
));
34031 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
34032 return (void *)((wxLog
*) ((wxPyLog
*) x
));
34034 static void *_p_wxControlTo_p_wxWindow(void *x
) {
34035 return (void *)((wxWindow
*) ((wxControl
*) x
));
34037 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
34038 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
34040 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
34041 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
34043 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
34044 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
34046 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
34047 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
34049 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
34050 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34051 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
34052 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34053 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34054 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34055 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, 0};
34056 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34057 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34058 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34059 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34060 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34061 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34062 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, 0};
34063 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34064 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34065 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
34066 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34067 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34068 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34069 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34070 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34071 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
34072 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34073 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34074 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34075 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34076 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34077 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34078 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34079 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34080 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34081 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34082 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34083 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
34084 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
34085 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
34086 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
34087 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34088 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34089 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
34090 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
34091 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
34092 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
34093 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34094 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34095 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34096 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
34097 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
34098 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
34099 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
34100 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
34101 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
34102 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34103 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34104 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34105 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34106 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34107 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34108 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34109 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
34110 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34111 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
34112 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
34113 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34114 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34115 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34116 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
34117 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34118 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34119 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
34120 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
34121 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
34122 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
34123 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
34124 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
34125 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34126 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34127 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34128 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34129 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34130 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
34131 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34132 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34133 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34134 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34135 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34136 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, 0};
34137 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34138 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34139 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34140 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34141 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34142 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34143 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34144 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34145 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34146 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34147 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34148 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34149 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34150 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34151 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
34152 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34153 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
34154 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
34155 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34156 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34157 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
34158 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
34159 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
34160 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
34161 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34162 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
34163 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
34164 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
34165 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
34166 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
34167 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
34168 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
34169 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
34170 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
34171 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
34172 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
34173 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
34174 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
34175 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
34176 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
34177 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
34178 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34179 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34180 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
34181 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
34182 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34183 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34184 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34185 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34186 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34187 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34188 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34189 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34190 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34191 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34192 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34193 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34194 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34195 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34196 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34197 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34198 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
34199 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34200 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
34201 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, 0};
34202 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34203 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34204 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
34205 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34206 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34207 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34208 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34209 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34210 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34211 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34212 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34213 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34214 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34215 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34216 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34217 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34218 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34219 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34220 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34221 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34223 static swig_type_info
*swig_type_initial
[] = {
34225 &_swigt__p_form_ops_t
,
34227 &_swigt__p_unsigned_char
,
34228 &_swigt__p_unsigned_int
,
34229 &_swigt__p_unsigned_long
,
34231 &_swigt__p_wxANIHandler
,
34232 &_swigt__p_wxAcceleratorTable
,
34233 &_swigt__p_wxActivateEvent
,
34234 &_swigt__p_wxArrayString
,
34235 &_swigt__p_wxBMPHandler
,
34236 &_swigt__p_wxBitmap
,
34237 &_swigt__p_wxBitmapDataObject
,
34238 &_swigt__p_wxBoxSizer
,
34239 &_swigt__p_wxBusyCursor
,
34240 &_swigt__p_wxBusyInfo
,
34241 &_swigt__p_wxCURHandler
,
34242 &_swigt__p_wxCaret
,
34244 &_swigt__p_wxChildFocusEvent
,
34245 &_swigt__p_wxClipboard
,
34246 &_swigt__p_wxClipboardLocker
,
34247 &_swigt__p_wxCloseEvent
,
34248 &_swigt__p_wxColour
,
34249 &_swigt__p_wxCommandEvent
,
34250 &_swigt__p_wxConfig
,
34251 &_swigt__p_wxConfigBase
,
34252 &_swigt__p_wxConfigPathChanger
,
34253 &_swigt__p_wxContextMenuEvent
,
34254 &_swigt__p_wxControl
,
34255 &_swigt__p_wxControlWithItems
,
34256 &_swigt__p_wxCursor
,
34257 &_swigt__p_wxCustomDataObject
,
34259 &_swigt__p_wxDataFormat
,
34260 &_swigt__p_wxDataObject
,
34261 &_swigt__p_wxDataObjectComposite
,
34262 &_swigt__p_wxDataObjectSimple
,
34263 &_swigt__p_wxDateEvent
,
34264 &_swigt__p_wxDateSpan
,
34265 &_swigt__p_wxDateTime
,
34266 &_swigt__p_wxDateTime__TimeZone
,
34267 &_swigt__p_wxDisplay
,
34268 &_swigt__p_wxDisplayChangedEvent
,
34269 &_swigt__p_wxDropFilesEvent
,
34270 &_swigt__p_wxDuplexMode
,
34271 &_swigt__p_wxEraseEvent
,
34272 &_swigt__p_wxEvent
,
34273 &_swigt__p_wxEvtHandler
,
34274 &_swigt__p_wxFSFile
,
34275 &_swigt__p_wxFileConfig
,
34276 &_swigt__p_wxFileDataObject
,
34277 &_swigt__p_wxFileHistory
,
34278 &_swigt__p_wxFileSystem
,
34279 &_swigt__p_wxFileType
,
34280 &_swigt__p_wxFileTypeInfo
,
34281 &_swigt__p_wxFlexGridSizer
,
34282 &_swigt__p_wxFocusEvent
,
34284 &_swigt__p_wxFrame
,
34285 &_swigt__p_wxGBSizerItem
,
34286 &_swigt__p_wxGIFHandler
,
34287 &_swigt__p_wxGridBagSizer
,
34288 &_swigt__p_wxGridSizer
,
34289 &_swigt__p_wxICOHandler
,
34291 &_swigt__p_wxIconizeEvent
,
34292 &_swigt__p_wxIdleEvent
,
34293 &_swigt__p_wxImage
,
34294 &_swigt__p_wxImageHandler
,
34295 &_swigt__p_wxIndividualLayoutConstraint
,
34296 &_swigt__p_wxInitDialogEvent
,
34297 &_swigt__p_wxJPEGHandler
,
34298 &_swigt__p_wxJoystick
,
34299 &_swigt__p_wxJoystickEvent
,
34300 &_swigt__p_wxKeyEvent
,
34301 &_swigt__p_wxKillError
,
34302 &_swigt__p_wxLayoutConstraints
,
34304 &_swigt__p_wxLogBuffer
,
34305 &_swigt__p_wxLogChain
,
34306 &_swigt__p_wxLogGui
,
34307 &_swigt__p_wxLogNull
,
34308 &_swigt__p_wxLogStderr
,
34309 &_swigt__p_wxLogTextCtrl
,
34310 &_swigt__p_wxLogWindow
,
34311 &_swigt__p_wxMaximizeEvent
,
34312 &_swigt__p_wxMemorySize
,
34314 &_swigt__p_wxMenuBar
,
34315 &_swigt__p_wxMenuEvent
,
34316 &_swigt__p_wxMenuItem
,
34317 &_swigt__p_wxMetafile
,
34318 &_swigt__p_wxMetafileDataObject
,
34319 &_swigt__p_wxMimeTypesManager
,
34320 &_swigt__p_wxMouseCaptureChangedEvent
,
34321 &_swigt__p_wxMouseEvent
,
34322 &_swigt__p_wxMouseState
,
34323 &_swigt__p_wxMoveEvent
,
34324 &_swigt__p_wxMutexGuiLocker
,
34325 &_swigt__p_wxNavigationKeyEvent
,
34326 &_swigt__p_wxNcPaintEvent
,
34327 &_swigt__p_wxNotifyEvent
,
34328 &_swigt__p_wxObject
,
34329 &_swigt__p_wxOutputStream
,
34330 &_swigt__p_wxPCXHandler
,
34331 &_swigt__p_wxPNGHandler
,
34332 &_swigt__p_wxPNMHandler
,
34333 &_swigt__p_wxPaintEvent
,
34334 &_swigt__p_wxPaletteChangedEvent
,
34335 &_swigt__p_wxPaperSize
,
34336 &_swigt__p_wxPoint
,
34337 &_swigt__p_wxProcessEvent
,
34338 &_swigt__p_wxPyApp
,
34339 &_swigt__p_wxPyArtProvider
,
34340 &_swigt__p_wxPyBitmapDataObject
,
34341 &_swigt__p_wxPyCommandEvent
,
34342 &_swigt__p_wxPyDataObjectSimple
,
34343 &_swigt__p_wxPyDropSource
,
34344 &_swigt__p_wxPyDropTarget
,
34345 &_swigt__p_wxPyEvent
,
34346 &_swigt__p_wxPyFileDropTarget
,
34347 &_swigt__p_wxPyImageHandler
,
34348 &_swigt__p_wxPyLog
,
34349 &_swigt__p_wxPyProcess
,
34350 &_swigt__p_wxPySizer
,
34351 &_swigt__p_wxPyTextDataObject
,
34352 &_swigt__p_wxPyTextDropTarget
,
34353 &_swigt__p_wxPyTimer
,
34354 &_swigt__p_wxPyTipProvider
,
34355 &_swigt__p_wxPyValidator
,
34356 &_swigt__p_wxQueryNewPaletteEvent
,
34358 &_swigt__p_wxScrollEvent
,
34359 &_swigt__p_wxScrollWinEvent
,
34360 &_swigt__p_wxSetCursorEvent
,
34361 &_swigt__p_wxShowEvent
,
34362 &_swigt__p_wxSingleInstanceChecker
,
34364 &_swigt__p_wxSizeEvent
,
34365 &_swigt__p_wxSizer
,
34366 &_swigt__p_wxSizerItem
,
34367 &_swigt__p_wxSound
,
34368 &_swigt__p_wxStandardPaths
,
34369 &_swigt__p_wxStaticBoxSizer
,
34370 &_swigt__p_wxStdDialogButtonSizer
,
34371 &_swigt__p_wxStopWatch
,
34372 &_swigt__p_wxString
,
34373 &_swigt__p_wxSysColourChangedEvent
,
34374 &_swigt__p_wxSystemOptions
,
34375 &_swigt__p_wxSystemSettings
,
34376 &_swigt__p_wxTIFFHandler
,
34377 &_swigt__p_wxTextCtrl
,
34378 &_swigt__p_wxTextDataObject
,
34379 &_swigt__p_wxTimeSpan
,
34380 &_swigt__p_wxTimer
,
34381 &_swigt__p_wxTimerEvent
,
34382 &_swigt__p_wxTimerRunner
,
34383 &_swigt__p_wxTipProvider
,
34384 &_swigt__p_wxToolTip
,
34385 &_swigt__p_wxURLDataObject
,
34386 &_swigt__p_wxUpdateUIEvent
,
34387 &_swigt__p_wxValidator
,
34388 &_swigt__p_wxVideoMode
,
34389 &_swigt__p_wxWindow
,
34390 &_swigt__p_wxWindowCreateEvent
,
34391 &_swigt__p_wxWindowDestroyEvent
,
34392 &_swigt__p_wxWindowDisabler
,
34393 &_swigt__p_wxXPMHandler
,
34394 &_swigt__ptrdiff_t
,
34395 &_swigt__std__ptrdiff_t
,
34396 &_swigt__unsigned_int
,
34399 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34400 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34401 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34402 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34403 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34404 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34405 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
34406 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34407 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34408 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}};
34409 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
34410 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
34411 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
34412 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
34413 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
34414 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
34415 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34416 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
34417 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}};
34418 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
34419 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
34420 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34421 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34422 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
34423 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}};
34424 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
34425 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}};
34426 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
34427 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
34428 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
34429 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
34430 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34431 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34432 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34433 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34434 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34435 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34436 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34437 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34438 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34439 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34440 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34441 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34442 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34443 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34444 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34445 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34446 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34447 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34448 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34449 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34450 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34451 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34452 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34453 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34454 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34455 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34456 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34457 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34458 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34459 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34460 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34461 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34462 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34463 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34464 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34465 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34466 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34467 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}};
34468 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34469 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34470 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34471 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34472 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
34473 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34474 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}};
34475 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
34476 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34477 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
34478 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
34479 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
34480 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34481 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
34482 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34483 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
34484 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
34485 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
34486 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}};
34487 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
34488 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
34489 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
34490 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
34491 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
34492 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34493 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
34494 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
34495 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34496 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
34497 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34498 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
34499 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
34500 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
34501 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34502 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34503 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34504 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34505 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34506 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34507 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34508 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34509 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34510 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34511 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34512 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34513 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34514 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34515 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34516 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34517 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34518 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34519 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34520 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34521 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34522 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34523 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34524 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34525 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34526 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34527 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34528 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34529 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34530 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34531 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}};
34532 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
34533 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34534 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34535 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
34536 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
34537 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34538 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
34539 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
34540 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}};
34541 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34542 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
34543 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
34544 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34545 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
34546 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
34547 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
34548 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34549 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
34550 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34551 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
34552 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
34553 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
34554 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34555 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
34556 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
34557 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
34558 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}};
34559 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
34560 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
34561 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
34562 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
34563 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}};
34564 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
34565 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
34566 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
34567 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}};
34568 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
34569 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34570 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
34571 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34573 static swig_cast_info
*swig_cast_initial
[] = {
34575 _swigc__p_form_ops_t
,
34577 _swigc__p_unsigned_char
,
34578 _swigc__p_unsigned_int
,
34579 _swigc__p_unsigned_long
,
34581 _swigc__p_wxANIHandler
,
34582 _swigc__p_wxAcceleratorTable
,
34583 _swigc__p_wxActivateEvent
,
34584 _swigc__p_wxArrayString
,
34585 _swigc__p_wxBMPHandler
,
34586 _swigc__p_wxBitmap
,
34587 _swigc__p_wxBitmapDataObject
,
34588 _swigc__p_wxBoxSizer
,
34589 _swigc__p_wxBusyCursor
,
34590 _swigc__p_wxBusyInfo
,
34591 _swigc__p_wxCURHandler
,
34594 _swigc__p_wxChildFocusEvent
,
34595 _swigc__p_wxClipboard
,
34596 _swigc__p_wxClipboardLocker
,
34597 _swigc__p_wxCloseEvent
,
34598 _swigc__p_wxColour
,
34599 _swigc__p_wxCommandEvent
,
34600 _swigc__p_wxConfig
,
34601 _swigc__p_wxConfigBase
,
34602 _swigc__p_wxConfigPathChanger
,
34603 _swigc__p_wxContextMenuEvent
,
34604 _swigc__p_wxControl
,
34605 _swigc__p_wxControlWithItems
,
34606 _swigc__p_wxCursor
,
34607 _swigc__p_wxCustomDataObject
,
34609 _swigc__p_wxDataFormat
,
34610 _swigc__p_wxDataObject
,
34611 _swigc__p_wxDataObjectComposite
,
34612 _swigc__p_wxDataObjectSimple
,
34613 _swigc__p_wxDateEvent
,
34614 _swigc__p_wxDateSpan
,
34615 _swigc__p_wxDateTime
,
34616 _swigc__p_wxDateTime__TimeZone
,
34617 _swigc__p_wxDisplay
,
34618 _swigc__p_wxDisplayChangedEvent
,
34619 _swigc__p_wxDropFilesEvent
,
34620 _swigc__p_wxDuplexMode
,
34621 _swigc__p_wxEraseEvent
,
34623 _swigc__p_wxEvtHandler
,
34624 _swigc__p_wxFSFile
,
34625 _swigc__p_wxFileConfig
,
34626 _swigc__p_wxFileDataObject
,
34627 _swigc__p_wxFileHistory
,
34628 _swigc__p_wxFileSystem
,
34629 _swigc__p_wxFileType
,
34630 _swigc__p_wxFileTypeInfo
,
34631 _swigc__p_wxFlexGridSizer
,
34632 _swigc__p_wxFocusEvent
,
34635 _swigc__p_wxGBSizerItem
,
34636 _swigc__p_wxGIFHandler
,
34637 _swigc__p_wxGridBagSizer
,
34638 _swigc__p_wxGridSizer
,
34639 _swigc__p_wxICOHandler
,
34641 _swigc__p_wxIconizeEvent
,
34642 _swigc__p_wxIdleEvent
,
34644 _swigc__p_wxImageHandler
,
34645 _swigc__p_wxIndividualLayoutConstraint
,
34646 _swigc__p_wxInitDialogEvent
,
34647 _swigc__p_wxJPEGHandler
,
34648 _swigc__p_wxJoystick
,
34649 _swigc__p_wxJoystickEvent
,
34650 _swigc__p_wxKeyEvent
,
34651 _swigc__p_wxKillError
,
34652 _swigc__p_wxLayoutConstraints
,
34654 _swigc__p_wxLogBuffer
,
34655 _swigc__p_wxLogChain
,
34656 _swigc__p_wxLogGui
,
34657 _swigc__p_wxLogNull
,
34658 _swigc__p_wxLogStderr
,
34659 _swigc__p_wxLogTextCtrl
,
34660 _swigc__p_wxLogWindow
,
34661 _swigc__p_wxMaximizeEvent
,
34662 _swigc__p_wxMemorySize
,
34664 _swigc__p_wxMenuBar
,
34665 _swigc__p_wxMenuEvent
,
34666 _swigc__p_wxMenuItem
,
34667 _swigc__p_wxMetafile
,
34668 _swigc__p_wxMetafileDataObject
,
34669 _swigc__p_wxMimeTypesManager
,
34670 _swigc__p_wxMouseCaptureChangedEvent
,
34671 _swigc__p_wxMouseEvent
,
34672 _swigc__p_wxMouseState
,
34673 _swigc__p_wxMoveEvent
,
34674 _swigc__p_wxMutexGuiLocker
,
34675 _swigc__p_wxNavigationKeyEvent
,
34676 _swigc__p_wxNcPaintEvent
,
34677 _swigc__p_wxNotifyEvent
,
34678 _swigc__p_wxObject
,
34679 _swigc__p_wxOutputStream
,
34680 _swigc__p_wxPCXHandler
,
34681 _swigc__p_wxPNGHandler
,
34682 _swigc__p_wxPNMHandler
,
34683 _swigc__p_wxPaintEvent
,
34684 _swigc__p_wxPaletteChangedEvent
,
34685 _swigc__p_wxPaperSize
,
34687 _swigc__p_wxProcessEvent
,
34689 _swigc__p_wxPyArtProvider
,
34690 _swigc__p_wxPyBitmapDataObject
,
34691 _swigc__p_wxPyCommandEvent
,
34692 _swigc__p_wxPyDataObjectSimple
,
34693 _swigc__p_wxPyDropSource
,
34694 _swigc__p_wxPyDropTarget
,
34695 _swigc__p_wxPyEvent
,
34696 _swigc__p_wxPyFileDropTarget
,
34697 _swigc__p_wxPyImageHandler
,
34699 _swigc__p_wxPyProcess
,
34700 _swigc__p_wxPySizer
,
34701 _swigc__p_wxPyTextDataObject
,
34702 _swigc__p_wxPyTextDropTarget
,
34703 _swigc__p_wxPyTimer
,
34704 _swigc__p_wxPyTipProvider
,
34705 _swigc__p_wxPyValidator
,
34706 _swigc__p_wxQueryNewPaletteEvent
,
34708 _swigc__p_wxScrollEvent
,
34709 _swigc__p_wxScrollWinEvent
,
34710 _swigc__p_wxSetCursorEvent
,
34711 _swigc__p_wxShowEvent
,
34712 _swigc__p_wxSingleInstanceChecker
,
34714 _swigc__p_wxSizeEvent
,
34716 _swigc__p_wxSizerItem
,
34718 _swigc__p_wxStandardPaths
,
34719 _swigc__p_wxStaticBoxSizer
,
34720 _swigc__p_wxStdDialogButtonSizer
,
34721 _swigc__p_wxStopWatch
,
34722 _swigc__p_wxString
,
34723 _swigc__p_wxSysColourChangedEvent
,
34724 _swigc__p_wxSystemOptions
,
34725 _swigc__p_wxSystemSettings
,
34726 _swigc__p_wxTIFFHandler
,
34727 _swigc__p_wxTextCtrl
,
34728 _swigc__p_wxTextDataObject
,
34729 _swigc__p_wxTimeSpan
,
34731 _swigc__p_wxTimerEvent
,
34732 _swigc__p_wxTimerRunner
,
34733 _swigc__p_wxTipProvider
,
34734 _swigc__p_wxToolTip
,
34735 _swigc__p_wxURLDataObject
,
34736 _swigc__p_wxUpdateUIEvent
,
34737 _swigc__p_wxValidator
,
34738 _swigc__p_wxVideoMode
,
34739 _swigc__p_wxWindow
,
34740 _swigc__p_wxWindowCreateEvent
,
34741 _swigc__p_wxWindowDestroyEvent
,
34742 _swigc__p_wxWindowDisabler
,
34743 _swigc__p_wxXPMHandler
,
34745 _swigc__std__ptrdiff_t
,
34746 _swigc__unsigned_int
,
34750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34752 static swig_const_info swig_const_table
[] = {
34753 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
34754 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
34755 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
34756 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
34757 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
34758 {0, 0, 0, 0.0, 0, 0}};
34763 /*************************************************************************
34764 * Type initialization:
34765 * This problem is tough by the requirement that no dynamic
34766 * memory is used. Also, since swig_type_info structures store pointers to
34767 * swig_cast_info structures and swig_cast_info structures store pointers back
34768 * to swig_type_info structures, we need some lookup code at initialization.
34769 * The idea is that swig generates all the structures that are needed.
34770 * The runtime then collects these partially filled structures.
34771 * The SWIG_InitializeModule function takes these initial arrays out of
34772 * swig_module, and does all the lookup, filling in the swig_module.types
34773 * array with the correct data and linking the correct swig_cast_info
34774 * structures together.
34776 * The generated swig_type_info structures are assigned staticly to an initial
34777 * array. We just loop though that array, and handle each type individually.
34778 * First we lookup if this type has been already loaded, and if so, use the
34779 * loaded structure instead of the generated one. Then we have to fill in the
34780 * cast linked list. The cast data is initially stored in something like a
34781 * two-dimensional array. Each row corresponds to a type (there are the same
34782 * number of rows as there are in the swig_type_initial array). Each entry in
34783 * a column is one of the swig_cast_info structures for that type.
34784 * The cast_initial array is actually an array of arrays, because each row has
34785 * a variable number of columns. So to actually build the cast linked list,
34786 * we find the array of casts associated with the type, and loop through it
34787 * adding the casts to the list. The one last trick we need to do is making
34788 * sure the type pointer in the swig_cast_info struct is correct.
34790 * First off, we lookup the cast->type name to see if it is already loaded.
34791 * There are three cases to handle:
34792 * 1) If the cast->type has already been loaded AND the type we are adding
34793 * casting info to has not been loaded (it is in this module), THEN we
34794 * replace the cast->type pointer with the type pointer that has already
34796 * 2) If BOTH types (the one we are adding casting info to, and the
34797 * cast->type) are loaded, THEN the cast info has already been loaded by
34798 * the previous module so we just ignore it.
34799 * 3) Finally, if cast->type has not already been loaded, then we add that
34800 * swig_cast_info to the linked list (because the cast->type) pointer will
34812 #define SWIGRUNTIME_DEBUG
34816 SWIG_InitializeModule(void *clientdata
) {
34818 swig_module_info
*module_head
;
34819 static int init_run
= 0;
34821 clientdata
= clientdata
;
34823 if (init_run
) return;
34826 /* Initialize the swig_module */
34827 swig_module
.type_initial
= swig_type_initial
;
34828 swig_module
.cast_initial
= swig_cast_initial
;
34830 /* Try and load any already created modules */
34831 module_head
= SWIG_GetModule(clientdata
);
34833 swig_module
.next
= module_head
->next
;
34834 module_head
->next
= &swig_module
;
34836 /* This is the first module loaded */
34837 swig_module
.next
= &swig_module
;
34838 SWIG_SetModule(clientdata
, &swig_module
);
34841 /* Now work on filling in swig_module.types */
34842 #ifdef SWIGRUNTIME_DEBUG
34843 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34845 for (i
= 0; i
< swig_module
.size
; ++i
) {
34846 swig_type_info
*type
= 0;
34847 swig_type_info
*ret
;
34848 swig_cast_info
*cast
;
34850 #ifdef SWIGRUNTIME_DEBUG
34851 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34854 /* if there is another module already loaded */
34855 if (swig_module
.next
!= &swig_module
) {
34856 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34859 /* Overwrite clientdata field */
34860 #ifdef SWIGRUNTIME_DEBUG
34861 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34863 if (swig_module
.type_initial
[i
]->clientdata
) {
34864 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34865 #ifdef SWIGRUNTIME_DEBUG
34866 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34870 type
= swig_module
.type_initial
[i
];
34873 /* Insert casting types */
34874 cast
= swig_module
.cast_initial
[i
];
34875 while (cast
->type
) {
34876 /* Don't need to add information already in the list */
34878 #ifdef SWIGRUNTIME_DEBUG
34879 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34881 if (swig_module
.next
!= &swig_module
) {
34882 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34883 #ifdef SWIGRUNTIME_DEBUG
34884 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34888 if (type
== swig_module
.type_initial
[i
]) {
34889 #ifdef SWIGRUNTIME_DEBUG
34890 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34895 /* Check for casting already in the list */
34896 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34897 #ifdef SWIGRUNTIME_DEBUG
34898 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34900 if (!ocast
) ret
= 0;
34905 #ifdef SWIGRUNTIME_DEBUG
34906 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34909 type
->cast
->prev
= cast
;
34910 cast
->next
= type
->cast
;
34916 /* Set entry in modules->types array equal to the type */
34917 swig_module
.types
[i
] = type
;
34919 swig_module
.types
[i
] = 0;
34921 #ifdef SWIGRUNTIME_DEBUG
34922 printf("**** SWIG_InitializeModule: Cast List ******\n");
34923 for (i
= 0; i
< swig_module
.size
; ++i
) {
34925 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34926 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34927 while (cast
->type
) {
34928 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34932 printf("---- Total casts: %d\n",j
);
34934 printf("**** SWIG_InitializeModule: Cast List ******\n");
34938 /* This function will propagate the clientdata field of type to
34939 * any new swig_type_info structures that have been added into the list
34940 * of equivalent types. It is like calling
34941 * SWIG_TypeClientData(type, clientdata) a second time.
34944 SWIG_PropagateClientData(void) {
34946 swig_cast_info
*equiv
;
34947 static int init_run
= 0;
34949 if (init_run
) return;
34952 for (i
= 0; i
< swig_module
.size
; i
++) {
34953 if (swig_module
.types
[i
]->clientdata
) {
34954 equiv
= swig_module
.types
[i
]->cast
;
34956 if (!equiv
->converter
) {
34957 if (equiv
->type
&& !equiv
->type
->clientdata
)
34958 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34960 equiv
= equiv
->next
;
34980 /* Python-specific SWIG API */
34981 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34982 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34983 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34985 /* -----------------------------------------------------------------------------
34986 * global variable support code.
34987 * ----------------------------------------------------------------------------- */
34989 typedef struct swig_globalvar
{
34990 char *name
; /* Name of global variable */
34991 PyObject
*(*get_attr
)(void); /* Return the current value */
34992 int (*set_attr
)(PyObject
*); /* Set the value */
34993 struct swig_globalvar
*next
;
34996 typedef struct swig_varlinkobject
{
34998 swig_globalvar
*vars
;
34999 } swig_varlinkobject
;
35001 SWIGINTERN PyObject
*
35002 swig_varlink_repr(swig_varlinkobject
*v
) {
35004 return PyString_FromString("<Swig global variables>");
35008 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
35009 swig_globalvar
*var
;
35011 fprintf(fp
,"Swig global variables { ");
35012 for (var
= v
->vars
; var
; var
=var
->next
) {
35013 fprintf(fp
,"%s", var
->name
);
35014 if (var
->next
) fprintf(fp
,", ");
35016 fprintf(fp
," }\n");
35020 SWIGINTERN PyObject
*
35021 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
35022 swig_globalvar
*var
= v
->vars
;
35024 if (strcmp(var
->name
,n
) == 0) {
35025 return (*var
->get_attr
)();
35029 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35034 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
35035 swig_globalvar
*var
= v
->vars
;
35037 if (strcmp(var
->name
,n
) == 0) {
35038 return (*var
->set_attr
)(p
);
35042 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
35046 SWIGINTERN PyTypeObject
*
35047 swig_varlink_type(void) {
35048 static char varlink__doc__
[] = "Swig var link object";
35049 static PyTypeObject varlink_type
35050 #if !defined(__cplusplus)
35052 static int type_init
= 0;
35057 PyObject_HEAD_INIT(&PyType_Type
)
35058 0, /* Number of items in variable part (ob_size) */
35059 (char *)"swigvarlink", /* Type name (tp_name) */
35060 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
35061 0, /* Itemsize (tp_itemsize) */
35062 0, /* Deallocator (tp_dealloc) */
35063 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
35064 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
35065 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
35066 0, /* tp_compare */
35067 (reprfunc
) swig_varlink_repr
, /* tp_repr */
35068 0, /* tp_as_number */
35069 0, /* tp_as_sequence */
35070 0, /* tp_as_mapping */
35074 0, /* tp_getattro */
35075 0, /* tp_setattro */
35076 0, /* tp_as_buffer */
35078 varlink__doc__
, /* tp_doc */
35079 #if PY_VERSION_HEX >= 0x02000000
35080 0, /* tp_traverse */
35083 #if PY_VERSION_HEX >= 0x02010000
35084 0, /* tp_richcompare */
35085 0, /* tp_weaklistoffset */
35087 #if PY_VERSION_HEX >= 0x02020000
35088 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
35090 #if PY_VERSION_HEX >= 0x02030000
35093 #ifdef COUNT_ALLOCS
35094 0,0,0,0 /* tp_alloc -> tp_next */
35097 #if !defined(__cplusplus)
35098 varlink_type
= tmp
;
35102 return &varlink_type
;
35105 /* Create a variable linking object for use later */
35106 SWIGINTERN PyObject
*
35107 SWIG_Python_newvarlink(void) {
35108 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
35112 return ((PyObject
*) result
);
35116 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
35117 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
35118 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
35120 size_t size
= strlen(name
)+1;
35121 gv
->name
= (char *)malloc(size
);
35123 strncpy(gv
->name
,name
,size
);
35124 gv
->get_attr
= get_attr
;
35125 gv
->set_attr
= set_attr
;
35126 gv
->next
= v
->vars
;
35132 /* -----------------------------------------------------------------------------
35133 * constants/methods manipulation
35134 * ----------------------------------------------------------------------------- */
35136 /* Install Constants */
35138 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
35141 for (i
= 0; constants
[i
].type
; ++i
) {
35142 switch(constants
[i
].type
) {
35144 obj
= PyInt_FromLong(constants
[i
].lvalue
);
35146 case SWIG_PY_FLOAT
:
35147 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
35149 case SWIG_PY_STRING
:
35150 if (constants
[i
].pvalue
) {
35151 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
35153 Py_INCREF(Py_None
);
35157 case SWIG_PY_POINTER
:
35158 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
35160 case SWIG_PY_BINARY
:
35161 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
35168 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
35174 /* -----------------------------------------------------------------------------*/
35175 /* Fix SwigMethods to carry the callback ptrs when needed */
35176 /* -----------------------------------------------------------------------------*/
35179 SWIG_Python_FixMethods(PyMethodDef
*methods
,
35180 swig_const_info
*const_table
,
35181 swig_type_info
**types
,
35182 swig_type_info
**types_initial
) {
35184 for (i
= 0; methods
[i
].ml_name
; ++i
) {
35185 char *c
= methods
[i
].ml_doc
;
35186 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
35188 swig_const_info
*ci
= 0;
35189 char *name
= c
+ 10;
35190 for (j
= 0; const_table
[j
].type
; ++j
) {
35191 if (strncmp(const_table
[j
].name
, name
,
35192 strlen(const_table
[j
].name
)) == 0) {
35193 ci
= &(const_table
[j
]);
35198 size_t shift
= (ci
->ptype
) - types
;
35199 swig_type_info
*ty
= types_initial
[shift
];
35200 size_t ldoc
= (c
- methods
[i
].ml_doc
);
35201 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
35202 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
35205 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
35207 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
35209 strncpy(buff
, "swig_ptr: ", 10);
35211 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
35212 methods
[i
].ml_doc
= ndoc
;
35220 /* -----------------------------------------------------------------------------*
35221 * Initialize type list
35222 * -----------------------------------------------------------------------------*/
35228 /* -----------------------------------------------------------------------------*
35229 * Partial Init method
35230 * -----------------------------------------------------------------------------*/
35235 SWIGEXPORT
void SWIG_init(void) {
35236 static PyObject
*SWIG_globals
= 0;
35238 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
35240 /* Fix SwigMethods to carry the callback ptrs when needed */
35241 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
35243 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
35244 d
= PyModule_GetDict(m
);
35246 SWIG_InitializeModule(0);
35247 SWIG_InstallConstants(d
,swig_const_table
);
35250 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT
)));
35253 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT
)));
35256 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT
)));
35259 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT
)));
35262 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT
)));
35265 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE
)));
35268 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT
)));
35271 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT
)));
35274 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT
)));
35277 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR
)));
35280 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND
)));
35283 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP
)));
35286 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION
)));
35289 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION
)));
35292 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU
)));
35295 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW
)));
35298 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME
)));
35301 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT
)));
35304 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT
)));
35307 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT
)));
35310 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER
)));
35313 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER
)));
35316 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE
)));
35319 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT
)));
35322 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
35325 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE
)));
35328 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE
)));
35331 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW
)));
35334 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW
)));
35337 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT
)));
35340 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT
)));
35343 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
35346 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
35349 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT
)));
35352 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
35355 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT
)));
35358 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW
)));
35361 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT
)));
35364 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT
)));
35367 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK
)));
35370 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX
)));
35373 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT
)));
35376 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
35379 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
35382 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT
)));
35385 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR
)));
35388 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX
)));
35391 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS
)));
35394 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X
)));
35397 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y
)));
35400 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X
)));
35403 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y
)));
35406 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X
)));
35409 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y
)));
35412 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X
)));
35415 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y
)));
35418 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X
)));
35421 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y
)));
35424 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X
)));
35427 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y
)));
35430 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X
)));
35433 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X
)));
35436 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y
)));
35439 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X
)));
35442 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y
)));
35445 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X
)));
35448 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y
)));
35451 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X
)));
35454 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y
)));
35457 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X
)));
35460 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y
)));
35463 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X
)));
35466 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y
)));
35469 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y
)));
35472 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X
)));
35475 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X
)));
35478 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y
)));
35481 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y
)));
35484 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y
)));
35487 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y
)));
35490 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT
)));
35493 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT
)));
35496 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS
)));
35499 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS
)));
35502 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
35505 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME
)));
35508 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE
)));
35511 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY
)));
35514 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA
)));
35517 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL
)));
35520 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP
)));
35522 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
35523 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
35524 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
35525 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
35526 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
35528 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF
)));
35531 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT
)));
35534 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS
)));
35537 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT
)));
35539 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
35541 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35544 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError
)));
35547 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error
)));
35550 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning
)));
35553 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message
)));
35556 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status
)));
35559 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info
)));
35562 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug
)));
35565 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace
)));
35568 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress
)));
35571 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User
)));
35574 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max
)));
35576 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35577 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35578 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35579 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35580 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35582 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
35585 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
35588 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
35591 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
35594 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
35597 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT
)));
35600 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT
)));
35603 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK
)));
35606 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL
)));
35609 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED
)));
35612 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS
)));
35615 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR
)));
35618 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN
)));
35621 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN
)));
35624 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE
)));
35627 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP
)));
35630 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT
)));
35633 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT
)));
35636 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL
)));
35639 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP
)));
35642 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT
)));
35645 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT
)));
35648 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT
)));
35651 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE
)));
35654 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL
)));
35657 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS
)));
35660 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV
)));
35663 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS
)));
35666 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE
)));
35669 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM
)));
35672 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM
)));
35674 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
35676 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC
)));
35679 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC
)));
35682 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE
)));
35685 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER
)));
35688 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE
)));
35691 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35694 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1
)));
35697 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2
)));
35700 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY
)));
35703 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1
)));
35706 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2
)));
35709 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3
)));
35712 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4
)));
35714 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
35715 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
35716 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
35717 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
35719 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC
)));
35722 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC
)));
35725 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP
)));
35728 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD
)));
35731 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE
)));
35734 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE
)));
35737 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME
)));
35740 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL
)));
35742 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
35743 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
35744 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
35745 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
35746 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
35747 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
35748 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
35749 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
35750 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
35751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
35752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
35753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
35754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
35755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
35756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
35757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
35758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
35759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
35760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
35761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
35762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
35763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
35764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
35765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
35766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
35767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
35768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
35769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
35770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
35771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
35772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
35773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
35774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
35775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
35776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
35777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
35778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
35779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
35780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
35781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
35782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
35783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
35784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
35785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
35786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
35787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
35788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
35789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
35790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
35791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
35792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
35793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW",_wrap_ART_NEW_get
, _wrap_ART_NEW_set
);
35794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
35795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
35796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
35797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
35798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
35800 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35803 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE
)));
35806 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE
)));
35809 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH
)));
35812 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
35815 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown
)));
35818 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String
)));
35821 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean
)));
35824 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer
)));
35827 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float
)));
35829 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
35830 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
35832 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local
)));
35835 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12
)));
35838 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11
)));
35841 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10
)));
35844 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9
)));
35847 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8
)));
35850 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7
)));
35853 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6
)));
35856 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5
)));
35859 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4
)));
35862 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3
)));
35865 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2
)));
35868 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1
)));
35871 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0
)));
35874 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1
)));
35877 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2
)));
35880 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3
)));
35883 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4
)));
35886 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5
)));
35889 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6
)));
35892 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7
)));
35895 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8
)));
35898 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9
)));
35901 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10
)));
35904 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11
)));
35907 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12
)));
35910 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET
)));
35913 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST
)));
35916 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET
)));
35919 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST
)));
35922 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET
)));
35925 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST
)));
35928 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK
)));
35931 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD
)));
35934 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST
)));
35937 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT
)));
35940 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST
)));
35943 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT
)));
35946 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST
)));
35949 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT
)));
35952 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST
)));
35955 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT
)));
35958 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST
)));
35961 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT
)));
35964 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST
)));
35967 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST
)));
35970 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT
)));
35973 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST
)));
35976 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST
)));
35979 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST
)));
35982 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST
)));
35985 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC
)));
35988 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian
)));
35991 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian
)));
35994 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown
)));
35997 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard
)));
36000 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska
)));
36003 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania
)));
36006 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria
)));
36009 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen
)));
36012 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg
)));
36015 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol
)));
36018 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia
)));
36021 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria
)));
36024 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium
)));
36027 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria
)));
36030 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1
)));
36033 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2
)));
36036 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3
)));
36039 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada
)));
36042 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China
)));
36045 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1
)));
36048 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2
)));
36051 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia
)));
36054 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark
)));
36057 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt
)));
36060 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia
)));
36063 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland
)));
36066 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France
)));
36069 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace
)));
36072 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine
)));
36075 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg
)));
36078 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany
)));
36081 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic
)));
36084 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia
)));
36087 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant
)));
36090 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain
)));
36093 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece
)));
36096 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary
)));
36099 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland
)));
36102 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy
)));
36105 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan
)));
36108 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1
)));
36111 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2
)));
36114 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3
)));
36117 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia
)));
36120 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania
)));
36123 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg
)));
36126 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands
)));
36129 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen
)));
36132 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland
)));
36135 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht
)));
36138 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland
)));
36141 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway
)));
36144 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland
)));
36147 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal
)));
36150 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania
)));
36153 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia
)));
36156 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland
)));
36159 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain
)));
36162 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden
)));
36165 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland
)));
36168 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic
)));
36171 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant
)));
36174 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey
)));
36177 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA
)));
36180 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales
)));
36183 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia
)));
36186 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown
)));
36189 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default
)));
36192 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start
)));
36195 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC
)));
36198 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France
)));
36201 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany
)));
36204 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK
)));
36207 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End
)));
36210 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia
)));
36213 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA
)));
36216 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan
)));
36219 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb
)));
36222 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar
)));
36225 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr
)));
36228 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May
)));
36231 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun
)));
36234 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul
)));
36237 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug
)));
36240 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep
)));
36243 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct
)));
36246 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov
)));
36249 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec
)));
36252 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month
)));
36255 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun
)));
36258 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon
)));
36261 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue
)));
36264 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed
)));
36267 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu
)));
36270 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri
)));
36273 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat
)));
36276 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay
)));
36279 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year
)));
36282 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full
)));
36285 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr
)));
36288 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First
)));
36291 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First
)));
36294 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First
)));
36296 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
36298 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID
)));
36301 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT
)));
36304 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP
)));
36307 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE
)));
36310 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK
)));
36313 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF
)));
36316 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF
)));
36319 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT
)));
36322 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB
)));
36325 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE
)));
36328 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA
)));
36331 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF
)));
36334 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE
)));
36337 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT
)));
36340 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE
)));
36343 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME
)));
36346 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE
)));
36349 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE
)));
36352 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML
)));
36355 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX
)));
36357 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
36359 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get
)));
36362 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set
)));
36365 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both
)));
36368 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly
)));
36371 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove
)));
36374 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove
)));
36377 PyDict_SetItemString(d
,"DragError", SWIG_From_int(static_cast<int >(wxDragError
)));
36380 PyDict_SetItemString(d
,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone
)));
36383 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy
)));
36386 PyDict_SetItemString(d
,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove
)));
36389 PyDict_SetItemString(d
,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink
)));
36392 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel
)));
36395 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36396 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36397 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36398 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36400 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);